public interface SSLSupport
Modifier and Type | Field and Description |
---|---|
static String |
CERTIFICATE_KEY
The Request attribute key for the client certificate chain.
|
static String |
CIPHER_SUITE_KEY
The Request attribute key for the cipher suite.
|
static String |
KEY_SIZE_KEY
The Request attribute key for the key size.
|
static 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 String |
SESSION_ID_KEY
The Request attribute key for the session id.
|
static String |
SESSION_MGR
The request attribute key for the session manager.
|
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 |
getSessionId()
The current session Id.
|
static final String CIPHER_SUITE_KEY
static final String KEY_SIZE_KEY
static final String CERTIFICATE_KEY
static final String SESSION_ID_KEY
static final String SESSION_MGR
static final String PROTOCOL_VERSION_KEY
String getCipherSuite() throws IOException
IOException
- If an error occurs trying to obtain the cipher suiteX509Certificate[] getPeerCertificateChain() throws IOException
IOException
- If an error occurs trying to obtain the certificate
chainInteger getKeySize() throws IOException
IOException
- If an error occurs trying to obtain the key sizeString getSessionId() throws IOException
IOException
- If an error occurs trying to obtain the session IDString getProtocol() throws IOException
IOException
- If an error occurs trying to obtain the protocol
information from the socketCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.