public class DefaultTlsContextFactory
extends org.mule.runtime.api.component.AbstractComponent
implements org.mule.runtime.api.tls.TlsContextFactory, org.mule.runtime.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(Map<QName,Object> annotations) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationspublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.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 getKeyPassword()
public void setKeyPassword(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 void setRevocationCheck(org.mule.runtime.core.privileged.security.RevocationCheck revocationCheck)
public SSLContext createSslContext() throws KeyManagementException, NoSuchAlgorithmException
createSslContext in interface org.mule.runtime.api.tls.TlsContextFactoryKeyManagementExceptionNoSuchAlgorithmExceptionpublic SSLSocketFactory createSocketFactory() throws KeyManagementException, NoSuchAlgorithmException
createSocketFactory in interface org.mule.runtime.api.tls.TlsContextFactoryKeyManagementExceptionNoSuchAlgorithmExceptionpublic SSLServerSocketFactory createServerSocketFactory() throws KeyManagementException, NoSuchAlgorithmException
createServerSocketFactory in interface org.mule.runtime.api.tls.TlsContextFactoryKeyManagementExceptionNoSuchAlgorithmExceptionpublic String[] getEnabledCipherSuites()
getEnabledCipherSuites in interface org.mule.runtime.api.tls.TlsContextFactorypublic void setEnabledCipherSuites(String enabledCipherSuites)
public String[] getEnabledProtocols()
getEnabledProtocols in interface org.mule.runtime.api.tls.TlsContextFactorypublic void setEnabledProtocols(String enabledProtocols)
public boolean isKeyStoreConfigured()
isKeyStoreConfigured in interface org.mule.runtime.api.tls.TlsContextFactorypublic boolean isTrustStoreConfigured()
isTrustStoreConfigured in interface org.mule.runtime.api.tls.TlsContextFactorypublic org.mule.runtime.api.tls.TlsContextKeyStoreConfiguration getKeyStoreConfiguration()
getKeyStoreConfiguration in interface org.mule.runtime.api.tls.TlsContextFactorypublic org.mule.runtime.api.tls.TlsContextTrustStoreConfiguration getTrustStoreConfiguration()
getTrustStoreConfiguration in interface org.mule.runtime.api.tls.TlsContextFactoryCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.