# Uses of Class
javax.net.ssl.SSLException

Packages that use SSLException
Package | Description
--- | ---
javax.net.ssl | Provides classes for the secure socket package.

## Uses of SSLException in javax.net.ssl

Subclasses of SSLException in javax.net.ssl
Modifier and Type | Class | Description
--- | --- | ---
`class` | `SSLHandshakeException` | Indicates that the client and server could not negotiate the desired level of security.
`class` | `SSLKeyException` | Reports a bad SSL key.
`class` | `SSLPeerUnverifiedException` | Indicates that the peer's identity has not been verified.
`class` | `SSLProtocolException` | Reports an error in the operation of the SSL protocol.

Methods in javax.net.ssl that throw SSLException
Modifier and Type | Method | Description
--- | --- | ---
`abstract void` | SSLEngine.`beginHandshake()` | Initiates handshaking (initial or renegotiation) on this SSLEngine.
`abstract void` | SSLEngine.`closeInbound()` | Signals that no more inbound network data will be sent to this `SSLEngine`.
`SSLEngineResult` | SSLEngine.`unwrap​(ByteBuffer src, ByteBuffer dst)` | Attempts to decode SSL/TLS/DTLS network data into a plaintext application data buffer.
`SSLEngineResult` | SSLEngine.`unwrap​(ByteBuffer src, ByteBuffer[] dsts)` | Attempts to decode SSL/TLS/DTLS network data into a sequence of plaintext application data buffers.
`abstract SSLEngineResult` | SSLEngine.`unwrap​(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)` | Attempts to decode SSL/TLS/DTLS network data into a subsequence of plaintext application data buffers.
`abstract SSLEngineResult` | SSLEngine.`wrap​(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)` | Attempts to encode plaintext bytes from a subsequence of data buffers into SSL/TLS/DTLS network data.
`SSLEngineResult` | SSLEngine.`wrap​(ByteBuffer[] srcs, ByteBuffer dst)` | Attempts to encode plaintext bytes from a sequence of data buffers into SSL/TLS/DTLS network data.
`SSLEngineResult` | SSLEngine.`wrap​(ByteBuffer src, ByteBuffer dst)` | Attempts to encode a buffer of plaintext application data into SSL/TLS/DTLS network data.