public class SSLKeyStore extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
certPass |
protected String[] |
cipherSuites |
static String |
DEFAULT_KEYSTORE_TYPE |
protected String |
filePath |
protected String |
id |
protected InputStream |
inputStream |
protected String |
keystorePass |
protected String |
keystoreType |
protected String[] |
protocols |
protected KeyStore |
trustStore |
Constructor and Description |
---|
SSLKeyStore(String id,
String filePath,
String keystorePass,
String certPass) |
SSLKeyStore(String id,
String keystoreType,
String filePath,
String keystorePass,
String certPass) |
Modifier and Type | Method and Description |
---|---|
String |
getCertPass() |
String[] |
getCipherSuites() |
String |
getFilePath() |
String |
getId() |
InputStream |
getInputStream() |
String |
getKeystorePass() |
String |
getKeystoreType() |
String[] |
getProtocols() |
KeyStore |
getTrustStore() |
void |
init() |
void |
loadTrustStore() |
void |
setCipherSuites(String[] cipherSuites) |
void |
setFilePath(String filePath) |
void |
setKeystorePass(String keystorePass) |
void |
setProtocols(String[] protocols) |
public static final String DEFAULT_KEYSTORE_TYPE
protected final String id
protected final String keystoreType
protected String filePath
protected InputStream inputStream
protected String keystorePass
protected String certPass
protected KeyStore trustStore
protected String[] protocols
protected String[] cipherSuites
public String getId()
public String getKeystoreType()
public String getFilePath()
public void setFilePath(String filePath)
public String[] getProtocols()
public void setProtocols(String[] protocols)
public String[] getCipherSuites()
public void setCipherSuites(String[] cipherSuites)
public void init()
public InputStream getInputStream()
public String getKeystorePass()
public String getCertPass()
public void setKeystorePass(String keystorePass)
public void loadTrustStore()
public KeyStore getTrustStore()
Copyright © 2020. All rights reserved.