public abstract class CertStoreSpi extends Object
CertStore class.
Providers wishing to implement a CertStore must subclass this
class, implementing all the abstract methods. Providers may also
implement the CertStoreParameters interface, if they require
parameters.
CertStore,
CollectionCertStoreParameters,
LDAPCertStoreParameters| Constructor and Description |
|---|
CertStoreSpi(CertStoreParameters params)
Creates a new CertStoreSpi.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<? extends Certificate> |
engineGetCertificates(CertSelector selector)
Get the certificates from this store, filtering them through the
specified CertSelector.
|
abstract Collection<? extends CRL> |
engineGetCRLs(CRLSelector selector)
Get the certificate revocation list from this store, filtering them
through the specified CRLSelector.
|
public CertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException
params - The parameters to initialize this instance with, or
null if no parameters are required.InvalidAlgorithmParameterException - If the specified
parameters are inappropriate for this class.public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector) throws CertStoreException
selector - The CertSelector to filter certificates.CertStoreException - If the certificates cannot be retrieved.public abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector) throws CertStoreException
selector - The CRLSelector to filter certificate revocation
lists.CertStoreException - If the CRLs cannot be retrieved.