Top Description Interfaces Classes
module java.base

Package javax.net.ssl


Provides classes for the secure socket package. Using the secure socket classes, you can communicate using SSL or a related security protocol to reliably detect any errors introduced into the network byte stream and to optionally encrypt the data and/or authenticate the communicating peers.
Since
1.4

Interface Summary

Modifier and TypeInterface and Description
public interface
HandshakeCompletedListener

This interface is implemented by any class which wants to receive notifications about the completion of an SSL protocol handshake on a given SSL connection.

public interface
HostnameVerifier

This class is the base interface for hostname verification.

public interface
KeyManager

This is the base interface for JSSE key managers.

public interface
ManagerFactoryParameters

This class is the base interface for providing algorithm-specific information to a KeyManagerFactory or TrustManagerFactory.

public interface
SSLSession

In SSL, sessions are used to describe an ongoing relationship between two entities.

public interface
SSLSessionBindingListener

This interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession.

public interface
SSLSessionContext

A SSLSessionContext represents a set of SSLSessions associated with a single entity.

public interface
TrustManager

This is the base interface for JSSE trust managers.

public interface
X509KeyManager

Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket.

public interface
X509TrustManager

Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket.

Class Summary

Modifier and TypeClass and Description
public class
CertPathTrustManagerParameters

A wrapper for CertPathParameters.

pack-priv class
pack-priv class
public abstract class
ExtendedSSLSession

Extends the SSLSession interface to support additional session attributes.

public class
HandshakeCompletedEvent

This event indicates that an SSL handshake completed on a given SSL connection.

public abstract class
HttpsURLConnection

HttpsURLConnection extends HttpURLConnection with support for https-specific features.

public class
KeyManagerFactory

This class acts as a factory for key managers based on a source of key material.

public abstract class
KeyManagerFactorySpi

This class defines the Service Provider Interface (SPI) for the KeyManagerFactory class.

public class
KeyStoreBuilderParameters

A parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.

public class
SNIHostName

Instances of this class represent a server name of type host_name in a Server Name Indication (SNI) extension.

public abstract class
SNIMatcher

Instances of this class represent a matcher that performs match operations on an SNIServerName instance.

public abstract class
SNIServerName

Instances of this class represent a server name in a Server Name Indication (SNI) extension.

public class
SSLContext

Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories or SSLEngines.

public abstract class
SSLContextSpi

This class defines the Service Provider Interface (SPI) for the SSLContext class.

public abstract class
SSLEngine

A class which enables secure communications using protocols such as the Secure Sockets Layer (SSL) or IETF RFC 2246 "Transport Layer Security" (TLS) protocols, but is transport independent.

public class
SSLEngineResult

An encapsulation of the result state produced by SSLEngine I/O calls.

public class
SSLException

Indicates some kind of error detected by an SSL subsystem.

public class
SSLHandshakeException

Indicates that the client and server could not negotiate the desired level of security.

public class
SSLKeyException

Reports a bad SSL key.

public class
SSLParameters

Encapsulates parameters for an SSL/TLS/DTLS connection.

public class
SSLPeerUnverifiedException

Indicates that the peer's identity has not been verified.

public class
SSLPermission

This class is for various network permissions.

public class
SSLProtocolException

Reports an error in the operation of the SSL protocol.

public abstract class
SSLServerSocket

This class extends ServerSocket and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.

public abstract class
SSLServerSocketFactory

SSLServerSocketFactorys create SSLServerSockets.

public class
SSLSessionBindingEvent

This event is propagated to a SSLSessionBindingListener.

public abstract class
SSLSocket

This class extends Socket and provides secure sockets using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.

public abstract class
SSLSocketFactory

SSLSocketFactorys create SSLSockets.

public class
StandardConstants

Standard constants definitions

public class
TrustManagerFactory

This class acts as a factory for trust managers based on a source of trust material.

public abstract class
TrustManagerFactorySpi

This class defines the Service Provider Interface (SPI) for the TrustManagerFactory class.

public abstract class
X509ExtendedKeyManager

Abstract class that provides for extension of the X509KeyManager interface.

public abstract class
X509ExtendedTrustManager

Extensions to the X509TrustManager interface to support SSL/TLS/DTLS connection sensitive trust management.