|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WriteableCertificateStorage
| Method Summary | |
|---|---|
java.lang.String |
addCert(byte[] cert,
boolean overwrite)
Adds or overwrites the specified certificate to the store. |
int |
addCert(java.lang.String label,
byte[] cert)
Adds the specified certificate to the store under the given label. |
java.lang.String |
getSubjectDN(java.lang.String label)
Returns the subject DN for the specified certificate label. |
int |
ocspCheck(java.lang.String uri,
byte[] certs)
Checks whether there is a revoked certificate in the chain. |
int |
ocspCheckCancel()
Cancels a check that has not yet completed for a revoked certificate in the chain. |
int |
removeCert(java.lang.String label)
Removes the specified certificate from the store. |
int |
updateCert(byte[] cert)
Updates the specified certificate to the store if it exists. |
| Method Detail |
|---|
java.lang.String addCert(byte[] cert,
boolean overwrite)
cert - byte array with certificate dataoverwrite - whether to overwrite an existing certificate
int addCert(java.lang.String label,
byte[] cert)
label - the label under which the certificate should be added to the storecert - byte array with certificate data
int removeCert(java.lang.String label)
label - the label under which the certificate is added to the store
int updateCert(byte[] cert)
cert - byte array with certificate data
java.lang.String getSubjectDN(java.lang.String label)
label - certificate label to be parsed for subject DN.
int ocspCheck(java.lang.String uri,
byte[] certs)
uri - OCSP server URIcerts - byte array with chain certificates data
int ocspCheckCancel()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||