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

public Class X509StoreLDAPAttrCerts

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

A SPI implementation of Bouncy Castle X509Store for getting attribute certificates 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 attribute certificates from the LDAP location.

public void
engineInit(X509StoreParameters
X509LDAPCertStoreParameters.
parameters
)

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

Initializes this LDAP attribute cert store implementation.

Field Detail

helperback to summary
private LDAPStoreHelper helper

Constructor Detail

X509StoreLDAPAttrCertsback to summary
public X509StoreLDAPAttrCerts()

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 attribute certificates from the LDAP location.

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

The subject and the serial number should be reasonable criterias 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 attribute cert store implementation.

Parameters
parameters:X509StoreParameters

X509LDAPCertStoreParameters.

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