Constructor and Description |
---|
SslImpl(SslDomain domain,
SslPeerDetails peerDetails) |
Modifier and Type | Method and Description |
---|---|
String |
getCipherName()
Get the name of the Cipher that is currently in use.
|
String |
getPeerHostname() |
String |
getProtocolName()
Get the name of the SSL protocol that is currently in use.
|
void |
setPeerHostname(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)
public String getCipherName()
Ssl
getCipherName
in interface Ssl
public String getProtocolName()
Ssl
getProtocolName
in interface Ssl
public void setPeerHostname(String hostname)
setPeerHostname
in interface Ssl
ProtonUnsupportedOperationException
public String getPeerHostname()
getPeerHostname
in interface Ssl
ProtonUnsupportedOperationException
Copyright © 2016 The Apache Software Foundation. All rights reserved.