Package javax.net.ssl
Class SSLServerSocketFactory
- java.lang.Object
-
- javax.net.ServerSocketFactory
-
- javax.net.ssl.SSLServerSocketFactory
-
- Direct Known Subclasses:
OpenSSLServerSocketFactoryImpl
public abstract class SSLServerSocketFactory extends ServerSocketFactory
The factory for SSL server sockets.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSSLServerSocketFactory()Creates a newSSLServerSocketFactoryinstance.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ServerSocketFactorygetDefault()Returns the defaultSSLServerSocketFactoryinstance.abstract String[]getDefaultCipherSuites()Returns the names of the cipher suites that are enabled by default.abstract String[]getSupportedCipherSuites()Returns the list of supported cipher suites that could be enabled for an SSL connection created by this factory.-
Methods inherited from class javax.net.ServerSocketFactory
createServerSocket, createServerSocket, createServerSocket, createServerSocket
-
-
-
-
Method Detail
-
getDefault
public static ServerSocketFactory getDefault()
Returns the defaultSSLServerSocketFactoryinstance. The default implementation is defined by the security property "ssl.ServerSocketFactory.provider".- Returns:
- the default
SSLServerSocketFactoryinstance.
-
getDefaultCipherSuites
public abstract String[] getDefaultCipherSuites()
Returns the names of the cipher suites that are enabled by default.- Returns:
- the names of the cipher suites that are enabled by default
-
getSupportedCipherSuites
public abstract String[] getSupportedCipherSuites()
Returns the list of supported cipher suites that could be enabled for an SSL connection created by this factory.- Returns:
- the list of supported cipher suites
-
-