18 OF_ASSUME_NONNULL_BEGIN
59 @property OF_NULLABLE_PROPERTY (assign, nonatomic)
78 @property OF_NULLABLE_PROPERTY (assign, nonatomic)
94 - (instancetype)initWithSocket: (
OFTCPSocket *)socket;
105 - (
void)startTLSWithExpectedHost: (nullable
OFString *)host;
181 - (nullable const
char *)privateKeyPassphraseForSNIHost: (
OFString *)SNIHost;
184 OF_ASSUME_NONNULL_END
struct objc_object * id
A pointer to any object.
Definition: ObjFWRT.h:90
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:58
A class for handling strings.
Definition: OFString.h:132
A class which provides methods to create and use TCP sockets.
Definition: OFTCPSocket.h:67
Definition: OFTCPSocket.h:41
A protocol that should be implemented by 3rd-party libraries implementing TLS.
Definition: OFTLSSocket.h:55
OFString * privateKeyFile
The path to the PKCS#8 private key file to use.
Definition: OFTLSSocket.h:70
const char * privateKeyPassphrase
The passphrase to decrypt the PKCS#8 private key file.
Definition: OFTLSSocket.h:79
bool verifiesCertificates
Whether certificates are verified.
Definition: OFTLSSocket.h:86
id< OFTLSSocketDelegate > delegate
The delegate for the TLS socket.
Definition: OFTLSSocket.h:60
OFString * certificateFile
The path to the X.509 certificate file to use.
Definition: OFTLSSocket.h:65
A delegate for classes implementing the OFTLSSocket protocol.
Definition: OFTLSSocket.h:29