Class SSLInformationAssociationHandler
- java.lang.Object
-
- io.undertow.servlet.handlers.security.SSLInformationAssociationHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class SSLInformationAssociationHandler extends java.lang.Object implements io.undertow.server.HttpHandler
Handler that associates SSL metadata with requestcipher 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 Summary
Constructors Constructor Description SSLInformationAssociationHandler(io.undertow.server.HttpHandler next)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getKeyLength(java.lang.String cipherSuite)
Given the name of a TLS/SSL cipher suite, return an int representing it effective stream cipher key strength.void
handleRequest(io.undertow.server.HttpServerExchange exchange)
-
-
-
Method Detail
-
getKeyLength
public static int getKeyLength(java.lang.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 java.lang.Exception
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Throws:
java.lang.Exception
-
-