Package org.conscrypt

Enum SSLUtils.SessionType

java.lang.Object
java.lang.Enum<SSLUtils.SessionType>
org.conscrypt.SSLUtils.SessionType
All Implemented Interfaces:
Serializable, Comparable<SSLUtils.SessionType>, java.lang.constant.Constable
Enclosing class:
SSLUtils

static enum SSLUtils.SessionType extends Enum<SSLUtils.SessionType>
  • Enum Constant Details

    • OPEN_SSL

      public static final SSLUtils.SessionType OPEN_SSL
      Identifies OpenSSL sessions.
    • OPEN_SSL_WITH_OCSP

      public static final SSLUtils.SessionType OPEN_SSL_WITH_OCSP
      Identifies OpenSSL sessions with OCSP stapled data.
    • OPEN_SSL_WITH_TLS_SCT

      public static final SSLUtils.SessionType OPEN_SSL_WITH_TLS_SCT
      Identifies OpenSSL sessions with TLS SCT data.
  • Field Details

    • value

      final int value
  • Constructor Details

    • SessionType

      private SessionType(int value)
  • Method Details

    • values

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

      public static SSLUtils.SessionType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isSupportedType

      static boolean isSupportedType(int type)