Name

Class javax.net.ssl.SSLSocketFactory

Synopsis

Instances of this class are used to obtain SSL sockets connected to particular servers and port numbers. The getDefault( ) method is used to obtain the factory.

Class Definition

public abstract class javax.net.ssl.SSLSocketFactory
    extends javax.net.SocketFactory {

    // Constructors
    public SSLSocketFactory(  );

    // Class Methods
    public static synchronized SocketFactory getDefault(  );

    // Instance Methods
    public abstract Socket createSocket(Socket, String, int, boolean);
    public abstract String[] getDefaultCipherSuites(  );
    public abstract String[] getSupportedCipherSuites(  );
}

See also

SSLSocket, SSLServerSocketFactory

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.