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
|
Java Source File Name | Type | Comment |
CertPathTrustManagerParameters.java | Class | A wrapper for CertPathParameters. |
HandshakeCompletedEvent.java | Class | This event indicates that an SSL handshake completed on a given
SSL connection. |
HandshakeCompletedListener.java | Interface | 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.
When an SSL handshake completes, new security parameters will
have been established. |
HostnameVerifier.java | Interface | This class is the base interface for hostname verification.
During handshaking, if the URL's hostname and
the server's identification hostname mismatch, the
verification mechanism can call back to implementers of this
interface to determine if this connection should be allowed.
The policies can be certificate-based
or may depend on other authentication schemes.
These callbacks are used when the default rules for URL hostname
verification fail.
author: Brad R. |
HttpsURLConnection.java | Class | HttpsURLConnection extends HttpURLConnection
with support for https-specific features.
See
http://www.w3.org/pub/WWW/Protocols/ and
RFC 2818
for more details on the
https specification.
This class uses HostnameVerifier and
SSLSocketFactory .
There are default implementations defined for both classes.
However, the implementations can be replaced on a per-class (static) or
per-instance basis. |
KeyManager.java | Interface | This is the base interface for JSSE key managers.
KeyManager s are responsible for managing the
key material which is used to authenticate the local SSLSocket
to its peer. |
KeyManagerFactory.java | Class | This class acts as a factory for key managers based on a
source of key material. |
KeyManagerFactorySpi.java | Class | This class defines the Service Provider Interface (SPI)
for the KeyManagerFactory class. |
KeyStoreBuilderParameters.java | Class | A parameters object for X509KeyManagers that encapsulates a List
of KeyStore.Builders. |
ManagerFactoryParameters.java | Interface | This class is the base interface for providing
algorithm-specific information to a KeyManagerFactory or
TrustManagerFactory.
In some cases, initialization parameters other than keystores
may be needed by a provider. |
SSLContext.java | Class | Instances of this class represent a secure socket protocol
implementation which acts as a factory for secure socket
factories or SSLEngine s. |
SSLContextSpi.java | Class | This class defines the Service Provider Interface (SPI)
for the SSLContext class. |
SSLEngine.java | 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.
The secure communications modes include: |
SSLEngineResult.java | Class | An encapsulation of the result state produced by
SSLEngine I/O calls.
A SSLEngine provides a means for establishing
secure communication sessions between two peers. |
SSLException.java | Class | Indicates some kind of error detected by an SSL subsystem. |
SSLHandshakeException.java | Class | Indicates that the client and server could not negotiate the
desired level of security. |
SSLKeyException.java | Class | Reports a bad SSL key. |
SSLParameters.java | Class | Encapsulates parameters for an SSL/TLS connection. |
SSLPeerUnverifiedException.java | Class | Indicates that the peer's identity has not been verified. |
SSLPermission.java | Class | This class is for various network permissions.
An SSLPermission contains a name (also referred to as a "target name") but
no actions list; you either have the named permission
or you don't.
The target name is the name of the network permission (see below). |
SSLProtocolException.java | Class | Reports an error in the operation of the SSL protocol. |
SSLServerSocket.java | Class | 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.
Instances of this class are generally created using a
SSLServerSocketFactory . |
SSLServerSocketFactory.java | Class | SSLServerSocketFactory s create
SSLServerSocket s. |
SSLSession.java | Interface | In SSL, sessions are used to describe an ongoing relationship between
two entities. |
SSLSessionBindingEvent.java | Class | This event is propagated to a SSLSessionBindingListener.
When a listener object is bound or unbound to an SSLSession by
SSLSession.putValue(StringObject) or
SSLSession.removeValue(String) , objects which
implement the SSLSessionBindingListener will be receive an
event of this type. |
SSLSessionBindingListener.java | Interface | This interface is implemented by objects which want to know when
they are being bound or unbound from a SSLSession. |
SSLSessionContext.java | Interface | A SSLSessionContext represents a set of
SSLSession s associated with a single entity. |
SSLSocket.java | Class | 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.
Such sockets are normal stream sockets, but they
add a layer of security protections over the underlying network transport
protocol, such as TCP. |
SSLSocketFactory.java | Class | SSLSocketFactory s create SSLSocket s. |
TrustManager.java | Interface | This is the base interface for JSSE trust managers. |
TrustManagerFactory.java | Class | This class acts as a factory for trust managers based on a
source of trust material. |
TrustManagerFactorySpi.java | Class | This class defines the Service Provider Interface (SPI)
for the TrustManagerFactory class. |
X509ExtendedKeyManager.java | Class | Abstract class that provides for extension of the X509KeyManager
interface.
Methods in this class should be overriden to provide actual
implementations.
since: 1.5 version: 1.7 author: Brad R. |
X509KeyManager.java | Interface | Instances of this interface manage which X509 certificate-based
key pairs are used to authenticate the local side of a secure
socket. |
X509TrustManager.java | Interface | Instance of this interface manage which X509 certificates
may be used to authenticate the remote side of a secure
socket. |