public interface X509Store
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<X509Certificate> certs)
Adds a collection of certificates to the store.
|
void |
add(X509Certificate cert)
Adds a certificate to the store.
|
boolean |
contains(X509Certificate cert)
Determines if a certificate exists in the certificate store.
|
Collection<X509Certificate> |
getAllCertificates()
Gets all certificates in the store.
|
Collection<X509Certificate> |
getCertificates(String subjectName)
Gets a collection of certificates where the cert's E or CN field match the subject name.
|
void |
remove(Collection<X509Certificate> certs)
Removes a collection certificates from the store.
|
void |
remove(String subjectName)
Removes certificates from the store matching the subject name.
|
void |
remove(X509Certificate cert)
Removes a certificate from the store.
|
void |
update(Collection<X509Certificate> certs)
Updates a collection of existing certificate in the store with a new representations of the certificates.
|
void |
update(X509Certificate cert)
Updates an existing certificate in the store with a new representation of the certificate.
|
Collection<X509Certificate> getCertificates(String subjectName)
subjectName - The subject name to search for.boolean contains(X509Certificate cert)
cert - The certificate to search for.void add(X509Certificate cert)
cert - The certificate to add to the store.void add(Collection<X509Certificate> certs)
certs - The certificates to add to the store.void remove(X509Certificate cert)
cert - The certificate to remove from the store.void remove(Collection<X509Certificate> certs)
certs - The certificates to remove from the store.void remove(String subjectName)
subjectName - The subject name of the certificates to remove.void update(X509Certificate cert)
cert - Updates an existing certificate in the store.void update(Collection<X509Certificate> certs)
cert - Updates a collection of existing certificates in the store.Collection<X509Certificate> getAllCertificates()
Copyright © 2010-2016 NHIN Direct. All Rights Reserved.