|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TLSCommunication
Extends SSLCommunication to add some methods implemented by SSLTransport and SSLSocket.
The only purpose of the class is backwards compatibility (to not break applications
that implement the SSLCommunication
interface.
SSLSocket
,
SSLTransport
Method Summary | |
---|---|
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. |
Methods inherited from interface iaik.security.ssl.SSLCommunication |
---|
close, getActiveCipherSuite, getActiveCompressionMethod, getActiveProtocolVersion, getContext, getInputStream, getOutputStream, getPeerCertificateChain, getPeerSupportedCipherSuiteList, getPeerSupportedCompressionMethods, getSession, getUseClientMode, renegotiate, setAutoHandshake, setDebugStream, setDebugStream, setUseClientMode, shutdown, startHandshake |
Method Detail |
---|
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.
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |