public class X509StoreLDAPAttrCerts
extends org.bouncycastle.x509.X509StoreSpi
X509Store
for getting
attribute certificates from an LDAP directory.X509Store
Constructor and Description |
---|
X509StoreLDAPAttrCerts() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
engineGetMatches(Selector selector)
Returns a collection of matching attribute certificates from the LDAP
location.
|
void |
engineInit(org.bouncycastle.x509.X509StoreParameters parameters)
Initializes this LDAP attribute cert store implementation.
|
public void engineInit(org.bouncycastle.x509.X509StoreParameters parameters)
engineInit
in class org.bouncycastle.x509.X509StoreSpi
parameters
- X509LDAPCertStoreParameters
.java.lang.IllegalArgumentException
- if params
is not an instance of
X509LDAPCertStoreParameters
.public java.util.Collection engineGetMatches(Selector selector) throws StoreException
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.
engineGetMatches
in class org.bouncycastle.x509.X509StoreSpi
selector
- The selector to use for finding.StoreException
- if an exception occurs while searching.