public class SSLSupportImpl extends java.lang.Object implements SSLSupport
SSLSupport.CipherData| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_SIZE_KEY |
CERTIFICATE_KEY, CIPHER_SUITE_KEY, SESSION_ID_KEY| Constructor and Description |
|---|
SSLSupportImpl(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCipherSuite()
The cipher suite being used on this connection.
|
java.lang.Integer |
getKeySize()
Copied from
org.apache.catalina.valves.CertificateValve |
java.lang.Object[] |
getPeerCertificateChain()
The client certificate chain (if any).
|
java.lang.Object[] |
getPeerCertificateChain(boolean force)
The client certificate chain (if any).
|
java.lang.String |
getSessionId()
The current session Id.
|
protected java.security.cert.X509Certificate[] |
getX509Certificates(javax.net.ssl.SSLSession session) |
public static final java.lang.String KEY_SIZE_KEY
public SSLSupportImpl(Connection connection)
public java.lang.String getCipherSuite()
throws java.io.IOException
SSLSupportgetCipherSuite in interface SSLSupportjava.io.IOExceptionpublic java.lang.Object[] getPeerCertificateChain()
throws java.io.IOException
SSLSupportgetPeerCertificateChain in interface SSLSupportjava.io.IOExceptionprotected java.security.cert.X509Certificate[] getX509Certificates(javax.net.ssl.SSLSession session)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.Object[] getPeerCertificateChain(boolean force)
throws java.io.IOException
SSLSupportgetPeerCertificateChain in interface SSLSupportforce - If true, then re-negotiate the
connection if necessary.java.io.IOExceptionpublic java.lang.Integer getKeySize()
throws java.io.IOException
org.apache.catalina.valves.CertificateValvegetKeySize in interface SSLSupportjava.io.IOExceptionpublic java.lang.String getSessionId()
throws java.io.IOException
SSLSupportgetSessionId in interface SSLSupportjava.io.IOExceptionCopyright © 2018 Oracle Corporation. All Rights Reserved.