Class TimestampMessageImprintCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>

java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.vpftspwatsp.checks.TimestampMessageImprintCheck<T>
Type Parameters:
T - implementation of the block's conclusion
Direct Known Subclasses:
TimestampMessageImprintWithIdCheck

public class TimestampMessageImprintCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion> extends ChainItem<T>
Checks message-imprint validity for a timestamp token
  • Field Details

    • timestamp

      protected final eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp
      The timestamp to check
  • Constructor Details

    • TimestampMessageImprintCheck

      public TimestampMessageImprintCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp, eu.europa.esig.dss.model.policy.LevelRule constraint)
      Default constructor
      Parameters:
      i18nProvider - I18nProvider
      result - XmlSAV
      timestamp - TimestampWrapper
      constraint - LevelRule
    • TimestampMessageImprintCheck

      protected TimestampMessageImprintCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.TimestampWrapper timestamp, eu.europa.esig.dss.model.policy.LevelRule constraint, String bbbId)
      Constructor to instantiate check with Id provided
      Parameters:
      i18nProvider - I18nProvider
      result - XmlSAV
      timestamp - TimestampWrapper
      constraint - LevelRule
      bbbId - String if of the corresponding basic building block
  • Method Details

    • process

      protected boolean process()
      Description copied from class: ChainItem
      Performs the check
      Specified by:
      process in class ChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
      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<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
      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<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
      Returns:
      MessageTag key
    • getFailedIndicationForConclusion

      protected eu.europa.esig.dss.enumerations.Indication getFailedIndicationForConclusion()
      Description copied from class: ChainItem
      Gets an Indication in case of failure
      Specified by:
      getFailedIndicationForConclusion in class ChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
      Returns:
      Indication
    • getFailedSubIndicationForConclusion

      protected eu.europa.esig.dss.enumerations.SubIndication getFailedSubIndicationForConclusion()
      Description copied from class: ChainItem
      Gets a SubIndication in case of failure
      Specified by:
      getFailedSubIndicationForConclusion in class ChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
      Returns:
      SubIndication