Package org.conscrypt
Interface ConscryptSession
-
- All Superinterfaces:
javax.net.ssl.SSLSession
- All Known Implementing Classes:
ActiveSession,ExternalSession,Java7ExtendedSSLSession,Java8ExtendedSSLSession,SessionSnapshot,SSLNullSession
interface ConscryptSession extends javax.net.ssl.SSLSessionExtends the default interface forSSLSessionto provide additional properties exposed by Conscrypt.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetApplicationProtocol()java.security.cert.X509Certificate[]getPeerCertificates()byte[]getPeerSignedCertificateTimestamp()Returns the signed certificate timestamp (SCT) received from the peer.java.lang.StringgetRequestedServerName()java.util.List<byte[]>getStatusResponses()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 Detail
-
getRequestedServerName
java.lang.String getRequestedServerName()
-
getStatusResponses
java.util.List<byte[]> getStatusResponses()
Returns the OCSP stapled response. Returns a copy of the internal arrays. The method signature matches Java 9.
-
getPeerSignedCertificateTimestamp
byte[] getPeerSignedCertificateTimestamp()
Returns the signed certificate timestamp (SCT) received from the peer. Returns a copy of the internal array.- See Also:
- RFC 6962
-
getPeerCertificates
java.security.cert.X509Certificate[] getPeerCertificates() throws javax.net.ssl.SSLPeerUnverifiedException- Specified by:
getPeerCertificatesin interfacejavax.net.ssl.SSLSession- Throws:
javax.net.ssl.SSLPeerUnverifiedException
-
getApplicationProtocol
java.lang.String getApplicationProtocol()
-
-