Class RevocationDataFreshCheckWithNullConstraint

java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlRFC>
eu.europa.esig.dss.validation.process.bbb.xcv.rfc.checks.AbstractRevocationFreshCheck
eu.europa.esig.dss.validation.process.bbb.xcv.rfc.checks.RevocationDataFreshCheckWithNullConstraint

public class RevocationDataFreshCheckWithNullConstraint extends AbstractRevocationFreshCheck
Checks if the revocation data is fresh against its ThisUpdate and NextUpdate time interval
  • Constructor Details

    • RevocationDataFreshCheckWithNullConstraint

      public RevocationDataFreshCheckWithNullConstraint(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.detailedreport.jaxb.XmlRFC result, eu.europa.esig.dss.diagnostic.RevocationWrapper revocationData, Date validationDate, eu.europa.esig.dss.model.policy.LevelRule constraint)
      Default constructor
      Parameters:
      i18nProvider - I18nProvider
      result - XmlRFC
      revocationData - RevocationWrapper
      validationDate - Date
      constraint - LevelRule
  • Method Details

    • process

      protected boolean process()
      Description copied from class: ChainItem
      Performs the check
      Specified by:
      process in class ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlRFC>
      Returns:
      TRUE if the check succeeds, FALSE otherwise
    • getMaxFreshness

      protected long getMaxFreshness()
      Description copied from class: AbstractRevocationFreshCheck
      Returns the maximum freshness
      Specified by:
      getMaxFreshness in class AbstractRevocationFreshCheck
      Returns:
      maximum freshness
    • getMessageTag

      protected eu.europa.esig.dss.i18n.MessageTag getMessageTag()
      Description copied from class: ChainItem
      Returns an i18n key String of a message to get
      Overrides:
      getMessageTag in class AbstractRevocationFreshCheck
      Returns:
      MessageTag key