|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface X509Store
Responsible for maintaining and managing a certificate repository.
| Method Summary | |
|---|---|
void |
add(java.util.Collection<java.security.cert.X509Certificate> certs)
Adds a collection of certificates to the store. |
void |
add(java.security.cert.X509Certificate cert)
Adds a certificate to the store. |
boolean |
contains(java.security.cert.X509Certificate cert)
Determines if a certificate exists in the certificate store. |
java.util.Collection<java.security.cert.X509Certificate> |
getAllCertificates()
Gets all certificates in the store. |
java.util.Collection<java.security.cert.X509Certificate> |
getCertificates(java.lang.String subjectName)
Gets a collection of certificates where the cert's E or CN field match the subject name. |
void |
remove(java.util.Collection<java.security.cert.X509Certificate> certs)
Removes a collection certificates from the store. |
void |
remove(java.lang.String subjectName)
Removes certificates from the store matching the subject name. |
void |
remove(java.security.cert.X509Certificate cert)
Removes a certificate from the store. |
void |
update(java.util.Collection<java.security.cert.X509Certificate> certs)
Updates a collection of existing certificate in the store with a new representations of the certificates. |
void |
update(java.security.cert.X509Certificate cert)
Updates an existing certificate in the store with a new representation of the certificate. |
| Method Detail |
|---|
java.util.Collection<java.security.cert.X509Certificate> getCertificates(java.lang.String subjectName)
subjectName - The subject name to search for.
boolean contains(java.security.cert.X509Certificate cert)
cert - The certificate to search for.
void add(java.security.cert.X509Certificate cert)
cert - The certificate to add to the store.void add(java.util.Collection<java.security.cert.X509Certificate> certs)
certs - The certificates to add to the store.void remove(java.security.cert.X509Certificate cert)
cert - The certificate to remove from the store.void remove(java.util.Collection<java.security.cert.X509Certificate> certs)
certs - The certificates to remove from the store.void remove(java.lang.String subjectName)
subjectName - The subject name of the certificates to remove.void update(java.security.cert.X509Certificate cert)
cert - Updates an existing certificate in the store.void update(java.util.Collection<java.security.cert.X509Certificate> certs)
cert - Updates a collection of existing certificates in the store.java.util.Collection<java.security.cert.X509Certificate> getAllCertificates()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||