public class QpidSslRMIServerSocketFactory extends SslRMIServerSocketFactory
| Constructor and Description |
|---|
QpidSslRMIServerSocketFactory(SSLContext sslContext,
List<String> tlsProtocolWhiteList,
List<String> tlsProtocolBlackList,
List<String> tlsCipherSuiteWhiteList,
List<String> tlsCipherSuiteBlackList,
Action<Integer> action)
SslRMIServerSocketFactory which creates the ServerSocket using the
supplied SSLContext rather than the system default context normally
used by the superclass, allowing us to use a configuration-specified
key store.
|
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port) |
boolean |
equals(Object object)
One QpidSslRMIServerSocketFactory is equal to
another if their (non-null) SSLContext are equal.
|
int |
hashCode() |
getEnabledCipherSuites, getEnabledProtocols, getNeedClientAuthpublic QpidSslRMIServerSocketFactory(SSLContext sslContext, List<String> tlsProtocolWhiteList, List<String> tlsProtocolBlackList, List<String> tlsCipherSuiteWhiteList, List<String> tlsCipherSuiteBlackList, Action<Integer> action) throws NullPointerException
sslContext - previously created sslContext using the desired key store.tlsProtocolWhiteList - if provided only TLS protocols matching the regular expressions in this list will be enabledtlsProtocolBlackList - if provided none of the TLS protocols matching the regular expressions in this list will be enabledtlsCipherSuiteWhiteList - if provided only TLS cipher suites matching the regular expressions in this list will be enabledtlsCipherSuiteBlackList - if provided none of the TLS cipher suites matching the regular expressions in this list will be enabledaction - NullPointerException - if the provided SSLContext is null.public ServerSocket createServerSocket(int port) throws IOException
createServerSocket in interface RMIServerSocketFactorycreateServerSocket in class SslRMIServerSocketFactoryIOExceptionpublic boolean equals(Object object)
equals in class SslRMIServerSocketFactorypublic int hashCode()
hashCode in class SslRMIServerSocketFactoryCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.