Package org.conscrypt
Class SSLUtils.EngineStates
- java.lang.Object
-
- org.conscrypt.SSLUtils.EngineStates
-
- Enclosing class:
- SSLUtils
static final class SSLUtils.EngineStates extends java.lang.Object
States for SSL engines.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static int
STATE_CLOSED
The engine has been closed.(package private) static int
STATE_CLOSED_INBOUND
The inbound direction of the engine has been closed.(package private) static int
STATE_CLOSED_OUTBOUND
The outbound direction of the engine has been closed.(package private) static int
STATE_HANDSHAKE_COMPLETED
Listeners of the handshake have been notified of completion but the handshake call hasn't returned.(package private) static int
STATE_HANDSHAKE_STARTED
The handshake has been started(package private) static int
STATE_MODE_SET
The client/server mode of the engine has been set.(package private) static int
STATE_NEW
The engine is constructed, but the initial handshake hasn't been started(package private) static int
STATE_READY
The handshake call has returned and the listeners have been notified.(package private) static int
STATE_READY_HANDSHAKE_CUT_THROUGH
The handshake call returned but the listeners have not yet been notified.
-
Constructor Summary
Constructors Modifier Constructor Description private
EngineStates()
-
-
-
Field Detail
-
STATE_NEW
static final int STATE_NEW
The engine is constructed, but the initial handshake hasn't been started- See Also:
- Constant Field Values
-
STATE_MODE_SET
static final int STATE_MODE_SET
The client/server mode of the engine has been set.- See Also:
- Constant Field Values
-
STATE_HANDSHAKE_STARTED
static final int STATE_HANDSHAKE_STARTED
The handshake has been started- See Also:
- Constant Field Values
-
STATE_HANDSHAKE_COMPLETED
static final int STATE_HANDSHAKE_COMPLETED
Listeners of the handshake have been notified of completion but the handshake call hasn't returned.- See Also:
- Constant Field Values
-
STATE_READY_HANDSHAKE_CUT_THROUGH
static final int STATE_READY_HANDSHAKE_CUT_THROUGH
The 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:
- Constant Field Values
-
STATE_READY
static final int STATE_READY
The handshake call has returned and the listeners have been notified. Ready to begin writing data.- See Also:
- Constant Field Values
-
STATE_CLOSED_INBOUND
static final int STATE_CLOSED_INBOUND
The inbound direction of the engine has been closed.- See Also:
- Constant Field Values
-
STATE_CLOSED_OUTBOUND
static final int STATE_CLOSED_OUTBOUND
The outbound direction of the engine has been closed.- See Also:
- Constant Field Values
-
STATE_CLOSED
static final int STATE_CLOSED
The engine has been closed.- See Also:
- Constant Field Values
-
-