public abstract class CertStoreSpi extends Object
CertStore class to be implemented by security providers.| Constructor and Description |
|---|
CertStoreSpi(CertStoreParameters params)
Creates a new
CertStoreSpi. |
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<? extends Certificate> |
engineGetCertificates(CertSelector selector)
Returns the list of
Certificates for the specified CertSelector from this instance. |
abstract Collection<? extends CRL> |
engineGetCRLs(CRLSelector selector)
Returns the list of
CRLs for the specified CRLSelector
from this instance. |
public CertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException
CertStoreSpi.params - the initialization parameters.InvalidAlgorithmParameterException - if the specified initialization parameters cannot be used to
initialize this instance.public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) throws CertStoreException
Certificates for the specified CertSelector from this instance.selector - the selector containing the criteria to search for
certificates in this instance.Certificates that match the criteria of the
specified selector.CertStoreException - if error(s) occur.public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector) throws CertStoreException
CRLs for the specified CRLSelector
from this instance.selector - the selector containing the criteria to search for certificate
revocation lists in instance.CRLs that match the criteria of the specified
selectorCertStoreException - if error(s) occur.