java.security.cert
public abstract class CertStoreSpi extends Object
Providers wishing to implement a CertStore must subclass this class, implementing all the abstract methods. Providers may also implement the {@link CertStoreParameters} interface, if they require parameters.
Since: 1.4
See Also: CertStore CollectionCertStoreParameters LDAPCertStoreParameters
Constructor Summary | |
---|---|
CertStoreSpi(CertStoreParameters params)
Creates a new CertStoreSpi.
|
Method Summary | |
---|---|
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.
|
Parameters: params The parameters to initialize this instance with, or null if no parameters are required.
Throws: InvalidAlgorithmParameterException If the specified parameters are inappropriate for this class.
Parameters: selector The CertSelector to filter certificates.
Returns: A (non-null) collection of certificates.
Throws: CertStoreException If the certificates cannot be retrieved.
Parameters: selector The CRLSelector to filter certificate revocation lists.
Returns: A (non-null) collection of certificate revocation list.
Throws: CertStoreException If the CRLs cannot be retrieved.