Package org.conscrypt
Interface ConscryptSession
- All Superinterfaces:
SSLSession
- All Known Implementing Classes:
ActiveSession
,ExternalSession
,Java7ExtendedSSLSession
,Java8ExtendedSSLSession
,SessionSnapshot
,SSLNullSession
Extends the default interface for
SSLSession
to provide additional properties exposed
by Conscrypt.-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns the signed certificate timestamp (SCT) received from the peer.List
<byte[]> Returns the OCSP stapled response.Methods inherited from interface javax.net.ssl.SSLSession
getApplicationBufferSize, getCipherSuite, getCreationTime, getId, getLastAccessedTime, getLocalCertificates, getLocalPrincipal, getPacketBufferSize, getPeerCertificateChain, getPeerHost, getPeerPort, getPeerPrincipal, getProtocol, getSessionContext, getValue, getValueNames, invalidate, isValid, putValue, removeValue
-
Method Details
-
getRequestedServerName
String getRequestedServerName() -
getStatusResponses
List<byte[]> getStatusResponses()Returns the OCSP stapled response. Returns a copy of the internal arrays. The method signature matches Java 9.- See Also:
-
getPeerSignedCertificateTimestamp
byte[] getPeerSignedCertificateTimestamp()Returns the signed certificate timestamp (SCT) received from the peer. Returns a copy of the internal array.- See Also:
-
getPeerCertificates
- Specified by:
getPeerCertificates
in interfaceSSLSession
- Throws:
SSLPeerUnverifiedException
-
getApplicationProtocol
String getApplicationProtocol()
-