Package | Description |
---|---|
javax.net.ssl |
Provides classes for the secure socket package.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and 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 network data into a plaintext
application data buffer.
|
SSLEngineResult |
SSLEngine.unwrap(ByteBuffer src,
ByteBuffer[] dsts)
Attempts to decode SSL/TLS 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 network data into a subsequence of
plaintext application data buffers.
|
SSLEngineResult |
SSLEngine.wrap(ByteBuffer[] srcs,
ByteBuffer dst)
Attempts to encode plaintext bytes from a sequence of data
buffers into SSL/TLS network data.
|
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 network data.
|
SSLEngineResult |
SSLEngine.wrap(ByteBuffer src,
ByteBuffer dst)
Attempts to encode a buffer of plaintext application data into
SSL/TLS network data.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.