Class TimestampFilenameAdherenceCheck

java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlFC>
eu.europa.esig.dss.validation.process.bbb.fc.checks.FilenameAdherenceCheck<eu.europa.esig.dss.diagnostic.TimestampWrapper>
eu.europa.esig.dss.validation.process.bbb.fc.checks.TimestampFilenameAdherenceCheck

public class TimestampFilenameAdherenceCheck extends FilenameAdherenceCheck<eu.europa.esig.dss.diagnostic.TimestampWrapper>
This class verifies conformance of the timestamp's document filename to the ASiC specification
  • Constructor Details

    • TimestampFilenameAdherenceCheck

      public TimestampFilenameAdherenceCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.detailedreport.jaxb.XmlFC result, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, eu.europa.esig.dss.diagnostic.TimestampWrapper token, eu.europa.esig.dss.model.policy.LevelRule constraint)
      Default constructor
      Parameters:
      i18nProvider - I18nProvider
      result - XmlFC
      diagnosticData - DiagnosticData
      token - TimestampWrapper
      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.XmlFC>
      Returns:
      TRUE if the check succeeds, FALSE otherwise
    • 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 ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlFC>
      Returns:
      MessageTag key
    • getErrorMessageTag

      protected eu.europa.esig.dss.i18n.MessageTag getErrorMessageTag()
      Description copied from class: ChainItem
      Returns an i18n key String of an error message to get
      Overrides:
      getErrorMessageTag in class ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlFC>
      Returns:
      MessageTag key