public abstract class

CertStoreSpi

extends Object
java.lang.Object
   ↳ java.security.cert.CertStoreSpi

Class Overview

The Service Provider Interface (SPI) definition for the CertStore class to be implemented by security providers.

Summary

Public Constructors
CertStoreSpi(CertStoreParameters params)
Creates a new CertStoreSpi.
Public Methods
abstract Collection<? extends CRL> engineGetCRLs(CRLSelector selector)
Returns the list of CRLs for the specified CRLSelector from this instance.
abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector)
Returns the list of Certificates for the specified CertSelector from this instance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CertStoreSpi (CertStoreParameters params)

Creates a new CertStoreSpi.

Parameters
params the initialization parameters.
Throws
InvalidAlgorithmParameterException if the specified initialization parameters cannot be used to initialize this instance.

Public Methods

public abstract Collection<? extends CRL> engineGetCRLs (CRLSelector selector)

Returns the list of CRLs for the specified CRLSelector from 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.

public abstract Collection<? extends Certificate> engineGetCertificates (CertSelector selector)

Returns the list of Certificates for the specified CertSelector from 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.