public abstract class SSLServerSocketFactory extends ServerSocketFactory
SSLServerSocketFactorys create
SSLServerSockets.SSLSocket,
SSLServerSocket| Modifier | Constructor and Description |
|---|---|
protected |
SSLServerSocketFactory()
Constructor is used only by subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerSocketFactory |
getDefault()
Returns the default SSL server socket factory.
|
abstract java.lang.String[] |
getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default.
|
abstract java.lang.String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection created by this factory.
|
createServerSocket, createServerSocket, createServerSocket, createServerSocketprotected SSLServerSocketFactory()
public static ServerSocketFactory getDefault()
The first time this method is called, the security property "ssl.ServerSocketFactory.provider" is examined. If it is non-null, a class by that name is loaded and instantiated. If that is successful and the object is an instance of SSLServerSocketFactory, it is made the default SSL server socket factory.
Otherwise, this method returns
SSLContext.getDefault().getServerSocketFactory(). If that
call fails, an inoperative factory is returned.
ServerSocketFactorySSLContext.getDefault()public abstract java.lang.String[] getDefaultCipherSuites()
getSupportedCipherSuites()public abstract java.lang.String[] getSupportedCipherSuites()
getDefaultCipherSuites()© Portions Copyright 2003, 2020 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2020, Oracle and/or its affiliates. All rights reserved.