|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.stagent.cert.CertificateStore
public abstract class CertificateStore
Abstract base class for a certificate store implementation. It does not implement any specific certificate storage functions against a certificate repository implementation. Storage specific implementation should over ride this class to communicate with the underlying storage medium.
| Constructor Summary | |
|---|---|
CertificateStore()
|
|
| Method Summary | |
|---|---|
void |
add(java.util.Collection<java.security.cert.X509Certificate> certs)
Adds a collection of certificates to the store. |
abstract void |
add(java.security.cert.X509Certificate cert)
Adds a certificate to the store. |
abstract boolean |
contains(java.security.cert.X509Certificate cert)
Determines if a certificate exists in the certificate store. |
abstract java.util.Collection<java.security.cert.X509Certificate> |
getAllCertificates()
Gets all certificates in the store. |
java.util.Collection<java.security.cert.X509Certificate> |
getCertificates(javax.mail.internet.InternetAddress address)
Retrieves a collection of certificates for a given InternetAddress. |
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. |
abstract 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CertificateStore()
| Method Detail |
|---|
public abstract boolean contains(java.security.cert.X509Certificate cert)
contains in interface X509Storecert - The certificate to search for.
public abstract void add(java.security.cert.X509Certificate cert)
add in interface X509Storecert - The certificate to add to the store.public abstract void remove(java.security.cert.X509Certificate cert)
remove in interface X509Storecert - The certificate to remove from the store.public java.util.Collection<java.security.cert.X509Certificate> getCertificates(java.lang.String subjectName)
getCertificates in interface X509StoresubjectName - The subject name to search for.
public void add(java.util.Collection<java.security.cert.X509Certificate> certs)
add in interface X509Storecerts - The certificates to add to the store.public void remove(java.util.Collection<java.security.cert.X509Certificate> certs)
remove in interface X509Storecerts - The certificates to remove from the store.public void remove(java.lang.String subjectName)
remove in interface X509StoresubjectName - The subject name of the certificates to remove.public void update(java.security.cert.X509Certificate cert)
update in interface X509Storecert - Updates an existing certificate in the store.public void update(java.util.Collection<java.security.cert.X509Certificate> certs)
update in interface X509Storepublic abstract java.util.Collection<java.security.cert.X509Certificate> getAllCertificates()
getAllCertificates in interface X509Storepublic java.util.Collection<java.security.cert.X509Certificate> getCertificates(javax.mail.internet.InternetAddress address)
getCertificates in interface CertificateResolveraddress - The InternetAddress used to lookup the certificate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||