javax.net.ssl
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
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. |
ManagerFactoryParameters |
This class is the base interface for providing
algorithm-specific information to a KeyManagerFactory or
TrustManagerFactory. |
SSLSession |
In SSL, sessions are used to describe an ongoing relationship between
two entities. |
SSLSessionBindingListener |
This interface is implemented by objects which want to know when
they are being bound or unbound from a SSLSession. |
SSLSessionContext |
A SSLSessionContext represents a set of
SSLSession s associated with a single entity. |
TrustManager |
This is the base interface for JSSE trust managers. |
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
ExtendedSSLSession |
Extends the SSLSession interface to support additional
session attributes. |
HandshakeCompletedEvent |
This event indicates that an SSL handshake completed on a given
SSL connection. |
HttpsURLConnection |
HttpsURLConnection extends HttpURLConnection
with support for https-specific features. |
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. |
SNIHostName |
Instances of this class represent a server name of type
host_name in a Server Name
Indication (SNI) extension. |
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. |
SSLParameters |
Encapsulates parameters for an SSL/TLS connection. |
SSLServerSocket |
This class extends ServerSocket s and
provides secure server sockets using protocols such as the Secure
Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. |
SSLServerSocketFactory |
SSLServerSocketFactory s create
SSLServerSocket s. |
SSLSessionBindingEvent |
This event is propagated to a SSLSessionBindingListener. |
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. |
StandardConstants |
Standard constants definitions |
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. |
X509ExtendedTrustManager |
Extensions to the X509TrustManager interface to support
SSL/TLS connection sensitive trust management. |
Enums
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["The `javax.net.ssl` package provides classes for secure socket communication using protocols such as SSL and TLS."],["It includes functionalities like key and trust management, hostname verification, and session handling."],["Various core classes such as `SSLContext`, `SSLEngine`, `SSLSocket`, and `SSLServerSocket` enable establishing and managing secure connections."],["Interfaces like `KeyManager`, `TrustManager`, and `HostnameVerifier` offer flexibility for customizing the security behavior."],["Exceptions and events provide mechanisms for handling errors and monitoring the SSL/TLS handshake process."]]],["This content details the structure for secure socket layer (SSL) communication in Java. Key components include `KeyManager` and `TrustManager` interfaces, which manage keys and certificates for authentication. `SSLContext` and its SPI define how SSL protocols are implemented, while `SSLEngine` facilitates secure communication. `SSLSession` tracks the ongoing connection, and classes like `SSLSocket` and `SSLServerSocket` create secure sockets. Other classes define factories, parameters, server names and exceptions for different issues. Listeners also exist for certain events.\n"]]