Constructors Summary |
---|
protected SSLServerSocket()Only to be used by subclasses.
Creates a TCP server socket with the default authentication context.
super();
|
protected SSLServerSocket(int port)Only to be used by subclasses.
Creates a TCP server socket on the specified port with the default
authentication context. The connection's default backlog size is 50
connections.
super(port);
|
protected SSLServerSocket(int port, int backlog)Only to be used by subclasses.
Creates a TCP server socket on the specified port using the specified
backlog and the default authentication context.
super(port, backlog);
|
protected SSLServerSocket(int port, int backlog, InetAddress address)Only to be used by subclasses.
Creates a TCP server socket on the specified port, using the specified
backlog, listening on the specified interface, and using the default
authentication context.
super(port, backlog, address);
|
Methods Summary |
---|
public abstract boolean | getEnableSessionCreation()Returns whether new SSL sessions may be established for new connections.
|
public abstract java.lang.String[] | getEnabledCipherSuites()Returns the names of the enabled cipher suites to be used for new
connections.
|
public abstract java.lang.String[] | getEnabledProtocols()Returns the names of the enabled protocols to be used for new
connections.
|
public abstract boolean | getNeedClientAuth()Returns whether server-mode connections will be configured to require
client authentication.
|
public abstract java.lang.String[] | getSupportedCipherSuites()Returns the names of the supported cipher suites.
|
public abstract java.lang.String[] | getSupportedProtocols()Returns the names of the supported protocols.
|
public abstract boolean | getUseClientMode()Returns whether new connection will act in client mode when handshaking.
|
public abstract boolean | getWantClientAuth()Returns whether server-mode connections will be configured to request
client authentication.
|
public abstract void | setEnableSessionCreation(boolean flag)Sets whether new SSL sessions may be established for new connections.
|
public abstract void | setEnabledCipherSuites(java.lang.String[] suites)Sets the names of the cipher suites to be enabled for new connections.
Only cipher suites returned by {@link #getSupportedCipherSuites()} are
allowed.
|
public abstract void | setEnabledProtocols(java.lang.String[] protocols)Sets the names of the protocols to be enabled for new connections. Only
protocols returned by {@link #getSupportedProtocols()} are allowed.
|
public abstract void | setNeedClientAuth(boolean need)Sets whether server-mode connections will be configured to require client
authentication. The client authentication is one of the following:
- authentication required
- authentication requested
- no authentication needed
This method overrides the setting of {@link #setWantClientAuth(boolean)}.
|
public abstract void | setUseClientMode(boolean mode)Sets whether new connections should act in client mode when handshaking.
|
public abstract void | setWantClientAuth(boolean want)Sets whether server-mode connections will be configured to request client
authentication. The client authentication is one of the following:
- authentication required
- authentication requested
- no authentication needed
This method overrides the setting of {@link #setNeedClientAuth(boolean)}.
|