public interface IKeystoreManager
Modifier and Type | Method and Description |
---|---|
void |
addCertificate(String alias,
Certificate certificate)
Add a certificate to the keystore.
|
Certificate |
getCertificate(String alias)
Read a certificate from the keystore.
|
String[] |
getContents()
Grab a list of the aliases in the key store.
|
String |
getDescription(String alias)
For an alias, get some descriptive information from the object in the keystore.
|
String |
getHashString()
Get a unique hashstring for this keystore.
|
SSLSocketFactory |
getSecureSocketFactory()
Build a secure socket factory based on this keystore.
|
String |
getString()
Convert to a base64 string.
|
void |
importCertificate(String alias,
InputStream certData)
Import a certificate or key into the list.
|
void |
remove(String alias)
Remove a certificate.
|
static final String _rcsid
String getHashString() throws ManifoldCFException
ManifoldCFException
String[] getContents() throws ManifoldCFException
ManifoldCFException
String getDescription(String alias) throws ManifoldCFException
alias
- is the alias name.ManifoldCFException
void importCertificate(String alias, InputStream certData) throws ManifoldCFException
alias
- is the name of the certificate.certData
- is the binary data for the certificate.ManifoldCFException
void remove(String alias) throws ManifoldCFException
alias
- is the name of the certificate to remove.ManifoldCFException
String getString() throws ManifoldCFException
ManifoldCFException
Certificate getCertificate(String alias) throws ManifoldCFException
ManifoldCFException
void addCertificate(String alias, Certificate certificate) throws ManifoldCFException
ManifoldCFException
SSLSocketFactory getSecureSocketFactory() throws ManifoldCFException
ManifoldCFException