Interface BCSSLEngine


  • public interface BCSSLEngine
    A BCJSSE-specific interface to expose extended functionality on SSLEngine implementations.
    • Method Detail

      • getApplicationProtocol

        java.lang.String getApplicationProtocol()
      • setBCHandshakeApplicationProtocolSelector

        void setBCHandshakeApplicationProtocolSelector​(BCApplicationProtocolSelector<javax.net.ssl.SSLEngine> selector)
      • getConnection

        BCSSLConnection getConnection()
        Returns an accessor for extended SSL connection data. Unlike BCSSLSocket.getConnection() this method does not block until handshaking is complete. Until the initial handshake has completed, this method returns null.
        Returns:
        A BCSSLConnection instance.
      • getHandshakeApplicationProtocol

        java.lang.String getHandshakeApplicationProtocol()
      • setParameters

        void setParameters​(BCSSLParameters parameters)
        Sets parameters according to the properties in a BCSSLParameters.

        Note that any properties set to null will be ignored, which will leave the corresponding settings unchanged.

        Parameters:
        parameters - the parameters to set
        Throws:
        java.lang.IllegalArgumentException - if the cipherSuites or protocols properties contain unsupported values