public class LazyOpensslCRLStoreSpi extends AbstractCRLStoreSPI
This class is thread safe.
factory, observers, params, updateInterval
Constructor and Description |
---|
LazyOpensslCRLStoreSpi(String path,
long crlUpdateInterval,
ObserversHandler observers,
boolean openssl1Mode)
Creates a new CRL store.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected Collection<X509CRL> |
getCRLForIssuer(X500Principal issuer) |
protected Collection<X509CRL> |
getCRLWithMatcher(CRLSelector selectorRaw) |
long |
getUpdateInterval() |
protected X509CRL |
loadCRL(File file) |
protected X509CRL |
reloadCRL(File location) |
void |
setUpdateInterval(long newInterval) |
engineGetCertificates, engineGetCRLs, notifyObservers
public LazyOpensslCRLStoreSpi(String path, long crlUpdateInterval, ObserversHandler observers, boolean openssl1Mode) throws InvalidAlgorithmParameterException
path
- pathcrlUpdateInterval
- crl update intervalobservers
- observers handleropenssl1Mode
- openssl 1 modeInvalidAlgorithmParameterException
- invalid algorithm parameter exceptionprotected X509CRL loadCRL(File file) throws IOException, CRLException, URISyntaxException
public void setUpdateInterval(long newInterval)
setUpdateInterval
in class AbstractCRLStoreSPI
public long getUpdateInterval()
public void dispose()
dispose
in class AbstractCRLStoreSPI
protected Collection<X509CRL> getCRLForIssuer(X500Principal issuer)
getCRLForIssuer
in class AbstractCRLStoreSPI
protected Collection<X509CRL> getCRLWithMatcher(CRLSelector selectorRaw)
getCRLWithMatcher
in class AbstractCRLStoreSPI
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.