HandshakeStatus
class HandshakeStatus
kotlin.Any | ||
↳ | kotlin.Enum<javax.net.ssl.SSLEngineResult.HandshakeStatus> | |
↳ | javax.net.ssl.SSLEngineResult.HandshakeStatus |
An SSLEngineResult
enum describing the current handshaking state of this SSLEngine
.
Summary
Enum values | |
---|---|
The |
|
The |
|
The |
|
The |
|
The |
Enum values
FINISHED
enum val FINISHED : SSLEngineResult.HandshakeStatus
The SSLEngine
has just finished handshaking.
This value is only generated by a call to SSLEngine.wrap()/unwrap()
when that call finishes a handshake. It is never generated by SSLEngine.getHandshakeStatus()
.
NEED_TASK
enum val NEED_TASK : SSLEngineResult.HandshakeStatus
The SSLEngine
needs the results of one (or more) delegated tasks before handshaking can continue.
NEED_UNWRAP
enum val NEED_UNWRAP : SSLEngineResult.HandshakeStatus
The SSLEngine
needs to receive data from the remote side before handshaking can continue.
NEED_WRAP
enum val NEED_WRAP : SSLEngineResult.HandshakeStatus
The SSLEngine
must send data to the remote side before handshaking can continue, so SSLEngine.wrap()
should be called.
See Also
NOT_HANDSHAKING
enum val NOT_HANDSHAKING : SSLEngineResult.HandshakeStatus
The SSLEngine
is not currently handshaking.