public class JSSESupport extends java.lang.Object implements SSLSupport, SSLSessionManager
CERTIFICATE_KEY, CIPHER_SUITE_KEY, KEY_SIZE_KEY, PROTOCOL_VERSION_KEY, SESSION_ID_KEY, SESSION_MGR| Constructor and Description |
|---|
JSSESupport(javax.net.ssl.SSLSession session) |
| 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.
|
java.security.cert.X509Certificate[] |
getPeerCertificateChain()
The client certificate chain (if any).
|
java.lang.String |
getProtocol() |
java.lang.String |
getSessionId()
The current session Id.
|
void |
invalidateSession()
Invalidate the session this support object is associated with.
|
void |
setSession(javax.net.ssl.SSLSession session) |
public java.lang.String getCipherSuite()
throws java.io.IOException
SSLSupportgetCipherSuite in interface SSLSupportjava.io.IOException - If an error occurs trying to obtain the cipher suitepublic java.security.cert.X509Certificate[] getPeerCertificateChain()
throws java.io.IOException
SSLSupportgetPeerCertificateChain in interface SSLSupportjava.io.IOException - If an error occurs trying to obtain the certificate
chainpublic java.lang.Integer getKeySize()
throws java.io.IOException
This returns the effective bits for the current cipher suite.
getKeySize in interface SSLSupportjava.io.IOException - If an error occurs trying to obtain the key sizepublic java.lang.String getSessionId()
throws java.io.IOException
SSLSupportgetSessionId in interface SSLSupportjava.io.IOException - If an error occurs trying to obtain the session IDpublic void setSession(javax.net.ssl.SSLSession session)
public void invalidateSession()
invalidateSession in interface SSLSessionManagerpublic java.lang.String getProtocol()
throws java.io.IOException
getProtocol in interface SSLSupportjava.io.IOException - If an error occurs trying to obtain the protocol
information from the socketCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.