public class X509StoreLDAPCertPairs extends X509StoreSpi
X509Store
for getting
cross certificates pairs from an LDAP directory.X509Store
Constructor and Description |
---|
X509StoreLDAPCertPairs() |
Modifier and Type | Method and Description |
---|---|
Collection |
engineGetMatches(org.bouncycastle.util.Selector selector)
Returns a collection of matching cross certificate pairs from the LDAP
location.
|
void |
engineInit(X509StoreParameters parameters)
Initializes this LDAP cross certificate pair store implementation.
|
public void engineInit(X509StoreParameters parameters)
engineInit
in class X509StoreSpi
parameters
- X509LDAPCertStoreParameters
.IllegalArgumentException
- if params
is not an instance of
X509LDAPCertStoreParameters
.public Collection engineGetMatches(org.bouncycastle.util.Selector selector) throws org.bouncycastle.util.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 X509StoreSpi
selector
- The selector to use for finding.org.bouncycastle.util.StoreException
- if an exception occurs while searching.Copyright © 2017 BouncyCastle.org. All rights reserved.