All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javax.net.ssl.SSLSocketFactory

java.lang.Object
   |
   +----javax.net.SocketFactory
           |
           +----javax.net.ssl.SSLSocketFactory

public abstract class SSLSocketFactory
extends SocketFactory
Instances of this kind of socket factory return SSL sockets. An SSL implementation may be established as the "default" factory.

Factory classes are specified by virtual machine configuration mechanisms. Policies for providing different kinds of socket, and for customizing how they are configured, are similarly specified using virtual machine specific interfaces.


Constructor Index

 o SSLSocketFactory()

Method Index

 o getDefault()
Returns the default SSL socket factory.
 o getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default.
 o getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection.

Constructors

 o SSLSocketFactory
 public SSLSocketFactory()

Methods

 o getDefault
 public static SocketFactory getDefault()
Returns the default SSL socket factory. If SSL has not been configured for this virtual machine, the factory will be inoperative (reporting instantiation exceptions).

 o getDefaultCipherSuites
 public abstract String[] getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default. Unless a different list is enabled, handshaking on an SSL connection will use one of these cipher suites. The minimum quality of service for these defaults requires confidentiality protection and server authentication.

Returns:
array of the cipher suites enabled by default
See Also:
getSupportedCipherSuites
 o getSupportedCipherSuites
 public abstract String[] getSupportedCipherSuites()
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 meet quality of service requirements for those defaults. Such cipher suites are useful in specialized applications.

Returns:
an array of cipher suite names

All Packages  Class Hierarchy  This Package  Previous  Next  Index