May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class javax.net.ssl.SSLServerSocket
Instances of this class are obtained from an SSLServerSocketFactory
object and provide the server side of an SSL connection. The socket returned by the accept( ) method of this class will be an SSL socket. Before calling the accept( ) method, you can enable or disable the various cipher suites you want to support; the server and client sockets will negotiate those cipher suites transparently.
public abstract class javax.net.ssl.SSLServerSocket
extends java.net.ServerSocket {
// Constructors
protected SSLServerSocket(int, int);
protected SSLServerSocket(int, int, InetAddress);
protected SSLServerSocket(int);
// Instance Methods
public abstract boolean getEnableSessionCreation( );
public abstract String[] getEnabledCipherSuites( );
public abstract boolean getNeedClientAuth( );
public abstract String[] getSupportedCipherSuites( );
public abstract boolean getUseClientMode( );
public abstract void setEnableSessionCreation(boolean);
public abstract void setEnabledCipherSuites(String[]);
public abstract void setNeedClientAuth(boolean);
public abstract void setUseClientMode(boolean);
}
SSLSocket, SSLServerSocketFactory
|
Read now
Unlock full access