Class OpensslCRLStoreSpi
- java.lang.Object
-
- java.security.cert.CertStoreSpi
-
- eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
-
- eu.emi.security.authn.x509.helpers.crl.PlainCRLStoreSpi
-
- eu.emi.security.authn.x509.helpers.crl.OpensslCRLStoreSpi
-
public class OpensslCRLStoreSpi extends PlainCRLStoreSpi
Implementation of the CRL store which uses CRLs from a single directory in OpenSSL format. Each CRL should be stored in a file named HASH.rNUM, where HASH is an 8 digit hex number, with 8 least significant digits of the MD5 hash of the CRL issuer subject in DER format. The NUM must be a number, starting from 0.This class is extending the
PlainCRLStoreSpi
and restricts the CRLs which are loaded.- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CRL_WILDCARD
-
Fields inherited from class eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
factory, observers, params, updateInterval
-
-
Constructor Summary
Constructors Constructor Description OpensslCRLStoreSpi(java.lang.String path, long crlUpdateInterval, java.util.Timer t, ObserversHandler observers, boolean openssl1Mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.security.cert.X509CRL
reloadCRL(java.net.URL location)
Tries to load a CRL-
Methods inherited from class eu.emi.security.authn.x509.helpers.crl.PlainCRLStoreSpi
addCRL, dispose, getCRLForIssuer, getCRLWithMatcher, getLocations, getUpdateInterval, loadCRL, setUpdateInterval, start
-
Methods inherited from class eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
engineGetCertificates, engineGetCRLs, notifyObservers
-
-
-
-
Field Detail
-
CRL_WILDCARD
public static final java.lang.String CRL_WILDCARD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpensslCRLStoreSpi
public OpensslCRLStoreSpi(java.lang.String path, long crlUpdateInterval, java.util.Timer t, ObserversHandler observers, boolean openssl1Mode) throws java.security.InvalidAlgorithmParameterException
- Throws:
java.security.InvalidAlgorithmParameterException
-
-
Method Detail
-
reloadCRL
protected java.security.cert.X509CRL reloadCRL(java.net.URL location)
Tries to load a CRL- Overrides:
reloadCRL
in classPlainCRLStoreSpi
-
-