java.lang.Object
javax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
nl.altindag.ssl.socket.FenixSSLServerSocketFactory
NOTE:
Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
Instead use the
SSLSocketUtils which provides the same functionality
while it has a stable API because it is part of the public API.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SSLParametersprivate final SSLServerSocketFactory -
Constructor Summary
ConstructorsConstructorDescriptionFenixSSLServerSocketFactory(SSLServerSocketFactory sslServerSocketFactory, SSLParameters sslParameters) -
Method Summary
Modifier and TypeMethodDescriptioncreateServerSocket(int port) createServerSocket(int port, int backlog) createServerSocket(int port, int backlog, InetAddress ifAddress) String[]String[]private ServerSocketwithSslParameters(ServerSocket socket) Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
-
Field Details
-
sslServerSocketFactory
-
sslParameters
-
-
Constructor Details
-
FenixSSLServerSocketFactory
public FenixSSLServerSocketFactory(SSLServerSocketFactory sslServerSocketFactory, SSLParameters sslParameters)
-
-
Method Details
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuitesin classSSLServerSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuitesin classSSLServerSocketFactory
-
createServerSocket
- Overrides:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
- Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
createServerSocket
public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException - Specified by:
createServerSocketin classServerSocketFactory- Throws:
IOException
-
withSslParameters
- Throws:
IOException
-