Class CrlDbCertStatusStore

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class CrlDbCertStatusStore
    extends DbCertStatusStore
    OcspStore for CRLs. Note that the CRLs will be imported to XiPKI OCSP database.
    Since:
    2.2.0
    Author:
    Lijun Liao (xipki)
    • Constructor Detail

      • CrlDbCertStatusStore

        public CrlDbCertStatusStore()
    • Method Detail

      • init

        public void init​(Map<String,​?> sourceConf,
                         org.xipki.datasource.DataSourceWrapper datasource)
                  throws org.xipki.ocsp.api.OcspStoreException
        Initialize the store.
        Overrides:
        init in class DbCertStatusStore
        Parameters:
        sourceConf - the store source configuration. It contains following key-value pairs:
        • dir: required

          Directory of the CRL resources.

        • sqlBatchCommit:

          Number of SQL queries before next commit, default to be 1000.

        • ignoreExpiredCrls:

          Whether expired CRLs are ignored, default to true.

        datasource - DataSource.
        Throws:
        org.xipki.ocsp.api.OcspStoreException
      • isIgnoreExpiredCrls

        protected boolean isIgnoreExpiredCrls()
        Overrides:
        isIgnoreExpiredCrls in class org.xipki.ocsp.api.OcspStore