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[] |
getSslTrustanchors() |
boolean |
isUseSslConf() |
static SslContextConf |
ofSslConf(SslConf ssl) |
void |
setSslHostnameVerifier(String sslHostnameVerifier) |
void |
setSslKeystore(FileOrBinary sslKeystore) |
void |
setSslKeystore(String sslKeystore) |
void |
setSslKeystorePassword(String sslKeystorePassword) |
void |
setSslStoreType(String sslStoreType) |
void |
setSslTrustanchors(FileOrBinary[] sslTrustanchors) |
void |
setSslTrustanchors(String sslTrustanchors) |
void |
setUseSslConf(boolean useSslConf) |
public static SslContextConf ofSslConf(SslConf ssl)
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[] getSslTrustanchors()
public void setSslTrustanchors(String sslTrustanchors)
public void setSslTrustanchors(FileOrBinary[] sslTrustanchors)
public String getSslHostnameVerifier()
public void setSslHostnameVerifier(String sslHostnameVerifier)
public SSLContext getSslContext() throws ObjectCreationException
ObjectCreationExceptionpublic SSLSocketFactory getSslSocketFactory() throws ObjectCreationException
ObjectCreationExceptionpublic HostnameVerifier buildHostnameVerifier() throws ObjectCreationException
ObjectCreationExceptionCopyright © 2023. All rights reserved.