| Modifier and Type | Class and Description |
|---|---|
| public static class | SSLSupport.
Simple data class that represents the cipher being used, along with the corresponding effective key size. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | CERTIFICATE_KEY
The Request attribute key for the client certificate chain. |
| public static final String | CIPHER_SUITE_KEY
The Request attribute key for the cipher suite. |
| public static final String | KEY_SIZE_KEY
The Request attribute key for the key size. |
| public static final String | SESSION_ID_KEY
The Request attribute key for the session id. This one is a Tomcat extension to the Servlet spec. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Integer | |
| public default Object[] | getPeerCertificateChain()
Deprecated
for removal. use
getPeerCertificates() instead.
Returns: The client certificate chain (if any). |
| public default Object[] | getPeerCertificateChain(boolean
If true, then re-negotiate the connection if necessary. force)
Deprecated
for removal. use
getPeerCertificates(boolean) instead.
Returns: The client certificate chain (if any). |
| public Certificate[] | |
| public Certificate[] | getPeerCertificates(boolean
If true, then re-negotiate the connection if necessary. force)Returns: The client certificate chain (if any). |
| public String |
| CERTIFICATE_KEY | back to summary |
|---|---|
| public static final String CERTIFICATE_KEY The Request attribute key for the client certificate chain. | |
| CIPHER_SUITE_KEY | back to summary |
|---|---|
| public static final String CIPHER_SUITE_KEY The Request attribute key for the cipher suite. | |
| KEY_SIZE_KEY | back to summary |
|---|---|
| public static final String KEY_SIZE_KEY The Request attribute key for the key size. | |
| SESSION_ID_KEY | back to summary |
|---|---|
| public static final String SESSION_ID_KEY The Request attribute key for the session id. This one is a Tomcat extension to the Servlet spec. | |
| getCipherSuite | back to summary |
|---|---|
| public String getCipherSuite() throws IOException The cipher suite being used on this connection. | |
| getKeySize | back to summary |
|---|---|
| public Integer getKeySize() throws IOException Get the keysize. What we're supposed to put here is ill-defined by the Servlet spec (S 4.7 again). There are at least 4 potential values that might go here: (a) The size of the encryption key (b) The size of the MAC key (c) The size of the key-exchange key (d) The size of the signature key used by the server Unfortunately, all of these values are nonsensical. | |
| getPeerCertificateChain | back to summary |
|---|---|
public default Object[] getPeerCertificateChain() throws IOException
| |
| getPeerCertificateChain | back to summary |
|---|---|
public default Object[] getPeerCertificateChain(boolean force) throws IOException
| |
| getPeerCertificates | back to summary |
|---|---|
public Certificate[] getPeerCertificates() throws IOException
| |
| getPeerCertificates | back to summary |
|---|---|
public Certificate[] getPeerCertificates(boolean force) throws IOException
| |
| getSessionId | back to summary |
|---|---|
| public String getSessionId() throws IOException The current session Id. | |
| Access | Constructor and Description |
|---|---|
| public |
| CipherData | back to summary |
|---|---|
| public CipherData(String phrase, int keySize) | |