Enum Class TLSStatus

java.lang.Object
java.lang.Enum<TLSStatus>
org.jivesoftware.openfire.net.TLSStatus
All Implemented Interfaces:
Serializable, Comparable<TLSStatus>, Constable

public enum TLSStatus extends Enum<TLSStatus>
A TLSStatus enum describing the current handshaking state of this TLS connection.
Author:
Artur Hefczyc, Hao Chen
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The operation just closed this side of the SSLEngine, or the operation could not be completed because it was already closed.
    Need to receive data from the remote side before handshaking can continue.
    ust send data to the remote side before handshaking can continue.
    Handshaking is OK.
    Not be able to unwrap the incoming data because there were not enough source bytes available to make a complete packet.
  • Method Summary

    Modifier and Type
    Method
    Description
    static TLSStatus
    Returns the enum constant of this class with the specified name.
    static TLSStatus[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NEED_WRITE

      public static final TLSStatus NEED_WRITE
      ust send data to the remote side before handshaking can continue.
    • NEED_READ

      public static final TLSStatus NEED_READ
      Need to receive data from the remote side before handshaking can continue.
    • UNDERFLOW

      public static final TLSStatus UNDERFLOW
      Not be able to unwrap the incoming data because there were not enough source bytes available to make a complete packet.
    • CLOSED

      public static final TLSStatus CLOSED
      The operation just closed this side of the SSLEngine, or the operation could not be completed because it was already closed.
    • OK

      public static final TLSStatus OK
      Handshaking is OK.
  • Method Details

    • values

      public static TLSStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TLSStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null