SSLSession to provide additional properties exposed
by Conscrypt.
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public X509Certificate[] | getPeerCertificates()
Redeclares javax. |
| public byte[] | getPeerSignedCertificateTimestamp()
Returns the signed certificate timestamp (SCT) received from the peer. |
| public String | |
| public List |
| getApplicationProtocol | back to summary |
|---|---|
| public String getApplicationProtocol() | |
| getPeerCertificates | back to summary |
|---|---|
| public X509Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException Redeclares javax. Doc from javax. Returns the identity of the peer which was established as part of defining the session. Note This method can be used only when using certificate-based cipher suites; using it with non-certificate-based cipher suites, such as Kerberos, will throw an SSLPeerUnverifiedException. Note The returned value may not be a valid certificate chain and should not be relied on for trust decisions.
| |
| getPeerSignedCertificateTimestamp | back to summary |
|---|---|
| public byte[] getPeerSignedCertificateTimestamp() Returns the signed certificate timestamp (SCT) received from the peer. Returns a copy of the internal array.
| |
| getRequestedServerName | back to summary |
|---|---|
| public String getRequestedServerName() | |
| getStatusResponses | back to summary |
|---|---|
| public List Returns the OCSP stapled response. Returns a copy of the internal arrays. The method signature matches Java 9. | |