EnumerationNIOSSL
NIOTLSUnwrappingError
Represents errors that may occur while attempting to unwrap TLS from a connection.
enum NIOTLSUnwrappingError
Represents errors that may occur while attempting to unwrap TLS from a connection.
enum NIOTLSUnwrappingError
case alreadyClosed
The TLS channel has already been closed, so it is not possible to unwrap it.
case closeRequestedDuringUnwrap
We were unwrapping the connection, but during the unwrap process a close call was made. This means the connection is now closed, not unwrapped.
case invalidInternalState
The internal state of the handler is not able to process the unwrapping request.
case unflushedWriteOnUnwrap
This write was failed because the channel was unwrapped before it was flushed.