Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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 CRL s for the specified CRLSelector from this instance.
abstract Collection <? extends  Certificate > engineGetCertificates ( CertSelector selector)
Returns the list of Certificate s for the specified CertSelector from this instance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CertStoreSpi ( CertStoreParameters params)

Added in API level 1

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)

Added in API level 1

Returns the list of CRL s 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 CRL s that match the criteria of the specified selector
Throws
CertStoreException if error(s) occur.

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

Added in API level 1

Returns the list of Certificate s 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 Certificate s that match the criteria of the specified selector.
Throws
CertStoreException if error(s) occur.