public class X509StoreLDAPCertPairs
extends org.bouncycastle.x509.X509StoreSpi
X509Store
for getting
cross certificates pairs from an LDAP directory.X509Store
Constructor and Description |
---|
X509StoreLDAPCertPairs() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection |
engineGetMatches(Selector selector)
Returns a collection of matching cross certificate pairs from the LDAP
location.
|
void |
engineInit(org.bouncycastle.x509.X509StoreParameters parameters)
Initializes this LDAP cross certificate pair 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 X509CertPairStoreSelector
.
If it is not an empty collection is returned.
The subject should be a reasonable criteria for a selector.
engineGetMatches
in class org.bouncycastle.x509.X509StoreSpi
selector
- The selector to use for finding.StoreException
- if an exception occurs while searching.