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.voidsetPeerHostname(String hostname) wrap(TransportInput inputProcessor, TransportOutput outputProcessor)
-
Constructor Details
-
SslImpl
- Parameters:
domain- must implementProtonSslEngineProvider. This is not possible enforce at the API level becauseProtonSslEngineProvideris not part of the public Proton API.
-
-
Method Details
-
wrap
- Specified by:
wrapin interfaceTransportLayer
-
getCipherName
Description copied from interface:SslGet 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:
getCipherNamein interfaceSsl- Returns:
- the name of the cipher in use, or null if none
-
getProtocolName
Description copied from interface:SslGet 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:
getProtocolNamein interfaceSsl- Returns:
- the name of the protocol in use, or null if none
-
setPeerHostname
- Specified by:
setPeerHostnamein interfaceSsl- Throws:
ProtonUnsupportedOperationException
-
getPeerHostname
- Specified by:
getPeerHostnamein interfaceSsl- Throws:
ProtonUnsupportedOperationException
-