Class SSLInformationAssociationHandler

  • All Implemented Interfaces:
    HttpHandler

    public class SSLInformationAssociationHandler
    extends Object
    implements HttpHandler
    Handler that associates SSL metadata with request

    cipher suite - jakarta.servlet.request.cipher_suite String bit size of the algorithm - jakarta.servlet.request.key_size Integer SSL session id - jakarta.servlet.request.ssl_session_id String

    Author:
    Tomaz Cerar (c) 2013 Red Hat Inc.
    • Constructor Detail

      • SSLInformationAssociationHandler

        public SSLInformationAssociationHandler​(HttpHandler next)
    • Method Detail

      • getKeyLength

        public static int getKeyLength​(String cipherSuite)
        Given the name of a TLS/SSL cipher suite, return an int representing it effective stream cipher key strength. i.e. How much entropy material is in the key material being fed into the encryption routines.

        http://www.thesprawl.org/research/tls-and-ssl-cipher-suites/

        Parameters:
        cipherSuite - String name of the TLS cipher suite.
        Returns:
        int indicating the effective key entropy bit-length.