public class CapiCS extends CertificateStore
CapiCertificateStore is a CertificateStore that
can be used to look up certificates in CAPI when performing certificate
validation.| Constructor and Description |
|---|
CapiCS()
The constructor for the CapiCertificateStore.
|
CapiCS(java.lang.String[] searchStores)
This constructor allows the CapiCS to be configured to search using
specific certificate stores in CAPI.
|
| Modifier and Type | Method and Description |
|---|---|
CertificateSet |
findCerts(java.security.Principal dn)
Look for certificates containing the specified DN in CAPI.
|
find, findCertspublic CapiCS()
public CapiCS(java.lang.String[] searchStores)
throws CapiException
searchStores - The list of Capi stores to searchCapiException - If null is passed in, or the array of
Search stores is empty.public CertificateSet findCerts(java.security.Principal dn) throws CertificationException
findCerts in class CertificateStoredn - 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.