Package org.conscrypt
Class SSLUtils.EngineStates
java.lang.Object
org.conscrypt.SSLUtils.EngineStates
- Enclosing class:
SSLUtils
States for SSL engines.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
The engine has been closed.(package private) static final int
The inbound direction of the engine has been closed.(package private) static final int
The outbound direction of the engine has been closed.(package private) static final int
Listeners of the handshake have been notified of completion but the handshake call hasn't returned.(package private) static final int
The handshake has been started(package private) static final int
The client/server mode of the engine has been set.(package private) static final int
The engine is constructed, but the initial handshake hasn't been started(package private) static final int
The handshake call has returned and the listeners have been notified.(package private) static final int
The handshake call returned but the listeners have not yet been notified. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
STATE_NEW
static final int STATE_NEWThe engine is constructed, but the initial handshake hasn't been started- See Also:
-
STATE_MODE_SET
static final int STATE_MODE_SETThe client/server mode of the engine has been set.- See Also:
-
STATE_HANDSHAKE_STARTED
static final int STATE_HANDSHAKE_STARTEDThe handshake has been started- See Also:
-
STATE_HANDSHAKE_COMPLETED
static final int STATE_HANDSHAKE_COMPLETEDListeners of the handshake have been notified of completion but the handshake call hasn't returned.- See Also:
-
STATE_READY_HANDSHAKE_CUT_THROUGH
static final int STATE_READY_HANDSHAKE_CUT_THROUGHThe handshake call returned but the listeners have not yet been notified. This is expected behaviour in cut-through mode, where SSL_do_handshake returns before the handshake is complete. We can now start writing data to the socket.- See Also:
-
STATE_READY
static final int STATE_READYThe handshake call has returned and the listeners have been notified. Ready to begin writing data.- See Also:
-
STATE_CLOSED_INBOUND
static final int STATE_CLOSED_INBOUNDThe inbound direction of the engine has been closed.- See Also:
-
STATE_CLOSED_OUTBOUND
static final int STATE_CLOSED_OUTBOUNDThe outbound direction of the engine has been closed.- See Also:
-
STATE_CLOSED
static final int STATE_CLOSEDThe engine has been closed.- See Also:
-
-
Constructor Details
-
EngineStates
private EngineStates()
-