Class AbstractCRLStoreSPI
- java.lang.Object
-
- java.security.cert.CertStoreSpi
-
- eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
-
- Direct Known Subclasses:
LazyOpensslCRLStoreSpi,PlainCRLStoreSpi
public abstract class AbstractCRLStoreSPI extends CertStoreSpi
Common code forLazyOpensslCRLStoreSpiandPlainCRLStoreSpi.- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description protected CertificateFactoryfactoryprotected ObserversHandlerobserversprotected CRLParametersparamsprotected longupdateInterval
-
Constructor Summary
Constructors Constructor Description AbstractCRLStoreSPI(CRLParameters params, ObserversHandler observers)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voiddispose()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 voidnotifyObservers(String url, StoreUpdateListener.Severity level, Exception e)abstract voidsetUpdateInterval(long newInterval)
-
-
-
Field Detail
-
observers
protected ObserversHandler observers
-
params
protected CRLParameters params
-
factory
protected final CertificateFactory factory
-
updateInterval
protected long updateInterval
-
-
Constructor Detail
-
AbstractCRLStoreSPI
public AbstractCRLStoreSPI(CRLParameters params, ObserversHandler observers) throws InvalidAlgorithmParameterException
-
-
Method Detail
-
notifyObservers
protected void notifyObservers(String url, StoreUpdateListener.Severity level, Exception e)
-
engineGetCertificates
public Collection<? extends Certificate> engineGetCertificates(CertSelector selector) throws CertStoreException
- Specified by:
engineGetCertificatesin classCertStoreSpi- Throws:
CertStoreException
-
engineGetCRLs
public Collection<? extends CRL> engineGetCRLs(CRLSelector selectorRaw) throws CertStoreException
- Specified by:
engineGetCRLsin classCertStoreSpi- Throws:
CertStoreException
-
getCRLForIssuer
protected abstract Collection<X509CRL> getCRLForIssuer(X500Principal issuer)
-
getCRLWithMatcher
protected abstract Collection<X509CRL> getCRLWithMatcher(CRLSelector selectorRaw)
-
setUpdateInterval
public abstract void setUpdateInterval(long newInterval)
-
dispose
public abstract void dispose()
-
-