|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.cert.CertStoreSpi
public abstract class CertStoreSpi
The service provider interface (SPI) for the 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 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |