public class SslConfig extends Object
| Constructor and Description |
|---|
SslConfig(String key,
String trust)
Create an instance of SslConfig.
|
| Modifier and Type | Method and Description |
|---|---|
Set<SslType> |
getAlgorithms()
Sets the algorithm
|
String |
getCertNickname()
Gets the nickname of the server certificate in the certificate database
|
int |
getHandshakeTimeout()
Gets the timeout within which there must be activity from the client
|
char[] |
getKeyPassword()
Gets the password of the keystore file
|
String |
getKeyStore()
Gets the location of the keystore file
|
char[] |
getTrustPassword()
Gets the password of the truststore file
|
String |
getTrustStore()
Gets the truststore file location
|
void |
setAlgorithms(Set<SslType> algorithms)
Sets the algorithm
|
void |
setCertNickname(String value)
Sets the certNickname
|
void |
setHandshakeTimeout(int timeoutMilliSeconds)
Sets the timeout within which there must be activity from the client
|
void |
setKeyPassword(char[] keyPassword)
Sets the password of the keystore file
|
void |
setKeyStore(String keyStore)
Sets the location of the keystore file
|
void |
setTrustPassword(char[] trustPassword)
Sets the password of the truststore file
|
void |
setTrustStore(String trustStore)
Sets the location of the truststore file
|
public void setKeyStore(String keyStore)
keyStore - The location of the keystore filepublic void setTrustStore(String trustStore)
trustStore - The location of the truststore filepublic void setKeyPassword(char[] keyPassword)
keyPassword - The password of the keystore filepublic void setTrustPassword(char[] trustPassword)
trustPassword - The password of the truststore filepublic void setHandshakeTimeout(int timeoutMilliSeconds)
timeoutMilliSeconds - The timeout in millisecondspublic void setAlgorithms(Set<SslType> algorithms)
algorithms - public String getKeyStore()
public String getTrustStore()
public char[] getKeyPassword()
public char[] getTrustPassword()
public int getHandshakeTimeout()
public String getCertNickname()
public void setCertNickname(String value)
Copyright © 2019. All rights reserved.