Package org.bouncycastle.jce.provider
Class CertStoreCollectionSpi
- java.lang.Object
-
- java.security.cert.CertStoreSpi
-
- org.bouncycastle.jce.provider.CertStoreCollectionSpi
-
public class CertStoreCollectionSpi extends CertStoreSpi
-
-
Constructor Summary
Constructors Constructor Description CertStoreCollectionSpi(CertStoreParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionengineGetCertificates(CertSelector selector)Returns the list ofCertificates for the specifiedCertSelectorfrom this instance.CollectionengineGetCRLs(CRLSelector selector)Returns the list ofCRLs for the specifiedCRLSelectorfrom this instance.
-
-
-
Constructor Detail
-
CertStoreCollectionSpi
public CertStoreCollectionSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException
-
-
Method Detail
-
engineGetCertificates
public Collection engineGetCertificates(CertSelector selector) throws CertStoreException
Description copied from class:CertStoreSpiReturns the list ofCertificates for the specifiedCertSelectorfrom this instance.- Specified by:
engineGetCertificatesin classCertStoreSpi- Parameters:
selector- the selector containing the criteria to search for certificates in this instance.- Returns:
- the list of
Certificates that match the criteria of the specified selector. - Throws:
CertStoreException- if error(s) occur.
-
engineGetCRLs
public Collection engineGetCRLs(CRLSelector selector) throws CertStoreException
Description copied from class:CertStoreSpiReturns the list ofCRLs for the specifiedCRLSelectorfrom this instance.- Specified by:
engineGetCRLsin classCertStoreSpi- Parameters:
selector- the selector containing the criteria to search for certificate revocation lists in instance.- Returns:
- the list of
CRLs that match the criteria of the specified selector - Throws:
CertStoreException- if error(s) occur.
-
-