Enum ProxyProtocolHeader.SslTlv.SslSubType

    • Enum Constant Detail

      • 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 name
        NullPointerException - if the argument is null