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
-
InterfaceDescriptionThis interface is implemented by any class which wants to receive notifications about the completion of an SSL protocol handshake on a given SSL connection.This class is the base interface for hostname verification.This is the base interface for JSSE key managers.This class is the base interface for providing algorithm-specific information to a KeyManagerFactory or TrustManagerFactory.In SSL, sessions are used to describe an ongoing relationship between two entities.This interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession.A
SSLSessionContext
represents a set ofSSLSession
s associated with a single entity.This is the base interface for JSSE trust managers.Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket.Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket. -
ClassDescriptionA wrapper for CertPathParameters.Extends the
SSLSession
interface to support additional session attributes.This event indicates that an SSL handshake completed on a given SSL connection.HttpsURLConnection
extendsHttpURLConnection
with support for https-specific features.This class acts as a factory for key managers based on a source of key material.This class defines the Service Provider Interface (SPI) for theKeyManagerFactory
class.A parameters object for X509KeyManagers that encapsulates a List of KeyStore.Builders.Instances of this class represent a server name of typehost_name
in a Server Name Indication (SNI) extension.Instances of this class represent a matcher that performs match operations on anSNIServerName
instance.Instances of this class represent a server name in a Server Name Indication (SNI) extension.Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories orSSLEngine
s.This class defines the Service Provider Interface (SPI) for theSSLContext
class.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.An encapsulation of the result state produced bySSLEngine
I/O calls.Encapsulates parameters for an SSL/TLS/DTLS connection.This class is for various network permissions.This class extendsServerSocket
and provides secure server sockets using protocols such as the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols.SSLServerSocketFactory
s createSSLServerSocket
s.This event is propagated to a SSLSessionBindingListener.This class extendsSocket
and provides secure sockets using protocols such as the "Secure Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.SSLSocketFactory
s createSSLSocket
s.Standard constants definitionsThis class acts as a factory for trust managers based on a source of trust material.This class defines the Service Provider Interface (SPI) for theTrustManagerFactory
class.Abstract class that provides for extension of the X509KeyManager interface.Extensions to theX509TrustManager
interface to support SSL/TLS/DTLS connection sensitive trust management. -
EnumDescriptionAn
SSLEngineResult
enum describing the current handshaking state of thisSSLEngine
.AnSSLEngineResult
enum describing the overall result of theSSLEngine
operation. -
ExceptionDescriptionIndicates some kind of error detected by an SSL subsystem.Indicates that the client and server could not negotiate the desired level of security.Reports a bad SSL key.Indicates that the peer's identity has not been verified.Reports an error in the operation of the SSL protocol.