Skip to content

Most visited

Recently visited

navigation
Added in API level 1

CertStoreSpi

public abstract class CertStoreSpi
extends Object

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


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.

Inherited methods

From class java.lang.Object

Public constructors

CertStoreSpi

Added in API level 1
CertStoreSpi (CertStoreParameters params)

Creates a new CertStoreSpi.

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

Public methods

engineGetCRLs

Added in API level 1
Collection<? extends CRL> engineGetCRLs (CRLSelector selector)

Returns the list of CRLs for the specified CRLSelector from this instance.

Parameters
selector CRLSelector: the selector containing the criteria to search for certificate revocation lists in instance.
Returns
Collection<? extends CRL> the list of CRLs that match the criteria of the specified selector
Throws
CertStoreException if error(s) occur.

engineGetCertificates

Added in API level 1
Collection<? extends Certificate> engineGetCertificates (CertSelector selector)

Returns the list of Certificates for the specified CertSelector from this instance.

Parameters
selector CertSelector: the selector containing the criteria to search for certificates in this instance.
Returns
Collection<? extends Certificate> the list of Certificates that match the criteria of the specified selector.
Throws
CertStoreException if error(s) occur.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.