Package net.dona.doip.util.tls
Class TlsProtocolAndCipherSuiteConfigurationUtil.ServerSocketFactoryWrapper
java.lang.Object
javax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
net.dona.doip.util.tls.TlsProtocolAndCipherSuiteConfigurationUtil.ServerSocketFactoryWrapper
- Enclosing class:
- TlsProtocolAndCipherSuiteConfigurationUtil
public static class TlsProtocolAndCipherSuiteConfigurationUtil.ServerSocketFactoryWrapper
extends SSLServerSocketFactory
A wrapper for an
SSLServerSocketFactory
which ensures that
all created server sockets will use appropriate protocols and cipher suites.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateServerSocket
(int port) createServerSocket
(int port, int backlog) createServerSocket
(int port, int backlog, InetAddress ifAddress) boolean
String[]
String[]
int
hashCode()
toString()
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
-
Constructor Details
-
ServerSocketFactoryWrapper
-
-
Method Details
-
createServerSocket
- Overrides:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException - Specified by:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
createServerSocket
- Specified by:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
createServerSocket
- Specified by:
createServerSocket
in classServerSocketFactory
- Throws:
IOException
-
equals
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuites
in classSSLServerSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuites
in classSSLServerSocketFactory
-
hashCode
public int hashCode() -
toString
-