Class 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
    • 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 class PlainCRLStoreSpi