public class AprSSLSupport extends Object implements SSLSupport
TODO: Add a mechanism (or figure out how to use what we already have) to invalidate the session.
CERTIFICATE_KEY, CIPHER_SUITE_KEY, KEY_SIZE_KEY, PROTOCOL_VERSION_KEY, REQUESTED_CIPHERS_KEY, REQUESTED_PROTOCOL_VERSIONS_KEY, SESSION_ID_KEY, SESSION_MGR| Constructor and Description |
|---|
AprSSLSupport(AprEndpoint.AprSocketWrapper socketWrapper,
String clientCertProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCipherSuite()
The cipher suite being used on this connection.
|
Integer |
getKeySize()
Get the keysize.
|
X509Certificate[] |
getPeerCertificateChain()
The client certificate chain (if any).
|
String |
getProtocol() |
String |
getRequestedCiphers() |
String |
getRequestedProtocols() |
String |
getSessionId()
The current session Id.
|
public AprSSLSupport(AprEndpoint.AprSocketWrapper socketWrapper, String clientCertProvider)
public String getCipherSuite() throws IOException
SSLSupportgetCipherSuite in interface SSLSupportIOException - If an error occurs trying to obtain the cipher suitepublic X509Certificate[] getPeerCertificateChain() throws IOException
SSLSupportgetPeerCertificateChain in interface SSLSupportIOException - If an error occurs trying to obtain the certificate
chainpublic Integer getKeySize() throws IOException
SSLSupportgetKeySize in interface SSLSupportIOException - If an error occurs trying to obtain the key sizepublic String getSessionId() throws IOException
SSLSupportgetSessionId in interface SSLSupportIOException - If an error occurs trying to obtain the session IDpublic String getProtocol() throws IOException
getProtocol in interface SSLSupportIOException - If an error occurs trying to obtain the protocol
information from the socketpublic String getRequestedProtocols() throws IOException
getRequestedProtocols in interface SSLSupportIOException - If an error occurs trying to obtain the client
requested protocol information from the socketpublic String getRequestedCiphers() throws IOException
getRequestedCiphers in interface SSLSupportIOException - If an error occurs trying to obtain the client
request cipher information from the socketCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.