Interface BCSSLServerSocket
public interface BCSSLServerSocket
A BCJSSE-specific interface to expose extended functionality on
SSLServerSocket
implementations.-
Method Summary
Modifier and TypeMethodDescriptionReturns aBCSSLParameterswith properties reflecting the configuration that will be applied to newly accepted connections.voidsetParameters(BCSSLParameters parameters) Sets the parameters for newly accepted connections according to the properties in aBCSSLParameters.
-
Method Details
-
getParameters
BCSSLParameters getParameters()Returns aBCSSLParameterswith properties reflecting the configuration that will be applied to newly accepted connections.- Returns:
- the current
parameters
-
setParameters
Sets the parameters for newly accepted connections according to the properties in aBCSSLParameters. 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- theparametersto set- Throws:
IllegalArgumentException- if the setEnabledCipherSuites() or the setEnabledProtocols() call fails
-