eu.emi.security.authn.x509.helpers.crl
Class OpensslCRLStoreSpi

java.lang.Object
  extended by java.security.cert.CertStoreSpi
      extended by eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
          extended by eu.emi.security.authn.x509.helpers.crl.PlainCRLStoreSpi
              extended by 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
static String CRL_WILDCARD
           
 
Fields inherited from class eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
factory, observers, params, updateInterval
 
Constructor Summary
OpensslCRLStoreSpi(String path, long crlUpdateInterval, Timer t, ObserversHandler observers, boolean openssl1Mode)
           
 
Method Summary
protected  X509CRL reloadCRL(URL location)
          Tries to load a CRL
 
Methods inherited from class eu.emi.security.authn.x509.helpers.crl.PlainCRLStoreSpi
addCRL, dispose, getCRLForIssuer, getLocations, getUpdateInterval, loadCRL, setUpdateInterval, start
 
Methods inherited from class eu.emi.security.authn.x509.helpers.crl.AbstractCRLStoreSPI
engineGetCertificates, engineGetCRLs, notifyObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRL_WILDCARD

public static final String CRL_WILDCARD
See Also:
Constant Field Values
Constructor Detail

OpensslCRLStoreSpi

public OpensslCRLStoreSpi(String path,
                          long crlUpdateInterval,
                          Timer t,
                          ObserversHandler observers,
                          boolean openssl1Mode)
                   throws InvalidAlgorithmParameterException
Throws:
InvalidAlgorithmParameterException
Method Detail

reloadCRL

protected X509CRL reloadCRL(URL location)
Tries to load a CRL

Overrides:
reloadCRL in class PlainCRLStoreSpi


Copyright © 2012-2014 European Middleware Initiative. All Rights Reserved.