Enum Class 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>, java.lang.constant.Constable
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 the ProxyProtocolHeader.PP2_TYPE_SSL TLV header.
  • Enum Constant Details

    • 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 Details

    • values

      public static ProxyProtocolHeader.SslTlv.SslSubType[] 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 ProxyProtocolHeader.SslTlv.SslSubType 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