public class SslContextConf extends Object
| Constructor and Description |
|---|
SslContextConf() |
| Modifier and Type | Method and Description |
|---|---|
HostnameVerifier |
buildHostnameVerifier() |
SSLContext |
getSslContext() |
String |
getSslHostnameVerifier() |
FileOrBinary |
getSslKeystore() |
String |
getSslKeystorePassword() |
SSLSocketFactory |
getSslSocketFactory() |
String |
getSslStoreType() |
FileOrBinary |
getSslTruststore() |
String |
getSslTruststorePassword() |
boolean |
isUseSslConf() |
void |
setSslHostnameVerifier(String sslHostnameVerifier) |
void |
setSslKeystore(FileOrBinary sslKeystore) |
void |
setSslKeystore(String sslKeystore) |
void |
setSslKeystorePassword(String sslKeystorePassword) |
void |
setSslStoreType(String sslStoreType) |
void |
setSslTruststore(FileOrBinary sslTruststore) |
void |
setSslTruststore(String sslTruststore) |
void |
setSslTruststorePassword(String sslTruststorePassword) |
void |
setUseSslConf(boolean useSslConf) |
public boolean isUseSslConf()
public void setUseSslConf(boolean useSslConf)
public String getSslStoreType()
public void setSslStoreType(String sslStoreType)
public FileOrBinary getSslKeystore()
public void setSslKeystore(String sslKeystore)
public void setSslKeystore(FileOrBinary sslKeystore)
public String getSslKeystorePassword()
public void setSslKeystorePassword(String sslKeystorePassword)
public FileOrBinary getSslTruststore()
public void setSslTruststore(String sslTruststore)
public void setSslTruststore(FileOrBinary sslTruststore)
public String getSslTruststorePassword()
public void setSslTruststorePassword(String sslTruststorePassword)
public String getSslHostnameVerifier()
public void setSslHostnameVerifier(String sslHostnameVerifier)
public SSLContext getSslContext() throws ObjectCreationException
ObjectCreationExceptionpublic SSLSocketFactory getSslSocketFactory() throws ObjectCreationException
ObjectCreationExceptionpublic HostnameVerifier buildHostnameVerifier() throws ObjectCreationException
ObjectCreationExceptionCopyright © 2019. All rights reserved.