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, notifyObserverspublic 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.IOExceptionjava.security.cert.CRLExceptionjava.net.URISyntaxExceptionpublic void setUpdateInterval(long newInterval)
setUpdateInterval in class AbstractCRLStoreSPIpublic long getUpdateInterval()
public void dispose()
dispose in class AbstractCRLStoreSPIprotected 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 AbstractCRLStoreSPIprotected java.util.Collection<java.security.cert.X509CRL> getCRLWithMatcher(java.security.cert.CRLSelector selectorRaw)
getCRLWithMatcher in class AbstractCRLStoreSPI