public class SSLHostConfig extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SSLHostConfig.CertificateVerification |
static class |
SSLHostConfig.Type |
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_SSL_HOST_NAME |
protected static Set<String> |
SSL_PROTO_ALL |
Constructor and Description |
---|
SSLHostConfig() |
protected static final String DEFAULT_SSL_HOST_NAME
public Long getOpenSslContext()
public void setOpenSslContext(Long openSslContext)
public void setConfigType(SSLHostConfig.Type configType)
public String[] getEnabledProtocols()
SSLUtil.getEnabledProtocols()
public String[] getEnabledCiphers()
SSLUtil.getEnabledCiphers()
public void addCertificate(SSLHostConfigCertificate certificate)
public Set<SSLHostConfigCertificate> getCertificates()
public Set<SSLHostConfigCertificate> getCertificates(boolean createDefaultIfEmpty)
public void setCertificateKeyPassword(String certificateKeyPassword)
public void setCertificateRevocationListFile(String certificateRevocationListFile)
public String getCertificateRevocationListFile()
public void setCertificateVerification(String certificateVerification)
public SSLHostConfig.CertificateVerification getCertificateVerification()
public void setCertificateVerificationDepth(int certificateVerificationDepth)
public int getCertificateVerificationDepth()
public void setCiphers(String ciphersList)
ciphersList
- The new cipher configuration in OpenSSL or JSSE formatpublic String getCiphers()
public LinkedHashSet<Cipher> getCipherList()
public List<String> getJsseCipherNames()
public void setHonorCipherOrder(boolean honorCipherOrder)
public boolean getHonorCipherOrder()
public void setHostName(String hostName)
public String getHostName()
public void setProtocols(String input)
public void setCertificateKeyAlias(String certificateKeyAlias)
public void setCertificateKeystoreFile(String certificateKeystoreFile)
public void setCertificateKeystorePassword(String certificateKeystorePassword)
public void setCertificateKeystoreProvider(String certificateKeystoreProvider)
public void setCertificateKeystoreType(String certificateKeystoreType)
public void setKeyManagerAlgorithm(String keyManagerAlgorithm)
public String getKeyManagerAlgorithm()
public void setSessionCacheSize(int sessionCacheSize)
public int getSessionCacheSize()
public void setSessionTimeout(int sessionTimeout)
public int getSessionTimeout()
public void setSslProtocol(String sslProtocol)
public String getSslProtocol()
public void setTrustManagerClassName(String trustManagerClassName)
public String getTrustManagerClassName()
public void setTruststoreAlgorithm(String truststoreAlgorithm)
public String getTruststoreAlgorithm()
public void setTruststoreFile(String truststoreFile)
public String getTruststoreFile()
public void setTruststorePassword(String truststorePassword)
public String getTruststorePassword()
public void setTruststoreProvider(String truststoreProvider)
public String getTruststoreProvider()
public void setTruststoreType(String truststoreType)
public String getTruststoreType()
public void setTrustStore(KeyStore truststore)
public KeyStore getTruststore() throws IOException
IOException
public void setCertificateChainFile(String certificateChainFile)
public void setCertificateFile(String certificateFile)
public void setCertificateKeyFile(String certificateKeyFile)
public void setCertificateRevocationListPath(String certificateRevocationListPath)
public String getCertificateRevocationListPath()
public void setCaCertificateFile(String caCertificateFile)
public String getCaCertificateFile()
public void setCaCertificatePath(String caCertificatePath)
public String getCaCertificatePath()
public void setDisableCompression(boolean disableCompression)
public boolean getDisableCompression()
public void setDisableSessionTickets(boolean disableSessionTickets)
public boolean getDisableSessionTickets()
public void setInsecureRenegotiation(boolean insecureRenegotiation)
public boolean getInsecureRenegotiation()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.