public interface TLSCommunication extends SSLCommunication
The only purpose of the class is backwards compatibility (to not break applications
that implement the SSLCommunication
interface.
SSLSocket
,
SSLTransport
Modifier and Type | Method and Description |
---|---|
ExtensionList |
getActiveExtensions()
Gets the active TLS extensions of the current TLS session.
|
ChannelBindings |
getChannelBindings()
Gets any ChannelBindings associated with this Handshaker.
|
ExtensionList |
getPeerExtensions()
Gets the TLS extensions received from the peer.
|
java.lang.String |
getPSKIdentity()
Returns the PSK identity used for identifying the pre-shared
key or
null if no PSK cipher suite is used for
the communication. |
close, getActiveCipherSuite, getActiveCompressionMethod, getActiveProtocolVersion, getContext, getInputStream, getOutputStream, getPeerCertificateChain, getPeerSupportedCipherSuiteList, getPeerSupportedCompressionMethods, getSession, getUseClientMode, renegotiate, setAutoHandshake, setDebugStream, setDebugStream, setUseClientMode, shutdown, startHandshake
ExtensionList getActiveExtensions()
peer extensions
.
Note the extensions are cloned before returned by this method. Since cloning may be an expensive operation, you may call this method only if required.
null
if no extensions are usedExtensionList getPeerExtensions()
Note the extensions are cloned before returned by this method. Since cloning may be an expensive operation, you may call this method only if required.
null
if the peer did not sent any extensionsjava.lang.String getPSKIdentity()
null
if no PSK cipher suite is used for
the communication.null
if no PSK cipher
suite is used for the communicationChannelBindings getChannelBindings()
null
if no channel bindings are
available (e.g. if the application does not have
announced
interest in channel bindings.