public static class BenchmarkHttpClient.SslConf
extends org.xipki.util.ValidatableConf
| Constructor and Description |
|---|
SslConf() |
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.ssl.SslContext |
buildSslContext() |
String |
getKeystore() |
String |
getKeystorePassword() |
String |
getStoreType() |
String |
getTruststore() |
String |
getTruststorePassword() |
void |
setKeystore(String keystore) |
void |
setKeystorePassword(String keystorePassword) |
void |
setStoreType(String storeType) |
void |
setTruststore(String truststore) |
void |
setTruststorePassword(String truststorePassword) |
void |
validate() |
public String getStoreType()
public void setStoreType(String storeType)
public String getKeystore()
public void setKeystore(String keystore)
public String getKeystorePassword()
public void setKeystorePassword(String keystorePassword)
public String getTruststore()
public void setTruststore(String truststore)
public String getTruststorePassword()
public void setTruststorePassword(String truststorePassword)
public void validate()
throws org.xipki.util.InvalidConfException
validate in class org.xipki.util.ValidatableConforg.xipki.util.InvalidConfExceptionpublic io.netty.handler.ssl.SslContext buildSslContext()
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionCopyright © 2020. All rights reserved.