Package org.conscrypt
Enum SSLUtils.SessionType
- All Implemented Interfaces:
Serializable
,Comparable<SSLUtils.SessionType>
,java.lang.constant.Constable
- Enclosing class:
SSLUtils
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdentifies OpenSSL sessions.Identifies OpenSSL sessions with OCSP stapled data.Identifies OpenSSL sessions with TLS SCT data. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static boolean
isSupportedType
(int type) static SSLUtils.SessionType
Returns the enum constant of this type with the specified name.static SSLUtils.SessionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN_SSL
Identifies OpenSSL sessions. -
OPEN_SSL_WITH_OCSP
Identifies OpenSSL sessions with OCSP stapled data. -
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
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
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 nameNullPointerException
- if the argument is null
-
isSupportedType
static boolean isSupportedType(int type)
-