Class SslImpl
java.lang.Object
org.apache.qpid.proton.engine.impl.ssl.SslImpl
- All Implemented Interfaces:
TransportLayer
,Ssl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the Cipher that is currently in use.Get the name of the SSL protocol that is currently in use.void
setPeerHostname
(String hostname) wrap
(TransportInput inputProcessor, TransportOutput outputProcessor)
-
Constructor Details
-
SslImpl
- Parameters:
domain
- must implementProtonSslEngineProvider
. This is not possible enforce at the API level becauseProtonSslEngineProvider
is not part of the public Proton API.
-
-
Method Details
-
wrap
- Specified by:
wrap
in interfaceTransportLayer
-
getCipherName
Description copied from interface:Ssl
Get the name of the Cipher that is currently in use. Gets a text description of the cipher that is currently active, or returns null if SSL is not active (no cipher). Note that the cipher in use may change over time due to renegotiation or other changes to the SSL state.- Specified by:
getCipherName
in interfaceSsl
- Returns:
- the name of the cipher in use, or null if none
-
getProtocolName
Description copied from interface:Ssl
Get the name of the SSL protocol that is currently in use. Gets a text description of the SSL protocol that is currently active, or null if SSL is not active. Note that the protocol may change over time due to renegotiation.- Specified by:
getProtocolName
in interfaceSsl
- Returns:
- the name of the protocol in use, or null if none
-
setPeerHostname
- Specified by:
setPeerHostname
in interfaceSsl
- Throws:
ProtonUnsupportedOperationException
-
getPeerHostname
- Specified by:
getPeerHostname
in interfaceSsl
- Throws:
ProtonUnsupportedOperationException
-