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
ManifoldCFExceptionString[] getContents() throws ManifoldCFException
ManifoldCFExceptionString getDescription(String alias) throws ManifoldCFException
alias - is the alias name.ManifoldCFExceptionvoid importCertificate(String alias, InputStream certData) throws ManifoldCFException
alias - is the name of the certificate.certData - is the binary data for the certificate.ManifoldCFExceptionvoid remove(String alias) throws ManifoldCFException
alias - is the name of the certificate to remove.ManifoldCFExceptionString getString() throws ManifoldCFException
ManifoldCFExceptionCertificate getCertificate(String alias) throws ManifoldCFException
ManifoldCFExceptionvoid addCertificate(String alias, Certificate certificate) throws ManifoldCFException
ManifoldCFExceptionSSLSocketFactory getSecureSocketFactory() throws ManifoldCFException
ManifoldCFException