Package javax.net.ssl

Provides abtract interfaces to Sun Microsystems Secure Sockets Layer (SSL) API.

See:
          Description

Interface Summary
HandshakeCompletedListener  
SSLSession  
SSLSessionBindingListener  
SSLSessionContext  
 

Class Summary
HandshakeCompletedEvent  
SSLServerSocket  
SSLServerSocketFactory Class SSLServerSocketFactory provides SUN's interface specification but adds no functionality.
SSLSessionBindingEvent  
SSLSocket  
SSLSocketFactory Class SSLSocketFactory is an abstract class which provides Sun's interface, but no functionality.
 

Exception Summary
SSLException  
SSLHandshakeException  
SSLKeyException  
SSLPeerUnverifiedException  
SSLProtocolException  
 

Package javax.net.ssl Description

Provides abtract interfaces to Sun Microsystems Secure Sockets Layer (SSL) API. The SSL API is a standard extension to release 1.1 of the Java platform.

Package Specification

Except for the methods all other methods are abstract;This means no classes of this package can be directly instantiated.

The intended usage for this package is to provide a well defined interface for the Secure Sockets Layer (SSL) API, which could be implemented in different ways.However, the non-abstract static methods mentioned above offer a standard way to get the current implementation of this package.

Every application should use the SSLSocketFactory.setDefault to set the current implementation of this package in its runtime environment setup. Applications using SSL could then obtain the factories for the current implementation by calling SSLSocketFactory.getDefault / SSLServerSocketFactory.getDefault

If you already have a abstract interface matching Sun's specification for the Secure Sockets Layer (SSL) API, you may not need this package.

Related Documentation

Note that the package is not documented. For the documentation of the API, see the SSL API reference pages.