Creates a new SslRMIServerSocketFactory
with
the specified SSL socket configuration.
Parameters:
-
enabledCipherSuites - names of all the cipher suites to
enable on SSL connections accepted by server sockets created by
this factory, or
null
to use the cipher suites
that are enabled by default
-
enabledProtocols - names of all the protocol versions to
enable on SSL connections accepted by server sockets created by
this factory, or
null
to use the protocol versions
that are enabled by default
-
needClientAuth -
true
to require client
authentication on SSL connections accepted by server sockets
created by this factory;
false
to not require
client authentication
Throws:
-
IllegalArgumentException - when one or more of the cipher
suites named by the
enabledCipherSuites
parameter is
not supported, when one or more of the protocols named by the
enabledProtocols
parameter is not supported or when
a problem is encountered while trying to check if the supplied
cipher suites and protocols to be enabled are supported.
See Also:
SSLSocket.setEnabledCipherSuites(java.lang.String[])
,
SSLSocket.setEnabledProtocols(java.lang.String[])
,
SSLSocket.setNeedClientAuth(boolean)
,