19 OF_ASSUME_NONNULL_BEGIN
51 didPerformClientHandshakeWithHost: (
OFString *)host
52 exception: (nullable
id)exception;
77 bool _verifiesCertificates;
93 @property OF_NULLABLE_PROPERTY (assign, nonatomic)
94 id <OFTLSStreamDelegate> delegate;
99 @property (nonatomic)
bool verifiesCertificates;
101 - (instancetype)init OF_UNAVAILABLE;
124 OF_DESIGNATED_INITIALIZER;
134 - (void)asyncPerformClientHandshakeWithHost: (
OFString *)host;
145 - (void)asyncPerformClientHandshakeWithHost: (
OFString *)host
155 - (void)performClientHandshakeWithHost: (
OFString *)host;
182 OF_ASSUME_NONNULL_END
OFTLSStreamErrorCode
An enum representing an error of an OFTLSStream.
Definition: OFTLSStream.h:28
@ OFTLSStreamErrorCodeInitializationFailed
Initialization of the TLS context failed.
Definition: OFTLSStream.h:32
@ OFTLSStreamErrorCodeUnknown
An unknown error.
Definition: OFTLSStream.h:30
OFString * OFTLSStreamErrorCodeDescription(OFTLSStreamErrorCode errorCode)
Returns a string description for the TLS stream error code.
Definition: OFTLSStream.m:48
Class OFTLSStreamImplementation
The implementation for OFTLSStream to use.
Definition: OFTLSStream.m:33
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:38
A base class for different types of streams.
Definition: OFStream.h:188
A class for handling strings.
Definition: OFString.h:135
A class that provides Transport Layer Security on top of a stream.
Definition: OFTLSStream.h:75
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
Definition: OFKernelEventObserver.h:84
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
Definition: OFKernelEventObserver.h:99
Definition: OFStream.h:98
Definition: OFTLSStream.h:40