org.bouncycastle.jce.provider
public class X509StoreLDAPCerts extends X509StoreSpi
X509Store for getting
certificates form a LDAP directory.
See Also: X509Store
| Constructor Summary | |
|---|---|
| X509StoreLDAPCerts() | |
| Method Summary | |
|---|---|
| Collection | engineGetMatches(Selector selector)
Returns a collection of matching certificates from the LDAP location.
|
| void | engineInit(X509StoreParameters params)
Initializes this LDAP cert store implementation.
|
X509CertStoreSelector. If
it is not an empty collection is returned.
The implementation searches only for CA certificates, if the method
java.security.cert.X509CertSelector#getBasicConstraints() is
greater or equal to 0. If it is -2 only end certificates are searched.
The subject and the serial number for end certificates 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.
Parameters: params X509LDAPCertStoreParameters.
Throws: IllegalArgumentException if params is not an instance of
X509LDAPCertStoreParameters.