Package org.forgerock.opendj.io.rx
Enum ProxyProtocolHeader.SslTlv.ClientBit
- java.lang.Object
-
- java.lang.Enum<ProxyProtocolHeader.SslTlv.ClientBit>
-
- org.forgerock.opendj.io.rx.ProxyProtocolHeader.SslTlv.ClientBit
-
- All Implemented Interfaces:
Serializable
,Comparable<ProxyProtocolHeader.SslTlv.ClientBit>
- Enclosing class:
- ProxyProtocolHeader.SslTlv
public static enum ProxyProtocolHeader.SslTlv.ClientBit extends Enum<ProxyProtocolHeader.SslTlv.ClientBit>
Represents the possible values for the client property of the "pp2_tlv_ssl" structure.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PP2_CLIENT_CERT_CONN
Indicates that the client provided a certificate (used mTLS).PP2_CLIENT_CERT_SESS
Indicates that the client provided a certificate at least once during the TLS session.PP2_CLIENT_SSL
Indicates that the client used SSL/TLS.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProxyProtocolHeader.SslTlv.ClientBit
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProxyProtocolHeader.SslTlv.ClientBit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PP2_CLIENT_SSL
public static final ProxyProtocolHeader.SslTlv.ClientBit PP2_CLIENT_SSL
Indicates that the client used SSL/TLS.
-
PP2_CLIENT_CERT_CONN
public static final ProxyProtocolHeader.SslTlv.ClientBit PP2_CLIENT_CERT_CONN
Indicates that the client provided a certificate (used mTLS).
-
PP2_CLIENT_CERT_SESS
public static final ProxyProtocolHeader.SslTlv.ClientBit PP2_CLIENT_CERT_SESS
Indicates that the client provided a certificate at least once during the TLS session.
-
-
Method Detail
-
values
public static ProxyProtocolHeader.SslTlv.ClientBit[] 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.ClientBit c : ProxyProtocolHeader.SslTlv.ClientBit.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.ClientBit 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
-
-