Interface BCSSLServerSocket


public interface BCSSLServerSocket
A BCJSSE-specific interface to expose extended functionality on SSLServerSocket implementations.
  • Method Details

    • getParameters

      BCSSLParameters getParameters()
      Returns a BCSSLParameters with properties reflecting the configuration that will be applied to newly accepted connections.
      Returns:
      the current parameters
    • setParameters

      void setParameters(BCSSLParameters parameters)
      Sets the parameters for newly accepted connections according to the properties in a BCSSLParameters. Connections already accepted are unaffected.

      Note that many properties set to null will be ignored, which will leave the corresponding settings unchanged. However, the newer properties signatureSchemes, signatureSchemesCert, namedGroups and earlyKeyShares are always applied, and setting one of them to null restores the default behaviour for that property.

      Parameters:
      parameters - the parameters to set
      Throws:
      IllegalArgumentException - if the setEnabledCipherSuites() or the setEnabledProtocols() call fails