org.bouncycastle.jce.provider

Class X509StoreLDAPCertPairs


public class X509StoreLDAPCertPairs
extends X509StoreSpi

A SPI implementation of Bouncy Castle X509Store for getting cross certificates pairs from an LDAP directory.
See Also:
X509Store

Constructor Summary

X509StoreLDAPCertPairs()

Method Summary

Collection
engineGetMatches(org.bouncycastle.util.Selector selector)
Returns a collection of matching cross certificate pairs from the LDAP location.
void
engineInit(X509StoreParameters parameters)
Initializes this LDAP cross certificate pair store implementation.

Methods inherited from class org.bouncycastle.x509.X509StoreSpi

engineGetMatches, engineInit

Constructor Details

X509StoreLDAPCertPairs

public X509StoreLDAPCertPairs()

Method Details

engineGetMatches

public Collection engineGetMatches(org.bouncycastle.util.Selector selector)
            throws org.bouncycastle.util.StoreException
Returns a collection of matching cross certificate pairs from the LDAP location.

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

The subject 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:
org.bouncycastle.util.StoreException - if an exception occurs while searching.

engineInit

public void engineInit(X509StoreParameters parameters)
Initializes this LDAP cross certificate pair store implementation.
Overrides:
engineInit in interface X509StoreSpi
Parameters:
parameters - X509LDAPCertStoreParameters.