public class OpenSSLServerSocketFactoryImpl extends SSLServerSocketFactory
| Constructor and Description |
|---|
OpenSSLServerSocketFactoryImpl() |
OpenSSLServerSocketFactoryImpl(SSLParametersImpl sslParameters) |
| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket()
Creates a new server socket which is not bound to any local address.
|
ServerSocket |
createServerSocket(int port)
Creates a new server socket which is bound to the given port with a
maximum backlog of 50 unaccepted connections.
|
ServerSocket |
createServerSocket(int port,
int backlog)
Creates a new server socket which is bound to the given port and
configures its maximum of queued connections.
|
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress iAddress)
Creates a new server socket which is bound to the given address on the
specified port and configures its maximum of queued connections.
|
String[] |
getDefaultCipherSuites()
Returns the names of the cipher suites that are enabled by default.
|
String[] |
getSupportedCipherSuites()
Returns the list of supported cipher suites that could be enabled for an
SSL connection created by this factory.
|
getDefaultpublic OpenSSLServerSocketFactoryImpl()
public OpenSSLServerSocketFactoryImpl(SSLParametersImpl sslParameters)
public String[] getDefaultCipherSuites()
SSLServerSocketFactorygetDefaultCipherSuites in class SSLServerSocketFactorypublic String[] getSupportedCipherSuites()
SSLServerSocketFactorygetSupportedCipherSuites in class SSLServerSocketFactorypublic ServerSocket createServerSocket() throws IOException
ServerSocketFactorySocketException is thrown.createServerSocket in class ServerSocketFactoryIOException - if an error occurs while creating a new server socket.public ServerSocket createServerSocket(int port) throws IOException
ServerSocketFactorycreateServerSocket in class ServerSocketFactoryport - the port on which the created socket has to listen.IOException - if an error occurs while creating a new server socket.public ServerSocket createServerSocket(int port, int backlog) throws IOException
ServerSocketFactorycreateServerSocket in class ServerSocketFactoryport - the port on which the created socket has to listen.backlog - the maximum number of unaccepted connections. Passing 0 or
a negative value yields the default backlog of 50.IOException - if an error occurs while creating a new server socket.public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) throws IOException
ServerSocketFactorycreateServerSocket in class ServerSocketFactoryport - the port on which the created socket has to listen.backlog - the maximum number of unaccepted connections. Passing 0 or
a negative value yields the default backlog of 50.iAddress - the address of the network interface which is used by the
created socket.IOException - if an error occurs while creating a new server socket.