Top Description Fields Constructors Methods
org.bouncycastle.jce.provider

public Class X509StoreLDAPCertPairs

extends X509StoreSpi
Class Inheritance
Imports
java.util.Collection, .Collections, .HashSet, .Set, org.bouncycastle.jce.X509LDAPCertStoreParameters, org.bouncycastle.util.Selector, .StoreException, org.bouncycastle.x509.X509CertPairStoreSelector, .X509StoreParameters, .X509StoreSpi, org.bouncycastle.x509.util.LDAPStoreHelper

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

Field Summary

Modifier and TypeField and Description
private LDAPStoreHelper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Collection<E>

Returns:

A collection with the matches.
engineGetMatches
(Selector<T>
The selector to use for finding.
selector
)

Implements abstract org.bouncycastle.x509.X509StoreSpi.engineGetMatches.

Returns a collection of matching cross certificate pairs from the LDAP location.

public void
engineInit(X509StoreParameters
X509LDAPCertStoreParameters.
parameters
)

Implements abstract org.bouncycastle.x509.X509StoreSpi.engineInit.

Initializes this LDAP cross certificate pair store implementation.

Field Detail

helperback to summary
private LDAPStoreHelper helper

Constructor Detail

X509StoreLDAPCertPairsback to summary
public X509StoreLDAPCertPairs()

Method Detail

engineGetMatchesback to summary
public Collection<E> engineGetMatches(Selector<T> selector) throws StoreException

Implements abstract org.bouncycastle.x509.X509StoreSpi.engineGetMatches.

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.

Parameters
selector:Selector<T>

The selector to use for finding.

Returns:Collection<E>

A collection with the matches.

Exceptions
StoreException:
if an exception occurs while searching.
engineInitback to summary
public void engineInit(X509StoreParameters parameters)

Implements abstract org.bouncycastle.x509.X509StoreSpi.engineInit.

Initializes this LDAP cross certificate pair store implementation.

Parameters
parameters:X509StoreParameters

X509LDAPCertStoreParameters.

Exceptions
IllegalArgumentException:
if params is not an instance of X509LDAPCertStoreParameters.