Package java.security.cert
Class CertStoreSpi
- java.lang.Object
-
- java.security.cert.CertStoreSpi
-
- Direct Known Subclasses:
CertStoreCollectionSpi
public abstract class CertStoreSpi extends Object
The Service Provider Interface (SPI) definition for theCertStoreclass to be implemented by security providers.
-
-
Constructor Summary
Constructors Constructor Description CertStoreSpi(CertStoreParameters params)Creates a newCertStoreSpi.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Collection<? extends Certificate>engineGetCertificates(CertSelector selector)Returns the list ofCertificates for the specifiedCertSelectorfrom this instance.abstract Collection<? extends CRL>engineGetCRLs(CRLSelector selector)Returns the list ofCRLs for the specifiedCRLSelectorfrom this instance.
-
-
-
Constructor Detail
-
CertStoreSpi
public CertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException
Creates a newCertStoreSpi.- Parameters:
params- the initialization parameters.- Throws:
InvalidAlgorithmParameterException- if the specified initialization parameters cannot be used to initialize this instance.
-
-
Method Detail
-
engineGetCertificates
public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) throws CertStoreException
Returns the list ofCertificates for the specifiedCertSelectorfrom this instance.- 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 abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector) throws CertStoreException
Returns the list ofCRLs for the specifiedCRLSelectorfrom this instance.- 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.
-
-