| Modifier and Type | Field and Description |
|---|---|
| private final SSLContextImpl | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | SSLServerSocketFactoryImpl(SSLContextImpl context)
Called from SSLContextImpl's getSSLServerSocketFactory(). |
| Modifier and Type | Method and Description |
|---|---|
| public ServerSocket | Returns: the unbound socketOverrides javax. Returns an unbound server socket. |
| public ServerSocket | createServerSocket(int port)
Implements abstract javax. Returns a server socket bound to the specified port. |
| public ServerSocket | createServerSocket(int port, int backlog)
Implements abstract javax. Returns a server socket bound to the specified port, and uses the specified connection backlog. |
| public ServerSocket | createServerSocket(int port, int backlog, InetAddress ifAddress)
Implements abstract javax. Returns a server socket bound to the specified port, with a specified listen backlog and local IP. |
| public String[] | getDefaultCipherSuites()
Implements abstract javax. Returns the subset of the supported cipher suites which are enabled by default. |
| public String[] | Returns: an array of cipher suite namesImplements abstract javax. Returns the names of the cipher suites which could be enabled for use on an SSL connection. |
| context | back to summary |
|---|---|
| private final SSLContextImpl context | |
| DEFAULT_BACKLOG | back to summary |
|---|---|
| private static final int DEFAULT_BACKLOG | |
| SSLServerSocketFactoryImpl | back to summary |
|---|---|
| public SSLServerSocketFactoryImpl() throws Exception Constructor used to instantiate the default factory. This method is only called if the old "ssl.ServerSocketFactory.provider" property in the java.security file is set. | |
| SSLServerSocketFactoryImpl | back to summary |
|---|---|
| pack-priv SSLServerSocketFactoryImpl(SSLContextImpl context) Called from SSLContextImpl's getSSLServerSocketFactory(). | |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket() throws IOException Overrides javax. Returns an unbound server socket.
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port. The socket is configured with the socket options (such as accept timeout) given to this factory.
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, int backlog) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.
The
| |
| createServerSocket | back to summary |
|---|---|
| public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException Implements abstract javax. Doc from javax. Returns a server socket bound to the specified port, with a specified listen backlog and local IP.
The
The
| |
| getDefaultCipherSuites | back to summary |
|---|---|
| public String[] getDefaultCipherSuites() Implements abstract javax. Returns the subset of the supported cipher suites which are enabled by default. These cipher suites all provide a minimum quality of service whereby the server authenticates itself (preventing person-in-the-middle attacks) and where traffic is encrypted to provide confidentiality.
| |
| getSupportedCipherSuites | back to summary |
|---|---|
| public String[] getSupportedCipherSuites() Implements abstract javax. Returns the names of the cipher suites which could be enabled for use on an SSL connection. Normally, only a subset of these will actually be enabled by default, since this list may include cipher suites which do not support the mutual authentication of servers and clients, or which do not protect data confidentiality. Servers may also need certain kinds of certificates to use certain cipher suites. | |