public abstract class CertificateStore
extends java.lang.Object
CertificateStore provides certificates to the toolkit.| Constructor and Description |
|---|
CertificateStore() |
| Modifier and Type | Method and Description |
|---|---|
CertificateSet |
find(java.security.Principal dn)
Returns all certificates for the entity specified in
dn. |
CertificateSet |
findCerts(GeneralName location)
Returns all certificates for the entity specified in
location. |
abstract CertificateSet |
findCerts(java.security.Principal dn)
Returns all certificates for the entity specified in
dn. |
public CertificateSet find(java.security.Principal dn)
dn. If
no certificate is found, this method returns null. This
simply calls findCerts(java.security.Principal) and discards any exceptions.dn - the distinguished name of the key ownerdn, or
null if no certificates for dn are
found in this CertificateStorepublic abstract CertificateSet findCerts(java.security.Principal dn) throws CertificationException
dn. If
no certificate is found, this method returns null.
If an Exception occurs finding the certificates, a
CertificationException is thrown.dn - the distinguished name of the key ownerdn, or
null if no certificates for dn are
found in this CertificateStoreCertificationException - if there is a problem finding the certificates.public CertificateSet findCerts(GeneralName location) throws CertificationException
location. If
no certificate is found, this method returns null.
If an Exception occurs finding the certificates, a
CertificationException is thrown.location - The GeneralName which represents the location of the certificateslocation, or
null if no certificates for location are
found in this CertificateStoreCertificationException - if there is a problem finding the certificates.