Since: API Level 1
package

javax.net.ssl

Classes | Description

This package provides all the classes and interfaces needed to implement and program the Secure Socket abstraction based on the SSL protocol SSSLv3.0 or TLSv1.2.

more...

Interfaces

HandshakeCompletedListenerThe listener to be implemented to receive event notifications on completion of SSL handshake on an SSL connection. 
HostnameVerifierThe interface to be used to provide hostname verification functionality. 
KeyManagerThis is the interface to implement in order to mark a class as a JSSE key managers so that key managers can be easily grouped. 
ManagerFactoryParametersThe marker interface for key manager factory parameters. 
SSLSessionThe interface representing an SSL session. 
SSLSessionBindingListenerThe interface to be implemented by any object that requires notification when data objects are bound to (or unbound from) an SSLSession
SSLSessionContextA collection of SSLSessions. 
TrustManagerThe marker interface for JSSE trust managers. 
X509KeyManagerA Key Manager for X509 certificate-based key pairs. 
X509TrustManagerThe trust manager for X509 certificates to be used to perform authentication for secure sockets. 

Classes

CertPathTrustManagerParametersCertification path parameters to provide to certification path based TrustManager
HandshakeCompletedEventThe event object encapsulating the information about a completed SSL handshake on a SSL connection. 
HttpsURLConnectionThis abstract subclass of HttpURLConnection defines methods for managing HTTPS connections according to the description given by RFC 2818. 
KeyManagerFactoryThe public API for KeyManagerFactory implementations. 
KeyManagerFactorySpiThe Service Provider Interface (SPI) for the KeyManagerFactory class. 
KeyStoreBuilderParametersThe parameters for KeyManagers. 
SSLContextThe public API for secure socket protocol implementations. 
SSLContextSpiThe Service Provider Interface (SPI) for the SSLContext class. 
SSLEngineThe abstract implementation of secure communications using SSL, TLS, or other protocols. 
SSLEngineResultThe result object describing the state of the SSLEngine produced by the wrap() and unwrap() operations. 
SSLParametersSSL handshake parameters that include protocols, cipher suites, and client authentication requirements. 
SSLPermissionThe class representing a network permission. 
SSLServerSocketThe extension of ServerSocket which provides secure server sockets based on protocols like SSL, TLS, or others. 
SSLServerSocketFactoryThe factory for SSL server sockets. 
SSLSessionBindingEventThe event sent to an SSLSessionBindingListener when the listener object is bound (putValue(String, Object)) or unbound (removeValue(String)) to an SSLSession
SSLSocketThe extension of Socket providing secure protocols like SSL (Secure Socket Layer") or TLS (Transport Layer Security). 
SSLSocketFactoryThe abstract factory implementation to create SSLSockets. 
TrustManagerFactoryThe factory for TrustManagers based on KeyStore or provider specific implementation. 
TrustManagerFactorySpiThe Service Provider Interface (SPI) for the TrustManagerFactory class. 
X509ExtendedKeyManagerThe abstract extension for the X509KeyManager interface. 

Enums

SSLEngineResult.HandshakeStatusThe enum describing the state of the current handshake. 
SSLEngineResult.StatusThe enum describing the result of the SSLEngine operation. 

Exceptions

SSLExceptionThe base class for all SSL related exceptions. 
SSLHandshakeExceptionThe exception that is thrown when a handshake could not be completed successfully. 
SSLKeyExceptionThe exception that is thrown when an invalid SSL key is encountered. 
SSLPeerUnverifiedExceptionThe exception that is thrown when the identity of a peer has not beed verified. 
SSLProtocolExceptionThe exception that is thrown when an error in the operation of the SSL protocol is encountered.