public class LazyOpensslCRLStoreSpi extends AbstractCRLStoreSPI
This class is thread safe.
factory, observers, params, updateInterval
Constructor and Description |
---|
LazyOpensslCRLStoreSpi(java.lang.String path,
long crlUpdateInterval,
ObserversHandler observers,
boolean openssl1Mode)
Creates a new CRL store.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected java.util.Collection<java.security.cert.X509CRL> |
getCRLForIssuer(javax.security.auth.x500.X500Principal issuer) |
protected java.util.Collection<java.security.cert.X509CRL> |
getCRLWithMatcher(java.security.cert.CRLSelector selectorRaw) |
long |
getUpdateInterval() |
protected java.security.cert.X509CRL |
loadCRL(java.io.File file) |
protected java.security.cert.X509CRL |
reloadCRL(java.io.File location) |
void |
setUpdateInterval(long newInterval) |
engineGetCertificates, engineGetCRLs, notifyObservers
public LazyOpensslCRLStoreSpi(java.lang.String path, long crlUpdateInterval, ObserversHandler observers, boolean openssl1Mode) throws java.security.InvalidAlgorithmParameterException
path
- pathcrlUpdateInterval
- crl update intervalobservers
- observers handleropenssl1Mode
- openssl 1 modejava.security.InvalidAlgorithmParameterException
- invalid algorithm parameter exceptionprotected java.security.cert.X509CRL loadCRL(java.io.File file) throws java.io.IOException, java.security.cert.CRLException, java.net.URISyntaxException
java.io.IOException
java.security.cert.CRLException
java.net.URISyntaxException
public void setUpdateInterval(long newInterval)
setUpdateInterval
in class AbstractCRLStoreSPI
public long getUpdateInterval()
public void dispose()
dispose
in class AbstractCRLStoreSPI
protected java.security.cert.X509CRL reloadCRL(java.io.File location)
protected java.util.Collection<java.security.cert.X509CRL> getCRLForIssuer(javax.security.auth.x500.X500Principal issuer)
getCRLForIssuer
in class AbstractCRLStoreSPI
protected java.util.Collection<java.security.cert.X509CRL> getCRLWithMatcher(java.security.cert.CRLSelector selectorRaw)
getCRLWithMatcher
in class AbstractCRLStoreSPI