public class

X509StoreLDAPAttrCerts

extends X509StoreSpi
java.lang.Object
   ↳ org.bouncycastle.x509.X509StoreSpi
     ↳ org.bouncycastle.jce.provider.X509StoreLDAPAttrCerts

Class Overview

A SPI implementation of Bouncy Castle X509Store for getting attribute certificates from an LDAP directory.

See Also

Summary

Public Constructors
X509StoreLDAPAttrCerts()
Public Methods
Collection engineGetMatches(Selector selector)
Returns a collection of matching attribute certificates from the LDAP location.
void engineInit(X509StoreParameters parameters)
Initializes this LDAP attribute cert store implementation.
[Expand]
Inherited Methods
From class org.bouncycastle.x509.X509StoreSpi
From class java.lang.Object

Public Constructors

public X509StoreLDAPAttrCerts ()

Public Methods

public Collection engineGetMatches (Selector selector)

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 The selector to use for finding.
Returns
  • A collection with the matches.
Throws
StoreException if an exception occurs while searching.

public void engineInit (X509StoreParameters parameters)

Initializes this LDAP attribute cert store implementation.

Parameters
parameters X509LDAPCertStoreParameters.
Throws
IllegalArgumentException if params is not an instance of X509LDAPCertStoreParameters.