Package org.bouncycastle.jce.provider
Class X509LDAPCertStoreSpi
- java.lang.Object
-
- java.security.cert.CertStoreSpi
-
- org.bouncycastle.jce.provider.X509LDAPCertStoreSpi
-
public class X509LDAPCertStoreSpi extends CertStoreSpi
This is a general purpose implementation to get X.509 certificates and CRLs from a LDAP location.At first a search is performed in the ldap*AttributeNames of the
X509LDAPCertStoreParameters
with the given information of the subject (for all kind of certificates) or issuer (for CRLs), respectively, if a X509CertSelector is given with that details. For CRLs, CA certificates and cross certificates a coarse search is made only for entries with that content to get more possibly matching results.
-
-
Constructor Summary
Constructors Constructor Description X509LDAPCertStoreSpi(CertStoreParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
engineGetCertificates(CertSelector selector)
Collection
engineGetCRLs(CRLSelector selector)
-
-
-
Constructor Detail
-
X509LDAPCertStoreSpi
public X509LDAPCertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException
-
-
Method Detail
-
engineGetCertificates
public Collection engineGetCertificates(CertSelector selector) throws CertStoreException
- Specified by:
engineGetCertificates
in classCertStoreSpi
- Throws:
CertStoreException
-
engineGetCRLs
public Collection engineGetCRLs(CRLSelector selector) throws CertStoreException
- Specified by:
engineGetCRLs
in classCertStoreSpi
- Throws:
CertStoreException
-
-