Differences From Artifact [40186b2917]:
- File src/SSLSocket.h — part of check-in [09e348c39a] at 2013-03-04 17:37:09 on branch trunk — Replace BOOL with bool. (user: js, size: 2174) [annotate] [blame] [check-ins using]
To Artifact [127e317cb2]:
- File
src/SSLSocket.h
— part of check-in
[4192ab66c8]
at
2013-03-31 10:04:53
on branch trunk
— Conform to OFTLSSocket.
Still a few FIXMEs / TODOs. (user: js, size: 1861) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
20 21 22 23 24 25 26 27 28 29 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #include <openssl/ssl.h> #import <ObjFW/OFTCPSocket.h> @class X509Certificate; | > | | > < < < < < < < < < | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ #include <openssl/ssl.h> #import <ObjFW/OFTCPSocket.h> #import <ObjFW/OFTLSSocket.h> @class X509Certificate; @interface SSLSocket: OFTCPSocket <OFTLSSocket> { SSL *_SSL; OFString *_certificateFile, *_privateKeyFile; const char *_privateKeyPassphrase; bool _requestsClientCertificates; } #ifdef OF_HAVE_PROPERTIES @property bool requestsClientCertificates; #endif - initWithSocket: (OFTCPSocket*)socket; - (void)SSL_super_close; - (void)setRequestsClientCertificates: (bool)enabled; - (bool)requestsClientCertificates; - (OFDataArray*)channelBindingDataWithType: (OFString*)type; - (X509Certificate*)peerCertificate; - (void)verifyPeerCertificate; @end |