Added in API level 1

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 SSLEngine has just finished handshaking.

The SSLEngine needs the results of one (or more) delegated tasks before handshaking can continue.

The SSLEngine needs to receive data from the remote side before handshaking can continue.

The SSLEngine must send data to the remote side before handshaking can continue, so SSLEngine.wrap() should be called.

The SSLEngine is not currently handshaking.

Enum values

FINISHED

Added in API level 1
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

Added in API level 1
enum val NEED_TASK : SSLEngineResult.HandshakeStatus

The SSLEngine needs the results of one (or more) delegated tasks before handshaking can continue.

NEED_UNWRAP

Added in API level 1
enum val NEED_UNWRAP : SSLEngineResult.HandshakeStatus

The SSLEngine needs to receive data from the remote side before handshaking can continue.

NEED_WRAP

Added in API level 1
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

    Added in API level 1
    enum val NOT_HANDSHAKING : SSLEngineResult.HandshakeStatus

    The SSLEngine is not currently handshaking.