public class SslImpl extends java.lang.Object implements Ssl, TransportLayer
| Constructor and Description |
|---|
SslImpl(SslDomain domain,
SslPeerDetails peerDetails) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCipherName()
Get the name of the Cipher that is currently in use.
|
java.lang.String |
getPeerHostname() |
java.lang.String |
getProtocolName()
Get the name of the SSL protocol that is currently in use.
|
void |
setPeerHostname(java.lang.String hostname) |
TransportWrapper |
wrap(TransportInput inputProcessor,
TransportOutput outputProcessor) |
public SslImpl(SslDomain domain, SslPeerDetails peerDetails)
domain - must implement ProtonSslEngineProvider. This is not possible
enforce at the API level because ProtonSslEngineProvider is not part of the
public Proton API.public TransportWrapper wrap(TransportInput inputProcessor, TransportOutput outputProcessor)
wrap in interface TransportLayerpublic java.lang.String getCipherName()
SslgetCipherName in interface Sslpublic java.lang.String getProtocolName()
SslgetProtocolName in interface Sslpublic void setPeerHostname(java.lang.String hostname)
setPeerHostname in interface SslProtonUnsupportedOperationExceptionpublic java.lang.String getPeerHostname()
getPeerHostname in interface SslProtonUnsupportedOperationException