public class DefaultTlsContextFactory extends Object implements TlsContextFactory
TlsContextFactory
interface, which delegates all its operations to a
TlsConfiguration
object.Constructor and Description |
---|
DefaultTlsContextFactory() |
public String getName()
public void setName(String name)
public String getKeyStorePath()
public void setKeyStorePath(String name) throws IOException
IOException
public 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
IOException
public String getTrustStoreType()
public void setTrustStoreType(String trustStoreType)
public String getTrustStorePassword()
public void setTrustStorePassword(String trustStorePassword)
public String getTrustManagerAlgorithm()
public void setTrustManagerAlgorithm(String trustManagerAlgorithm)
public SSLContext createSslContext() throws KeyManagementException, NoSuchAlgorithmException, CreateException
createSslContext
in interface TlsContextFactory
KeyManagementException
NoSuchAlgorithmException
CreateException
public String[] getEnabledCipherSuites()
TlsContextFactory
getEnabledCipherSuites
in interface TlsContextFactory
public String[] getEnabledProtocols()
TlsContextFactory
getEnabledProtocols
in interface TlsContextFactory
public boolean isKeyStoreConfigured()
isKeyStoreConfigured
in interface TlsContextFactory
public boolean isTrustStoreConfigured()
isTrustStoreConfigured
in interface TlsContextFactory
public TlsContextKeyStoreConfiguration getKeyStoreConfiguration()
getKeyStoreConfiguration
in interface TlsContextFactory
public TlsContextTrustStoreConfiguration getTrustStoreConfiguration()
getTrustStoreConfiguration
in interface TlsContextFactory
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.