public abstract class SSLServerSocket extends ServerSocket

This class extends ServerSockets and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.

Instances of this class are generally created using a SSLServerSocketFactory. The primary function of SSLServerSockets is to create SSLSockets by accepting connections.

SSLServerSockets contain several pieces of state data which are inherited by the SSLSocket at socket creation. These include the enabled cipher suites and protocols, whether client authentication is necessary, and whether created sockets should begin handshaking in client or server mode. The state inherited by the created SSLSocket can be overriden by calling the appropriate methods.

Protected Constructor Summary

Used only by subclasses.
SSLServerSocket(int port)
Used only by subclasses.
SSLServerSocket(int port, int backlog)
Used only by subclasses.
SSLServerSocket(int port, int backlog, InetAddress address)
Used only by subclasses.

Public Method Summary

abstract boolean
Returns true if new SSL sessions may be established by the sockets which are created from this server socket.
abstract String[]
Returns the list of cipher suites which are currently enabled for use by newly accepted connections.
abstract String[]
Returns the names of the protocols which are currently enabled for use by the newly accepted connections.
abstract boolean
Returns true if client authentication will be required on newly accepted server-mode SSLSockets.