Added in API level 1

SSLEngineResult.HandshakeStatus

public static final enum SSLEngineResult.HandshakeStatus
extends Enum<SSLEngineResult.HandshakeStatus>

java.lang.Object
   ↳ java.lang.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

SSLEngineResult.HandshakeStatus  FINISHED

The SSLEngine has just finished handshaking. 

SSLEngineResult.HandshakeStatus  NEED_TASK

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

SSLEngineResult.HandshakeStatus  NEED_UNWRAP

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

SSLEngineResult.HandshakeStatus  NEED_WRAP

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

SSLEngineResult.HandshakeStatus  NOT_HANDSHAKING

The SSLEngine is not currently handshaking. 

Public methods

static SSLEngineResult.HandshakeStatus valueOf(String name)
static final HandshakeStatus[] values()

Inherited methods

Enum values

FINISHED

Added in API level 1
public static final SSLEngineResult.HandshakeStatus FINISHED

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
public static final SSLEngineResult.HandshakeStatus NEED_TASK

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

NEED_UNWRAP

Added in API level 1
public static final SSLEngineResult.HandshakeStatus NEED_UNWRAP

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

NEED_WRAP

Added in API level 1
public static final SSLEngineResult.HandshakeStatus NEED_WRAP

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

NOT_HANDSHAKING

Added in API level 1
public static final SSLEngineResult.HandshakeStatus NOT_HANDSHAKING

The SSLEngine is not currently handshaking.

Public methods

valueOf

public static SSLEngineResult.HandshakeStatus valueOf (String name)

Parameters
name String

Returns
SSLEngineResult.HandshakeStatus

values

public static final HandshakeStatus[] values ()

Returns
HandshakeStatus[]