public interface TLS13Communication extends TLSCommunication
SSLSocket
,
SSLTransport
Modifier and Type | Method and Description |
---|---|
void |
postHandshake(TLS13PostHandshakeConfig postHandshakeConfig)
Performs a TLS 1.3 post handshake.
|
getActiveExtensions, getChannelBindings, getPeerExtensions, getPSKIdentity
close, getActiveCipherSuite, getActiveCompressionMethod, getActiveProtocolVersion, getContext, getInputStream, getOutputStream, getPeerCertificateChain, getPeerSupportedCipherSuiteList, getPeerSupportedCompressionMethods, getSession, getUseClientMode, renegotiate, setAutoHandshake, setDebugStream, setDebugStream, setUseClientMode, shutdown, startHandshake
void postHandshake(TLS13PostHandshakeConfig postHandshakeConfig) throws java.io.IOException
This method may be called by an application to trigger some
post handshake action. The given post handshake configuration
specifies the type of post handshake
to be performed (either NEW_SESSION_TICKET
to send a new session ticket to the client,
POST_HANDSHAKE_AUTH
to
request post client authentication, or KEY_UPDATE
to perform a key update) and may provide some configuration options.
Sending a new session ticket or requesting post client authentication may
be only triggered on the server side, a key update may be done on both, client
or server side.
postHandshakeConfig
- the post handshake configurationjava.io.IOException
- if the requested post handshake action is not suitable for the local
connection end, handshake state or protocol version, or some error occurs when
performing the post handshake