Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.45
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.jce.provider
Class X509LDAPCertStoreSpi

    java.lang.Object
      java.security.cert.CertStoreSpi
          org.bouncycastle.jce.provider.X509LDAPCertStoreSpi

    public class X509LDAPCertStoreSpi

extends java.security.cert.CertStoreSpi

This is a general purpose implementation to get X.509 certificates and CRLs from a LDAP location.

At first a search is performed in the ldap*AttributeNames of the `X509LDAPCertStoreParameters` with the given information of the subject (for all kind of certificates) or issuer (for CRLs), respectively, if a X509CertSelector is given with that details. For CRLs, CA certificates and cross certificates a coarse search is made only for entries with that content to get more possibly matchign results.

Constructor Summary
`X509LDAPCertStoreSpi(java.security.cert.CertStoreParameters params)`

Method Summary
`java.util.Collection` | `engineGetCertificates(java.security.cert.CertSelector selector)`
`java.util.Collection` | `engineGetCRLs(java.security.cert.CRLSelector selector)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### X509LDAPCertStoreSpi

    public X509LDAPCertStoreSpi(java.security.cert.CertStoreParameters params)
                         throws java.security.InvalidAlgorithmParameterException

Throws:
  `java.security.InvalidAlgorithmParameterException`

Method Detail

### engineGetCertificates

    public java.util.Collection engineGetCertificates(java.security.cert.CertSelector selector)
                                               throws java.security.cert.CertStoreException

  Specified by:
    `engineGetCertificates` in class `java.security.cert.CertStoreSpi`
  Throws:
    `java.security.cert.CertStoreException`

### engineGetCRLs

    public java.util.Collection engineGetCRLs(java.security.cert.CRLSelector selector)
                                       throws java.security.cert.CertStoreException

  Specified by:
    `engineGetCRLs` in class `java.security.cert.CertStoreSpi`
  Throws:
    `java.security.cert.CertStoreException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.45
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD