@@ -21,10 +21,12 @@ */ #include #import + +@class X509Certificate; @interface SSLSocket: OFTCPSocket { SSL *ssl; OFString *privateKeyFile; @@ -42,6 +44,8 @@ - (void)setPrivateKeyFile: (OFString*)file; - (OFString*)privateKeyFile; - (void)setCertificateFile: (OFString*)file; - (OFString*)certificateFile; - (OFDataArray*)channelBindingDataWithType: (OFString*)type; +- (X509Certificate*)peerCertificate; +- (void)verifyPeerCertificate; @end