public interface SSLSupport
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CERTIFICATE_KEY
The Request attribute key for the client certificate chain.
|
static java.lang.String |
CIPHER_SUITE_KEY
The Request attribute key for the cipher suite.
|
static java.lang.String |
KEY_SIZE_KEY
The Request attribute key for the key size.
|
static java.lang.String |
PROTOCOL_VERSION_KEY
The request attribute key under which the String indicating the protocol
that created the SSL socket is recorded - e.g.
|
static java.lang.String |
REQUESTED_CIPHERS_KEY
The request attribute key under which the String indicating the ciphers
requested by the client are recorded.
|
static java.lang.String |
REQUESTED_PROTOCOL_VERSIONS_KEY
The request attribute key under which the String indicating the protocols
requested by the client are recorded.
|
static java.lang.String |
SESSION_ID_KEY
The Request attribute key for the session id.
|
static java.lang.String |
SESSION_MGR
The request attribute key for the session manager.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCipherSuite()
The cipher suite being used on this connection.
|
java.lang.Integer |
getKeySize()
Get the keysize.
|
default java.security.cert.X509Certificate[] |
getLocalCertificateChain()
The server certificate chain (if any) that were sent to the peer.
|
java.security.cert.X509Certificate[] |
getPeerCertificateChain()
The client certificate chain (if any).
|
java.lang.String |
getProtocol() |
java.lang.String |
getRequestedCiphers() |
java.lang.String |
getRequestedProtocols() |
java.lang.String |
getSessionId()
The current session Id.
|
static final java.lang.String CIPHER_SUITE_KEY
static final java.lang.String KEY_SIZE_KEY
static final java.lang.String CERTIFICATE_KEY
static final java.lang.String SESSION_ID_KEY
static final java.lang.String SESSION_MGR
static final java.lang.String PROTOCOL_VERSION_KEY
static final java.lang.String REQUESTED_CIPHERS_KEY
static final java.lang.String REQUESTED_PROTOCOL_VERSIONS_KEY
java.lang.String getCipherSuite()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the cipher suitejava.security.cert.X509Certificate[] getPeerCertificateChain()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the certificate
chaindefault java.security.cert.X509Certificate[] getLocalCertificateChain()
java.lang.Integer getKeySize()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the key sizejava.lang.String getSessionId()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the session IDjava.lang.String getProtocol()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the protocol
information from the socketjava.lang.String getRequestedProtocols()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the client
requested protocol information from the socketjava.lang.String getRequestedCiphers()
throws java.io.IOException
java.io.IOException - If an error occurs trying to obtain the client
request cipher information from the socketCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.