Package org.forgerock.opendj.io.rx
Enum ProxyProtocolHeader.SslTlv.SslSubType
- java.lang.Object
-
- java.lang.Enum<ProxyProtocolHeader.SslTlv.SslSubType>
-
- org.forgerock.opendj.io.rx.ProxyProtocolHeader.SslTlv.SslSubType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProxyProtocolHeader.SslTlv.SslSubType>
- Enclosing class:
- ProxyProtocolHeader.SslTlv
public static enum ProxyProtocolHeader.SslTlv.SslSubType extends Enum<ProxyProtocolHeader.SslTlv.SslSubType>
Represents the possible types of the "sub_tlv" contained in the "pp2_tlv_ssl" structure present in theProxyProtocolHeader.PP2_TYPE_SSL
TLV header.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PP2_SUBTYPE_SSL_CIPHER
The US-ASCII string name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".PP2_SUBTYPE_SSL_CN
The string representation (in UTF8) of the Common Name field (OID: 2.5.4.3) of the client certificate's Distinguished Name.PP2_SUBTYPE_SSL_KEY_ALG
The US-ASCII string name of the algorithm used to generate the key of the certificate presented by the frontend when the incoming connection was made over an SSL/TLS transport layer, for example "RSA2048".PP2_SUBTYPE_SSL_SIG_ALG
The US-ASCII string name of the algorithm used to sign the certificate presented by the frontend when the incoming connection was made over an SSL/TLS transport layer, for example "SHA256".PP2_SUBTYPE_SSL_VERSION
The US-ASCII string representation of the TLS version.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProxyProtocolHeader.SslTlv.SslSubType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProxyProtocolHeader.SslTlv.SslSubType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PP2_SUBTYPE_SSL_VERSION
public static final ProxyProtocolHeader.SslTlv.SslSubType PP2_SUBTYPE_SSL_VERSION
The US-ASCII string representation of the TLS version.
-
PP2_SUBTYPE_SSL_CN
public static final ProxyProtocolHeader.SslTlv.SslSubType PP2_SUBTYPE_SSL_CN
The string representation (in UTF8) of the Common Name field (OID: 2.5.4.3) of the client certificate's Distinguished Name.
-
PP2_SUBTYPE_SSL_CIPHER
public static final ProxyProtocolHeader.SslTlv.SslSubType PP2_SUBTYPE_SSL_CIPHER
The US-ASCII string name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".
-
PP2_SUBTYPE_SSL_SIG_ALG
public static final ProxyProtocolHeader.SslTlv.SslSubType PP2_SUBTYPE_SSL_SIG_ALG
The US-ASCII string name of the algorithm used to sign the certificate presented by the frontend when the incoming connection was made over an SSL/TLS transport layer, for example "SHA256".
-
PP2_SUBTYPE_SSL_KEY_ALG
public static final ProxyProtocolHeader.SslTlv.SslSubType PP2_SUBTYPE_SSL_KEY_ALG
The US-ASCII string name of the algorithm used to generate the key of the certificate presented by the frontend when the incoming connection was made over an SSL/TLS transport layer, for example "RSA2048".
-
-
Method Detail
-
values
public static ProxyProtocolHeader.SslTlv.SslSubType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ProxyProtocolHeader.SslTlv.SslSubType c : ProxyProtocolHeader.SslTlv.SslSubType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProxyProtocolHeader.SslTlv.SslSubType 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 nameNullPointerException
- if the argument is null
-
-