Uses of Package javax.net.ssl (Java Platform SE 8 )
Date: 2026-04-22

# Uses of Package
javax.net.ssl

- Packages that use javax.net.ssl
  Package | Description
  --- | ---
  java.net | Provides the classes for implementing networking applications.
  javax.naming.ldap | Provides support for LDAPv3 extended operations and controls.
  javax.net.ssl | Provides classes for the secure socket package.
  javax.rmi.ssl | Provides implementations of `RMIClientSocketFactory` and `RMIServerSocketFactory` over the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.

- Classes in javax.net.ssl used by java.net
  Class and Description
  SSLPeerUnverifiedException Indicates that the peer's identity has not been verified.

- Classes in javax.net.ssl used by javax.naming.ldap
  Class and Description
  HostnameVerifier This class is the base interface for hostname verification.
  SSLSession In SSL, sessions are used to describe an ongoing relationship between two entities.
  SSLSocketFactory `SSLSocketFactory`s create `SSLSocket`s.

- Classes in javax.net.ssl used by javax.net.ssl
  Class and Description
  HandshakeCompletedEvent This event indicates that an SSL handshake completed on a given SSL connection.
  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.
  HostnameVerifier This class is the base interface for hostname verification.
  KeyManager This is the base interface for JSSE key managers.
  KeyManagerFactory This class acts as a factory for key managers based on a source of key material.
  KeyManagerFactorySpi This class defines the Service Provider Interface (SPI) for the `KeyManagerFactory` class.
  ManagerFactoryParameters This class is the base interface for providing algorithm-specific information to a KeyManagerFactory or TrustManagerFactory.
  SNIMatcher Instances of this class represent a matcher that performs match operations on an `SNIServerName` instance.
  SNIServerName Instances of this class represent a server name in a Server Name Indication (SNI) extension.
  SSLContext Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories or `SSLEngine`s.
  SSLContextSpi This class defines the Service Provider Interface (SPI) for the `SSLContext` 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.
  SSLEngineResult An encapsulation of the result state produced by `SSLEngine` I/O calls.
  SSLEngineResult.HandshakeStatus An `SSLEngineResult` enum describing the current handshaking state of this `SSLEngine`.
  SSLEngineResult.Status An `SSLEngineResult` enum describing the overall result of the `SSLEngine` operation.
  SSLException Indicates some kind of error detected by an SSL subsystem.
  SSLParameters Encapsulates parameters for an SSL/TLS connection.
  SSLPeerUnverifiedException Indicates that the peer's identity has not been verified.
  SSLServerSocketFactory `SSLServerSocketFactory`s create `SSLServerSocket`s.
  SSLSession In SSL, sessions are used to describe an ongoing relationship between two entities.
  SSLSessionBindingEvent This event is propagated to a SSLSessionBindingListener.
  SSLSessionContext A `SSLSessionContext` represents a set of `SSLSession`s associated with a single entity.
  SSLSocket This class extends `Socket`s and provides secure socket using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.
  SSLSocketFactory `SSLSocketFactory`s create `SSLSocket`s.
  TrustManager This is the base interface for JSSE trust managers.
  TrustManagerFactory This class acts as a factory for trust managers based on a source of trust material.
  TrustManagerFactorySpi This class defines the Service Provider Interface (SPI) for the `TrustManagerFactory` class.
  X509KeyManager Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket.
  X509TrustManager Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket.

- Classes in javax.net.ssl used by javax.rmi.ssl
  Class and Description
  SSLContext Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories or `SSLEngine`s.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.