Package org.conscrypt

Interface ConscryptSession

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getApplicationProtocol()  
      java.security.cert.X509Certificate[] getPeerCertificates()  
      byte[] getPeerSignedCertificateTimestamp()
      Returns the signed certificate timestamp (SCT) received from the peer.
      java.lang.String getRequestedServerName()  
      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.
        See Also:
        RFC 6066, RFC 6961
      • 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:
        getPeerCertificates in interface javax.net.ssl.SSLSession
        Throws:
        javax.net.ssl.SSLPeerUnverifiedException
      • getApplicationProtocol

        java.lang.String getApplicationProtocol()