ObjOpenSSL  Diff

Differences From Artifact [127e317cb2]:

To Artifact [536accb4df]:


29
30
31
32
33
34
35

36

37
38
39

40

41
42
43
44
45
46


47
48
49
50
29
30
31
32
33
34
35
36

37
38
39
40
41

42
43
44
45
46


47
48
49
50
51
52







+
-
+



+
-
+




-
-
+
+




@class X509Certificate;

@interface SSLSocket: OFTCPSocket <OFTLSSocket>
{
	SSL *_SSL;
	OFString *_certificateFile, *_privateKeyFile;
	const char *_privateKeyPassphrase;
	bool _certificateVerificationEnabled;
	bool _requestsClientCertificates;
	bool _requestClientCertificatesEnabled;
}

#ifdef OF_HAVE_PROPERTIES
@property (getter=isRequestClientCertificatesEnabled)
@property bool requestsClientCertificates;
    bool requestClientCertificatesEnabled;
#endif

- initWithSocket: (OFTCPSocket*)socket;
- (void)SSL_super_close;
- (void)setRequestsClientCertificates: (bool)enabled;
- (bool)requestsClientCertificates;
- (void)setRequestClientCertificatesEnabled: (bool)enabled;
- (bool)isRequestClientCertificatesEnabled;
- (OFDataArray*)channelBindingDataWithType: (OFString*)type;
- (X509Certificate*)peerCertificate;
- (void)verifyPeerCertificate;
@end