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 TransportLayer
public java.lang.String getCipherName()
Ssl
getCipherName
in interface Ssl
public java.lang.String getProtocolName()
Ssl
getProtocolName
in interface Ssl
public void setPeerHostname(java.lang.String hostname)
setPeerHostname
in interface Ssl
ProtonUnsupportedOperationException
public java.lang.String getPeerHostname()
getPeerHostname
in interface Ssl
ProtonUnsupportedOperationException