Class AbstractCRLStoreSPI
java.lang.Object
java.security.cert.CertStoreSpi
eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
- Direct Known Subclasses:
LazyOpensslCRLStoreSpi
,PlainCRLStoreSpi
Common code for
LazyOpensslCRLStoreSpi
and PlainCRLStoreSpi
.- Author:
- K. Benedyczak
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CertificateFactory
protected ObserversHandler
protected CRLParameters
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
dispose()
Collection<? extends Certificate>
engineGetCertificates
(CertSelector selector) Collection<? extends CRL>
engineGetCRLs
(CRLSelector selectorRaw) protected abstract Collection<X509CRL>
getCRLForIssuer
(X500Principal issuer) protected abstract Collection<X509CRL>
getCRLWithMatcher
(CRLSelector selectorRaw) protected void
notifyObservers
(String url, StoreUpdateListener.Severity level, Exception e) abstract void
setUpdateInterval
(long newInterval)
-
Field Details
-
observers
-
params
-
factory
-
updateInterval
protected long updateInterval
-
-
Constructor Details
-
AbstractCRLStoreSPI
public AbstractCRLStoreSPI(CRLParameters params, ObserversHandler observers) throws InvalidAlgorithmParameterException
-
-
Method Details
-
notifyObservers
-
engineGetCertificates
public Collection<? extends Certificate> engineGetCertificates(CertSelector selector) throws CertStoreException - Specified by:
engineGetCertificates
in classCertStoreSpi
- Throws:
CertStoreException
-
engineGetCRLs
- Specified by:
engineGetCRLs
in classCertStoreSpi
- Throws:
CertStoreException
-
getCRLForIssuer
-
getCRLWithMatcher
-
setUpdateInterval
public abstract void setUpdateInterval(long newInterval) -
dispose
public abstract void dispose()
-