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 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
-
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:
getPeerCertificatesin interfaceSSLSession- Throws:
SSLPeerUnverifiedException
-
getApplicationProtocol
String getApplicationProtocol()
-