# javax.net.ssl

### Interfaces

|---|---|
| [HandshakeCompletedListener](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/HandshakeCompletedListener.html) | 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](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/HostnameVerifier.html) | This class is the base interface for hostname verification. |
| [KeyManager](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/KeyManager.html) | This is the base interface for JSSE key managers. |
| [ManagerFactoryParameters](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/ManagerFactoryParameters.html) | This class is the base interface for providing algorithm-specific information to a KeyManagerFactory or TrustManagerFactory. |
| [SSLSession](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLSession.html) | In SSL, sessions are used to describe an ongoing relationship between two entities. |
| [SSLSessionBindingListener](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLSessionBindingListener.html) | This interface is implemented by objects which want to know when they are being bound or unbound from a SSLSession. |
| [SSLSessionContext](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLSessionContext.html) | A `SSLSessionContext` represents a set of `SSLSession`s associated with a single entity. |
| [TrustManager](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/TrustManager.html) | This is the base interface for JSSE trust managers. |
| [X509KeyManager](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/X509KeyManager.html) | Instances of this interface manage which X509 certificate-based key pairs are used to authenticate the local side of a secure socket. |
| [X509TrustManager](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/X509TrustManager.html) | Instance of this interface manage which X509 certificates may be used to authenticate the remote side of a secure socket. |

### Classes

|---|---|
| [ExtendedSSLSession](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/ExtendedSSLSession.html) | Extends the `SSLSession` interface to support additional session attributes. |
| [HandshakeCompletedEvent](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/HandshakeCompletedEvent.html) | This event indicates that an SSL handshake completed on a given SSL connection. |
| [HttpsURLConnection](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/HttpsURLConnection.html) | `HttpsURLConnection` extends `HttpURLConnection` with support for https-specific features. |
| [KeyManagerFactory](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/KeyManagerFactory.html) | This class acts as a factory for key managers based on a source of key material. |
| [KeyManagerFactorySpi](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/KeyManagerFactorySpi.html) | This class defines the *Service Provider Interface* (**SPI** ) for the `KeyManagerFactory` class. |
| [SNIHostName](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SNIHostName.html) | Instances of this class represent a server name of type `https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/StandardConstants.html#SNI_HOST_NAME` in a Server Name Indication (SNI) extension. |
| [SNIMatcher](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SNIMatcher.html) | Instances of this class represent a matcher that performs match operations on an `https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SNIServerName.html` instance. |
| [SNIServerName](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SNIServerName.html) | Instances of this class represent a server name in a Server Name Indication (SNI) extension. |
| [SSLContext](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLContext.html) | Instances of this class represent a secure socket protocol implementation which acts as a factory for secure socket factories or `SSLEngine`s. |
| [SSLContextSpi](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLContextSpi.html) | This class defines the *Service Provider Interface* (**SPI** ) for the `SSLContext` class. |
| [SSLEngine](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLEngine.html) | A class which enables secure communications using protocols such as the Secure Sockets Layer (SSL) or [IETF RFC 2246 "Transport Layer Security" (TLS)](http://www.ietf.org/rfc/rfc2246.txt) protocols, but is transport independent. |
| [SSLEngineResult](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLEngineResult.html) | An encapsulation of the result state produced by `SSLEngine` I/O calls. |
| [SSLParameters](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLParameters.html) | Encapsulates parameters for an SSL/TLS connection. |
| [SSLServerSocket](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLServerSocket.html) | 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](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLServerSocketFactory.html) | `SSLServerSocketFactory`s create `SSLServerSocket`s. |
| [SSLSessionBindingEvent](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLSessionBindingEvent.html) | This event is propagated to a SSLSessionBindingListener. |
| [SSLSocket](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLSocket.html) | 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](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLSocketFactory.html) | `SSLSocketFactory`s create `SSLSocket`s. |
| [StandardConstants](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/StandardConstants.html) | Standard constants definitions |
| [TrustManagerFactory](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/TrustManagerFactory.html) | This class acts as a factory for trust managers based on a source of trust material. |
| [TrustManagerFactorySpi](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/TrustManagerFactorySpi.html) | This class defines the *Service Provider Interface* (**SPI** ) for the `TrustManagerFactory` class. |
| [X509ExtendedTrustManager](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/X509ExtendedTrustManager.html) | Extensions to the `X509TrustManager` interface to support SSL/TLS connection sensitive trust management. |

### Enums

|---|---|
| [SSLEngineResult.HandshakeStatus](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLEngineResult.HandshakeStatus.html) | An `SSLEngineResult` enum describing the current handshaking state of this `SSLEngine`. |
| [SSLEngineResult.Status](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLEngineResult.Status.html) | An `SSLEngineResult` enum describing the overall result of the `SSLEngine` operation. |

### Exceptions

|---|---|
| [SSLException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLException.html) | Indicates some kind of error detected by an SSL subsystem. |
| [SSLHandshakeException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLHandshakeException.html) | Indicates that the client and server could not negotiate the desired level of security. |
| [SSLKeyException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLKeyException.html) | Reports a bad SSL key. |
| [SSLPeerUnverifiedException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLPeerUnverifiedException.html) | Indicates that the peer's identity has not been verified. |
| [SSLProtocolException](https://developers.google.com/j2objc/javadoc/jre/reference/javax/net/ssl/SSLProtocolException.html) | Reports an error in the operation of the SSL protocol. |