|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IKeystoreManager
This interface describes a class that manages keys and certificates in a secure manner. It's built on top of the JDK 1.4+ JSSE integration, and provides all the necessary logic to work well within the ManifoldCF java environment.
| Field Summary | |
|---|---|
static java.lang.String |
_rcsid
|
| Method Summary | |
|---|---|
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. |
javax.net.ssl.SSLSocketFactory |
getSecureSocketFactory()
Build a secure socket factory based on this keystore. |
java.lang.String |
getString()
Convert to a base64 string. |
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. |
| Field Detail |
|---|
static final java.lang.String _rcsid
| Method Detail |
|---|
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.SSLSocketFactory getSecureSocketFactory()
throws ManifoldCFException
ManifoldCFException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||