[Development] No SSL on iOS ?

Jeremy Lainé jeremy.laine at m4x.org
Tue Apr 29 14:21:14 CEST 2014


On 04/29/2014 01:13 PM, Sorvig Morten wrote:
> QSSLSocket/QSslCertificate/QSslCipher is a relatively large API - make sure you are aware of the scope of the project and remember you have to maintain it :)

I definitely realise implementing the whole of the API is a large task.
However, just getting a basic QSslSocket to work seems doable. So far I
have been able to get as far as a successful client handshake with few
lines of code using Apple's "Secure Transport" API:

https://developer.apple.com/library/ios/documentation/Security/Reference/secureTransportRef/Reference/reference.html

For now I am implementing a rough proof of concept (attached) outside Qt
by subclassing QTcpSocket the way QSslSocket does .

Cheers,
Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foosocket.h
Type: text/x-chdr
Size: 523 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140429/26db39e2/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foosocket.mm
Type: text/x-troff-mm
Size: 1927 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140429/26db39e2/attachment.bin>


More information about the Development mailing list