|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.x509.X509StoreSpi
org.bouncycastle.jce.provider.X509StoreLDAPCerts
A SPI implementation of Bouncy Castle X509Store for getting certificates form a LDAP directory.
X509Store
Constructor Summary | |
X509StoreLDAPCerts()
|
Method Summary | |
java.util.Collection |
engineGetMatches(Selector selector)
Returns a collection of matching certificates from the LDAP location. |
void |
engineInit(org.bouncycastle.x509.X509StoreParameters params)
Initializes this LDAP cert store implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public X509StoreLDAPCerts()
Method Detail |
public void engineInit(org.bouncycastle.x509.X509StoreParameters params)
params
- 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 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.
selector
- The selector to use for finding.
StoreException
- if an exception occurs while searching.
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |