org.bouncycastle.jce.provider

Class X509StoreLDAPCRLs


public class X509StoreLDAPCRLs
extends X509StoreSpi

A SPI implementation of Bouncy Castle X509Store for getting certificate revocation lists from an LDAP directory.
See Also:
X509Store

Constructor Summary

X509StoreLDAPCRLs()

Method Summary

Collection
engineGetMatches(Selector selector)
Returns a collection of matching CRLs from the LDAP location.
void
engineInit(X509StoreParameters params)
Initializes this LDAP CRL store implementation.

Methods inherited from class org.bouncycastle.x509.X509StoreSpi

engineGetMatches, engineInit

Constructor Details

X509StoreLDAPCRLs

public X509StoreLDAPCRLs()

Method Details

engineGetMatches

public Collection engineGetMatches(Selector selector)
            throws StoreException
Returns a collection of matching CRLs from the LDAP location.

The selector must be a of type X509CRLStoreSelector. If it is not an empty collection is returned.

The issuer should be a reasonable criteria for a selector.

Overrides:
engineGetMatches in interface X509StoreSpi
Parameters:
selector - The selector to use for finding.
Returns:
A collection with the matches.
Throws:
StoreException - if an exception occurs while searching.

engineInit

public void engineInit(X509StoreParameters params)
Initializes this LDAP CRL store implementation.
Overrides:
engineInit in interface X509StoreSpi
Parameters:
params - X509LDAPCertStoreParameters.