ObjOpenSSL  Diff

Differences From Artifact [b1fffa112d]:

To Artifact [f131b16758]:


38
39
40
41
42
43
44
45
46

47
48
49
50

51
52
53
54

55
56
57
58
59
60
38
39
40
41
42
43
44


45
46
47


48
49
50
51

52
53
54
55
56
57
58







-
-
+


-
-
+



-
+






@class X509Certificate;

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

@property (nonatomic, getter=isRequestClientCertificatesEnabled)
    bool requestClientCertificatesEnabled;
@property (nonatomic) bool requestsClientCertificates;
@property OF_NULLABLE_PROPERTY (readonly, nonatomic)
    X509Certificate *peerCertificate;

- initWithSocket: (OFTCPSocket *)socket;
- (instancetype)initWithSocket: (OFTCPSocket *)socket;
- (OFData *)channelBindingDataWithType: (OFString *)type;
- (nullable X509Certificate *)peerCertificate;
- (void)verifyPeerCertificate;
@end

OF_ASSUME_NONNULL_END