22 #ifndef OF_HAVE_SOCKETS 23 # error No sockets available! 28 OF_ASSUME_NONNULL_BEGIN
33 extern int _OFTLSHandshakeFailedException_reference OF_VISIBILITY_HIDDEN;
60 @property OF_NULLABLE_PROPERTY (readonly, nonatomic)
OFString *host;
75 + (instancetype)exceptionWithStream: (
OFTLSStream *)stream
79 + (instancetype)exception OF_UNAVAILABLE;
89 - (instancetype)initWithStream: (
OFTLSStream *)stream
92 OF_DESIGNATED_INITIALIZER;
94 - (instancetype)init OF_UNAVAILABLE;
An exception indicating that a TLS handshake.
Definition: OFTLSHandshakeFailedException.h:44
A class that provides Transport Layer Security on top of a stream.
Definition: OFTLSStream.h:75
A class for handling strings.
Definition: OFString.h:142
OFTLSStreamErrorCode
An enum representing an error of an OFTLSStream.
Definition: OFTLSStream.h:32
The base class for all exceptions in ObjFW.
Definition: OFException.h:156