org.apache.qpid.proton.engine.impl.ssl
Class SslDomainImpl
java.lang.Object
org.apache.qpid.proton.engine.impl.ssl.SslDomainImpl
- All Implemented Interfaces:
- ProtonSslEngineProvider, SslDomain
public class SslDomainImpl
- extends Object
- implements SslDomain, ProtonSslEngineProvider
SslDomainImpl
public SslDomainImpl()
init
public void init(SslDomain.Mode mode)
- Specified by:
init in interface SslDomain
getMode
public SslDomain.Mode getMode()
- Specified by:
getMode in interface SslDomain
setCredentials
public void setCredentials(String certificateFile,
String privateKeyFile,
String privateKeyPassword)
- Specified by:
setCredentials in interface SslDomain
setTrustedCaDb
public void setTrustedCaDb(String certificateDb)
- Specified by:
setTrustedCaDb in interface SslDomain
getTrustedCaDb
public String getTrustedCaDb()
- Specified by:
getTrustedCaDb in interface SslDomain
setPeerAuthentication
public void setPeerAuthentication(SslDomain.VerifyMode verifyMode)
- Specified by:
setPeerAuthentication in interface SslDomain
getPeerAuthentication
public SslDomain.VerifyMode getPeerAuthentication()
- Specified by:
getPeerAuthentication in interface SslDomain
getPrivateKeyFile
public String getPrivateKeyFile()
- Specified by:
getPrivateKeyFile in interface SslDomain
getPrivateKeyPassword
public String getPrivateKeyPassword()
- Specified by:
getPrivateKeyPassword in interface SslDomain
getCertificateFile
public String getCertificateFile()
- Specified by:
getCertificateFile in interface SslDomain
allowUnsecuredClient
public void allowUnsecuredClient(boolean allowUnsecured)
- Specified by:
allowUnsecuredClient in interface SslDomain
allowUnsecuredClient
public boolean allowUnsecuredClient()
- Specified by:
allowUnsecuredClient in interface SslDomain
createSslEngine
public ProtonSslEngine createSslEngine(SslPeerDetails peerDetails)
- Description copied from interface:
ProtonSslEngineProvider
- Returns an SSL engine.
- Specified by:
createSslEngine in interface ProtonSslEngineProvider
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.