public class SSLSupportImpl extends Object implements SSLSupport
SSLSupport.CipherData
Modifier and Type | Field and Description |
---|---|
static String |
KEY_SIZE_KEY |
CERTIFICATE_KEY, CIPHER_SUITE_KEY, SESSION_ID_KEY
Constructor and Description |
---|
SSLSupportImpl(Connection connection) |
Modifier and Type | Method and Description |
---|---|
String |
getCipherSuite()
The cipher suite being used on this connection.
|
Integer |
getKeySize()
Copied from
org.apache.catalina.valves.CertificateValve |
Object[] |
getPeerCertificateChain()
The client certificate chain (if any).
|
Object[] |
getPeerCertificateChain(boolean force)
The client certificate chain (if any).
|
String |
getSessionId()
The current session Id.
|
protected X509Certificate[] |
getX509Certificates(SSLSession session) |
public static final String KEY_SIZE_KEY
public SSLSupportImpl(Connection connection)
public String getCipherSuite() throws IOException
SSLSupport
getCipherSuite
in interface SSLSupport
IOException
public Object[] getPeerCertificateChain() throws IOException
SSLSupport
getPeerCertificateChain
in interface SSLSupport
IOException
protected X509Certificate[] getX509Certificates(SSLSession session) throws IOException
IOException
public Object[] getPeerCertificateChain(boolean force) throws IOException
SSLSupport
getPeerCertificateChain
in interface SSLSupport
force
- If true, then re-negotiate the
connection if necessary.IOException
public Integer getKeySize() throws IOException
org.apache.catalina.valves.CertificateValve
getKeySize
in interface SSLSupport
IOException
public String getSessionId() throws IOException
SSLSupport
getSessionId
in interface SSLSupport
IOException
Copyright © 2014 Oracle Corporation. All rights reserved.