public class X509StoreLDAPCerts extends X509StoreSpi
X509Store for getting
certificates form a LDAP directory.X509Store| Modifier and Type | Field and Description |
|---|---|
private LDAPStoreHelper |
helper |
| Constructor and Description |
|---|
X509StoreLDAPCerts() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection |
engineGetMatches(Selector selector)
Returns a collection of matching certificates from the LDAP location.
|
void |
engineInit(X509StoreParameters params)
Initializes this LDAP cert store implementation.
|
private java.util.Collection |
getCertificatesFromCrossCertificatePairs(X509CertStoreSelector xselector) |
private LDAPStoreHelper helper
public void engineInit(X509StoreParameters params)
engineInit in class X509StoreSpiparams - X509LDAPCertStoreParameters.java.lang.IllegalArgumentException - if params is not an instance of
X509LDAPCertStoreParameters.public java.util.Collection engineGetMatches(Selector selector) throws StoreException
X509CertStoreSelector. If
it is not an empty collection is returned.
The implementation searches only for CA certificates, if the method
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.engineGetMatches in class X509StoreSpiselector - The selector to use for finding.StoreException - if an exception occurs while searching.private java.util.Collection getCertificatesFromCrossCertificatePairs(X509CertStoreSelector xselector) throws StoreException
StoreExceptionCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.