public class TLSProtocol
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TLSProtocol.NegotiateNewSession
Initiate a new session negotiation.
|
static class |
TLSProtocol.NegotiateNewSession$ |
static class |
TLSProtocol.SendBytes
Send the given
ByteString across the encrypted session to the
peer. |
static class |
TLSProtocol.SendBytes$ |
static class |
TLSProtocol.SessionBytes
Plaintext bytes emitted by the SSLEngine are received over one specific
encryption session and this class bundles the bytes with the SSLSession
object.
|
static class |
TLSProtocol.SessionBytes$ |
static class |
TLSProtocol.SessionTruncated
If the underlying transport is closed before the final TLS closure command
is received from the peer then the SSLEngine will throw an SSLException that
warns about possible truncation attacks.
|
static class |
TLSProtocol.SessionTruncated$ |
static interface |
TLSProtocol.SslTlsInbound
This is the supertype of all messages that the SslTls stage emits on the
plaintext side.
|
static interface |
TLSProtocol.SslTlsOutbound
This is the supertype of all messages that the SslTls stage accepts on its
plaintext side.
|
Constructor and Description |
---|
TLSProtocol() |
Modifier and Type | Method and Description |
---|---|
static TLSProtocol.NegotiateNewSession |
negotiateNewSession()
Java API: obtain the default value of
TLSProtocol.NegotiateNewSession (which will leave the SSLEngine’s
settings unchanged). |
public static TLSProtocol.NegotiateNewSession negotiateNewSession()
TLSProtocol.NegotiateNewSession
(which will leave the SSLEngine’s
settings unchanged).