Class AbstractTimeStampTypeCheck

java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>
eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractTimeStampTypeCheck
Direct Known Subclasses:
ArchiveTimeStampCheck, DocumentTimeStampCheck, SignatureTimeStampCheck, ValidationDataRefsOnlyTimeStampCheck, ValidationDataTimeStampCheck

public abstract class AbstractTimeStampTypeCheck extends ChainItem<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>
This class verifies a presence of a time-stamp token in a signature of the given time-stamp type
  • Constructor Details

    • AbstractTimeStampTypeCheck

      protected AbstractTimeStampTypeCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.detailedreport.jaxb.XmlSAV result, eu.europa.esig.dss.diagnostic.SignatureWrapper signature, eu.europa.esig.dss.model.policy.LevelRule constraint)
      Default constructor
      Parameters:
      i18nProvider - I18nProvider
      result - XmlSAV
      signature - SignatureWrapper
      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.XmlSAV>
      Returns:
      TRUE if the check succeeds, FALSE otherwise
    • getTimestampType

      protected abstract eu.europa.esig.dss.enumerations.TimestampType getTimestampType()
      Returns the associated TimestampType to be verified against
      Returns:
      TimestampType
    • 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<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>
      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<eu.europa.esig.dss.detailedreport.jaxb.XmlSAV>
      Returns:
      SubIndication