public interface SSLSupport
Modifier and Type | Interface and Description |
---|---|
static class |
SSLSupport.CipherData
Simple data class that represents the cipher being used, along with the
corresponding effective key size.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CERTIFICATE_KEY
The Request attribute key for the client certificate chain.
|
static java.lang.String |
CIPHER_SUITE_KEY
The Request attribute key for the cipher suite.
|
static SSLSupport.CipherData[] |
ciphers
A mapping table to determine the number of effective bits in the key
when using a cipher suite containing the specified cipher name.
|
static java.lang.String |
KEY_SIZE_KEY
The Request attribute key for the key size.
|
static java.lang.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 java.lang.String |
SESSION_ID_KEY
The Request attribute key for the session id.
|
static java.lang.String |
SESSION_MGR
The request attribute key for the session manager.
|
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.lang.Object[] |
getPeerCertificateChain()
The client certificate chain (if any).
|
java.lang.Object[] |
getPeerCertificateChain(boolean force)
The client certificate chain (if any).
|
java.lang.String |
getProtocol() |
java.lang.String |
getSessionId()
The current session Id.
|
static final java.lang.String CIPHER_SUITE_KEY
static final java.lang.String KEY_SIZE_KEY
static final java.lang.String CERTIFICATE_KEY
static final java.lang.String SESSION_ID_KEY
static final java.lang.String SESSION_MGR
static final java.lang.String PROTOCOL_VERSION_KEY
static final SSLSupport.CipherData[] ciphers
java.lang.String getCipherSuite() throws java.io.IOException
java.io.IOException
java.lang.Object[] getPeerCertificateChain() throws java.io.IOException
java.io.IOException
java.lang.Object[] getPeerCertificateChain(boolean force) throws java.io.IOException
force
- If true
, then re-negotiate the
connection if necessary.java.io.IOException
java.lang.Integer getKeySize() throws java.io.IOException
java.io.IOException
java.lang.String getSessionId() throws java.io.IOException
java.io.IOException
java.lang.String getProtocol() throws java.io.IOException
java.io.IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.