public class DefaultTlsContextFactory extends Object implements TlsContextFactory, org.mule.api.lifecycle.Initialisable
TlsContextFactory interface, which delegates all its operations to a
TlsConfiguration object. Only enabled cipher suites and protocols will not delegate to it if configured.| Constructor and Description |
|---|
DefaultTlsContextFactory() |
public void initialise()
throws org.mule.api.lifecycle.InitialisationException
initialise in interface org.mule.api.lifecycle.Initialisableorg.mule.api.lifecycle.InitialisationExceptionpublic String getName()
public void setName(String name)
public String getKeyStorePath()
public void setKeyStorePath(String name) throws IOException
IOExceptionpublic String getKeyStoreType()
public void setKeyStoreType(String keyStoreType)
public String getKeyAlias()
public void setKeyAlias(String keyAlias)
public String getKeyStorePassword()
public void setKeyStorePassword(String storePassword)
public String getKeyManagerPassword()
public void setKeyManagerPassword(String keyManagerPassword)
public String getKeyManagerAlgorithm()
public void setKeyManagerAlgorithm(String keyManagerAlgorithm)
public String getTrustStorePath()
public void setTrustStorePath(String trustStorePath) throws IOException
IOExceptionpublic String getTrustStoreType()
public void setTrustStoreType(String trustStoreType)
public String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
public String getTrustManagerAlgorithm()
public void setTrustManagerAlgorithm(String trustManagerAlgorithm)
public boolean isTrustStoreInsecure()
public void setTrustStoreInsecure(boolean insecure)
public SSLContext createSslContext() throws KeyManagementException, NoSuchAlgorithmException, org.mule.api.lifecycle.CreateException
createSslContext in interface TlsContextFactoryKeyManagementExceptionNoSuchAlgorithmExceptionorg.mule.api.lifecycle.CreateExceptionpublic String[] getEnabledCipherSuites()
TlsContextFactorygetEnabledCipherSuites in interface TlsContextFactorypublic void setEnabledCipherSuites(String enabledCipherSuites)
public String[] getEnabledProtocols()
TlsContextFactorygetEnabledProtocols in interface TlsContextFactorypublic void setEnabledProtocols(String enabledProtocols)
public void setRevocationCheckWrapper(RevocationCheckWrapper revocationCheckWrapper)
public boolean isKeyStoreConfigured()
isKeyStoreConfigured in interface TlsContextFactorypublic boolean isTrustStoreConfigured()
isTrustStoreConfigured in interface TlsContextFactorypublic TlsContextKeyStoreConfiguration getKeyStoreConfiguration()
getKeyStoreConfiguration in interface TlsContextFactorypublic TlsContextTrustStoreConfiguration getTrustStoreConfiguration()
getTrustStoreConfiguration in interface TlsContextFactoryCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.