Class ProxyProtocolHeader.SslTlv

    • Method Detail

      • isSsl

        public boolean isSsl()
        Returns whether the client uses an SSL connection.
        Returns:
        true if the client uses SSL.
      • isVerified

        public boolean isVerified()
        Returns whether the client presented a certificate that was successfully verified.
        Returns:
        true if the client presented a certificate that was successfully verified.
      • getVersion

        public String getVersion()
        Returns the TLS version.
        Returns:
        The US-ASCII string representation of the TLS version
      • getCn

        public String getCn()
        Returns the Common Name field of the client certificate's Distinguished Name.
        Returns:
        The string representation (in UTF8) of the Common Name field (OID: 2.5.4.3) of the client certificate's Distinguished Name.
      • getCipher

        public String getCipher()
        Returns the name of the used cipher.
        Returns:
        The US-ASCII string name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".
      • getSignatureAlgorithm

        public String getSignatureAlgorithm()
        Returns the name of the used cipher.
        Returns:
        The US-ASCII string name of the used cipher, for example "ECDHE-RSA-AES128-GCM-SHA256".
      • getKeyAlgorithm

        public String getKeyAlgorithm()
        The algorithm used to generate the key of the certificate presented.
        Returns:
        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"
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object