Skip to content

Most visited

Recently visited

navigation
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


The enum describing the state of the current handshake.

Summary

Enum values

SSLEngineResult.HandshakeStatus  FINISHED

The handshake is finished. 

SSLEngineResult.HandshakeStatus  NEED_TASK

The results of one (or more) delegated tasks are needed to continue the handshake. 

SSLEngineResult.HandshakeStatus  NEED_UNWRAP

The engine needs to receive data from the remote side to continue the handshake. 

SSLEngineResult.HandshakeStatus  NEED_WRAP

The engine must send data to the remote side to continue the handshake. 

SSLEngineResult.HandshakeStatus  NOT_HANDSHAKING

No handshake in progress. 

Public methods

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

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

FINISHED

Added in API level 1
SSLEngineResult.HandshakeStatus FINISHED

The handshake is finished.

NEED_TASK

Added in API level 1
SSLEngineResult.HandshakeStatus NEED_TASK

The results of one (or more) delegated tasks are needed to continue the handshake.

NEED_UNWRAP

Added in API level 1
SSLEngineResult.HandshakeStatus NEED_UNWRAP

The engine needs to receive data from the remote side to continue the handshake.

NEED_WRAP

Added in API level 1
SSLEngineResult.HandshakeStatus NEED_WRAP

The engine must send data to the remote side to continue the handshake.

NOT_HANDSHAKING

Added in API level 1
SSLEngineResult.HandshakeStatus NOT_HANDSHAKING

No handshake in progress.

Public methods

valueOf

Added in API level 1
SSLEngineResult.HandshakeStatus valueOf (String name)

Parameters
name String
Returns
SSLEngineResult.HandshakeStatus

values

Added in API level 1
HandshakeStatus[] values ()

Returns
HandshakeStatus[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.