TotalCross / totalcross

TotalCross is a Software Development Kit that helps cross platform application development. Currently supported platforms are: Windows, Wince, Android, iOS, Linux and Linux ARM for embedded systems.
https://www.totalcross.com
GNU Lesser General Public License v2.1
222 stars 40 forks source link

Create a "TLS driver" compatible with TotalCross to be implementation agnostic #363

Open jeffque opened 3 years ago

jeffque commented 3 years ago

Is your feature request related to a problem? Please describe.

Create a driver in the likes of the vtls used in cURL.

The idea is that any vendor software coul be integrated inside TotalCross providing a custom settings of a structure

Describe the solution you'd like

The first step would be to become completly independent of vendoring axtls source, just creating a virtual tls driver for axtls such that it could be futurely swapped by any tls implementor. This tackles #330 and gives a way to solve to solve the issue gitlab/Totalcross/totalcross#654

Devices

All. Most importantly for those who are building their own flavored TotalCross.

Additional context

Enabling future compatibility with cipher and vendor interchange. Decoupling the VM code from the library itself.

This issue here does not tackle completly issue gitlab/Totalcross/totalcross#654, but opens the door for using other tls libraries available.