19 OF_ASSUME_NONNULL_BEGIN
61 id <OFTLSSocketDelegate> delegate;
79 @property OF_NULLABLE_PROPERTY (
nonatomic, assign)
80 const char *privateKeyPassphrase;
87 @property (
nonatomic, getter=isCertificateVerificationEnabled)
107 - (void)startTLSWithExpectedHost: (nullable
OFString *)host;
118 - (void)setCertificateFile: (
OFString *)certificateFile
141 - (void)setPrivateKeyFile: (
OFString *)privateKeyFile
168 - (void)setPrivateKeyPassphrase: (const
char *)privateKeyPassphrase
183 - (nullable const
char *)privateKeyPassphraseForSNIHost: (
OFString *)SNIHost;
186 OF_ASSUME_NONNULL_END
A protocol that should be implemented by 3rd-party libraries implementing TLS.
Definition: OFTLSSocket.h:56
A class for handling strings.
Definition: OFString.h:114
A delegate for classes implementing the OFTLSSocket protocol.
Definition: OFTLSSocket.h:30
A class which provides methods to create and use TCP sockets.
Definition: OFTCPSocket.h:61
nonatomic
Definition: OFTLSSocket.h:60
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:54
bool certificateVerificationEnabled
Definition: OFTLSSocket.h:88