Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
javax.net.ServerSocketFactory
javax.net.ssl.SSLServerSocketFactory
public abstract class SSLServerSocketFactory
extends ServerSocketFactory
Constructor Summary | |
|
Method Summary | |
static ServerSocketFactory |
|
abstract String[] |
|
abstract String[] |
|
Methods inherited from class javax.net.ServerSocketFactory | |
createServerSocket , createServerSocket , createServerSocket , createServerSocket , getDefault |
public static ServerSocketFactory getDefault()
Returns a default implementation of a SSL server socket factory. To control the class that gets returned by this method, set the security property "ssl.ServerSocketFactory.provider" to the class name of a concrete implementation of this class. If not set, a system-dependent implementation will be used. The implementation returned is created by the first implementation of theSSLContext
class found, which is initialized with default parameters. To control the key and trust manager factory algorithms used as defaults, set the security properties "ssl.keyManagerFactory.algorithm" and "ssl.trustManagerFactory.algorithm" to the appropriate names. Using this method is not recommended. Instead, use the methods ofSSLContext
, which provide much better control over the creation of server socket factories.
- Overrides:
- getDefault in interface ServerSocketFactory
- Returns:
- The default server socket factory.
public abstract String[] getDefaultCipherSuites()
Returns the list of cipher suites that will be enabled in server sockets created by this factory.
- Returns:
- The default cipher suites.
public abstract String[] getSupportedCipherSuites()
Returns the list of all cipher suites supported by this factory.
- Returns:
- The list of supported cipher suites.