Differences From Artifact [536accb4df]:
- File
src/SSLSocket.h
— part of check-in
[071d74e840]
at
2015-05-24 19:33:09
on branch trunk
— Conform to OFTLSSocket
This also introduces automatic certificate verification and enables it
by default, as required by OFTLSSocket.There are still TODOs until OFTLSSocket is fully implemented. (user: js, size: 1974) [annotate] [blame] [check-ins using]
To Artifact [ec5826ebd6]:
- File src/SSLSocket.h — part of check-in [aab1410a4b] at 2016-03-06 17:48:01 on branch trunk — Adjust to ObjFW changes (user: js, size: 1837) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
33 34 35 36 37 38 39 | SSL *_SSL; OFString *_certificateFile, *_privateKeyFile; const char *_privateKeyPassphrase; bool _certificateVerificationEnabled; bool _requestClientCertificatesEnabled; } | < < < < | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | SSL *_SSL; OFString *_certificateFile, *_privateKeyFile; const char *_privateKeyPassphrase; bool _certificateVerificationEnabled; bool _requestClientCertificatesEnabled; } @property (getter=isRequestClientCertificatesEnabled) bool requestClientCertificatesEnabled; - initWithSocket: (OFTCPSocket*)socket; - (void)SSL_super_close; - (OFDataArray*)channelBindingDataWithType: (OFString*)type; - (X509Certificate*)peerCertificate; - (void)verifyPeerCertificate; @end |