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.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
           
 
Constructor Summary
OpensslCRLStoreSpi(String path, long crlUpdateInterval, Timer t, ObserversHandler observers)
           
 
Method Summary
protected  void reloadCRLs(Collection<URL> locations)
          For all URLs tries to load a CRL
 
Methods inherited from class eu.emi.security.authn.x509.helpers.crl.PlainCRLStoreSpi
addCRL, dispose, engineGetCertificates, engineGetCRLs, getCRLForIssuer, getLocations, getUpdateInterval, loadCRL, notifyObservers, setUpdateInterval
 
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)
                   throws InvalidAlgorithmParameterException
Throws:
InvalidAlgorithmParameterException
Method Detail

reloadCRLs

protected void reloadCRLs(Collection<URL> locations)
For all URLs tries to load a CRL

Overrides:
reloadCRLs in class PlainCRLStoreSpi


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