org.bouncycastle.jce.provider

Class 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 matchign results.

Constructor Summary

X509LDAPCertStoreSpi(CertStoreParameters params)

Method Summary

Collection
engineGetCRLs(CRLSelector selector)
Collection
engineGetCertificates(CertSelector selector)

Constructor Details

X509LDAPCertStoreSpi

public X509LDAPCertStoreSpi(CertStoreParameters params)
            throws InvalidAlgorithmParameterException

Method Details

engineGetCRLs

public Collection engineGetCRLs(CRLSelector selector)
            throws CertStoreException

engineGetCertificates

public Collection engineGetCertificates(CertSelector selector)
            throws CertStoreException