Class SSLInformationAssociationHandler

java.lang.Object
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class SSLInformationAssociationHandler extends Object implements io.undertow.server.HttpHandler
Handler that associates SSL metadata with request

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

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

    • SSLInformationAssociationHandler

      public SSLInformationAssociationHandler(io.undertow.server.HttpHandler next)
  • Method Details

    • 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.
    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Throws:
      Exception