| 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 | PROTOCOL_VERSION_KEY
The request attribute key under which the String indicating the protocol that created the SSL socket is recorded - e.g. TLSv1 or TLSv1.2 etc. |
| public static final String | REQUESTED_CIPHERS_KEY
The request attribute key under which the String indicating the ciphers requested by the client are recorded. |
| public static final String | REQUESTED_PROTOCOL_VERSIONS_KEY
The request attribute key under which the String indicating the protocols requested by the client are recorded. |
| 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. |
| public static final String | SESSION_MGR
The request attribute key for the session manager. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The name of the cipher suite as returned by the SSL/TLS implementationThe cipher suite being used on this connection. |
| public Integer | |
| public default X509Certificate[] | Returns: The certificate chain sent with the server certificate first, followed by those of any certificate authoritiesThe server certificate chain (if any) that were sent to the peer. |
| public X509Certificate[] | Returns: The certificate chain presented by the client with the peer's certificate first, followed by those of any certificate authoritiesThe client certificate chain (if any). |
| public String | Returns: the protocol String indicating how the SSL socket was created e.g. TLSv1 or TLSv1.2 etc.
|
| public String | |
| public String | |
| 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. | |
| PROTOCOL_VERSION_KEY | back to summary |
|---|---|
| public static final String PROTOCOL_VERSION_KEY The request attribute key under which the String indicating the protocol that created the SSL socket is recorded - e.g. TLSv1 or TLSv1.2 etc. | |
| REQUESTED_CIPHERS_KEY | back to summary |
|---|---|
| public static final String REQUESTED_CIPHERS_KEY The request attribute key under which the String indicating the ciphers requested by the client are recorded. | |
| REQUESTED_PROTOCOL_VERSIONS_KEY | back to summary |
|---|---|
| public static final String REQUESTED_PROTOCOL_VERSIONS_KEY The request attribute key under which the String indicating the protocols requested by the client are recorded. | |
| 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. | |
| SESSION_MGR | back to summary |
|---|---|
| public static final String SESSION_MGR The request attribute key for the session manager. 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.
| |
| getLocalCertificateChain | back to summary |
|---|---|
| public default X509Certificate[] getLocalCertificateChain() The server certificate chain (if any) that were sent to the peer.
| |
| getPeerCertificateChain | back to summary |
|---|---|
| public X509Certificate[] getPeerCertificateChain() throws IOException The client certificate chain (if any).
| |
| getProtocol | back to summary |
|---|---|
public String getProtocol() throws IOException
| |
| getRequestedCiphers | back to summary |
|---|---|
public String getRequestedCiphers() throws IOException
| |
| getRequestedProtocols | back to summary |
|---|---|
public String getRequestedProtocols() throws IOException
| |
| getSessionId | back to summary |
|---|---|
| public String getSessionId() throws IOException The current session Id.
| |