public interface IKeystoreManager extends ISSLSocketFactoryProducer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
Modifier and Type | Method and Description |
---|---|
void |
addCertificate(java.lang.String alias,
java.security.cert.Certificate certificate)
Add a certificate to the keystore.
|
java.security.cert.Certificate |
getCertificate(java.lang.String alias)
Read a certificate from the keystore.
|
java.lang.String[] |
getContents()
Grab a list of the aliases in the key store.
|
java.lang.String |
getDescription(java.lang.String alias)
For an alias, get some descriptive information from the object in the keystore.
|
java.lang.String |
getHashString()
Get a unique hashstring for this keystore.
|
java.lang.String |
getString()
Convert to a base64 string.
|
javax.net.ssl.TrustManager[] |
getTrustManagers()
Get the trust stores for this keystore manager.
|
void |
importCertificate(java.lang.String alias,
java.io.InputStream certData)
Import a certificate or key into the list.
|
void |
remove(java.lang.String alias)
Remove a certificate.
|
getSecureSocketFactory
static final java.lang.String _rcsid
java.lang.String getHashString() throws ManifoldCFException
ManifoldCFException
java.lang.String[] getContents() throws ManifoldCFException
ManifoldCFException
java.lang.String getDescription(java.lang.String alias) throws ManifoldCFException
alias
- is the alias name.ManifoldCFException
void importCertificate(java.lang.String alias, java.io.InputStream certData) throws ManifoldCFException
alias
- is the name of the certificate.certData
- is the binary data for the certificate.ManifoldCFException
void remove(java.lang.String alias) throws ManifoldCFException
alias
- is the name of the certificate to remove.ManifoldCFException
java.lang.String getString() throws ManifoldCFException
ManifoldCFException
java.security.cert.Certificate getCertificate(java.lang.String alias) throws ManifoldCFException
ManifoldCFException
void addCertificate(java.lang.String alias, java.security.cert.Certificate certificate) throws ManifoldCFException
ManifoldCFException
javax.net.ssl.TrustManager[] getTrustManagers() throws ManifoldCFException
ManifoldCFException