public class SslImpl extends Object implements Ssl, TransportLayer
| 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)
wrap in interface TransportLayerpublic String getCipherName()
SslgetCipherName in interface Sslpublic String getProtocolName()
SslgetProtocolName in interface Sslpublic void setPeerHostname(String hostname)
setPeerHostname in interface SslProtonUnsupportedOperationExceptionpublic String getPeerHostname()
getPeerHostname in interface SslProtonUnsupportedOperationExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.