Package org.conscrypt

Class SSLUtils.EngineStates

java.lang.Object
org.conscrypt.SSLUtils.EngineStates
Enclosing class:
SSLUtils

static final class SSLUtils.EngineStates extends Object
States for SSL engines.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (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
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • STATE_NEW

      static final int STATE_NEW
      The engine is constructed, but the initial handshake hasn't been started
      See Also:
    • STATE_MODE_SET

      static final int STATE_MODE_SET
      The client/server mode of the engine has been set.
      See Also:
    • STATE_HANDSHAKE_STARTED

      static final int STATE_HANDSHAKE_STARTED
      The handshake has been started
      See Also:
    • 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:
    • 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:
    • 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:
    • STATE_CLOSED_INBOUND

      static final int STATE_CLOSED_INBOUND
      The inbound direction of the engine has been closed.
      See Also:
    • STATE_CLOSED_OUTBOUND

      static final int STATE_CLOSED_OUTBOUND
      The outbound direction of the engine has been closed.
      See Also:
    • STATE_CLOSED

      static final int STATE_CLOSED
      The engine has been closed.
      See Also:
  • Constructor Details

    • EngineStates

      private EngineStates()