Package org.conscrypt

Interface ConscryptSession

All Superinterfaces:
SSLSession
All Known Implementing Classes:
ActiveSession, ExternalSession, Java7ExtendedSSLSession, Java8ExtendedSSLSession, SessionSnapshot, SSLNullSession

interface ConscryptSession extends SSLSession
Extends the default interface for SSLSession to provide additional properties exposed by Conscrypt.
  • 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

      X509Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException
      Specified by:
      getPeerCertificates in interface SSLSession
      Throws:
      SSLPeerUnverifiedException
    • getApplicationProtocol

      String getApplicationProtocol()
    • getPeerSupportedSignatureAlgorithms

      String[] getPeerSupportedSignatureAlgorithms()
    • getLocalSupportedSignatureAlgorithms

      String[] getLocalSupportedSignatureAlgorithms()