Class EvidenceRecordsValidationBlock

java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.evidencerecord.EvidenceRecordsValidationBlock

public class EvidenceRecordsValidationBlock extends Object
Performs validation of all evidence records provided to the validator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Date
    The validation time
    protected final eu.europa.esig.dss.model.policy.ValidationPolicy
    The validation policy
  • Constructor Summary

    Constructors
    Constructor
    Description
    EvidenceRecordsValidationBlock(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, eu.europa.esig.dss.model.policy.ValidationPolicy policy, Date currentTime, Map<String,eu.europa.esig.dss.detailedreport.jaxb.XmlBasicBuildingBlocks> bbbs, List<eu.europa.esig.dss.detailedreport.jaxb.XmlTLAnalysis> tlAnalysis, eu.europa.esig.dss.enumerations.ValidationLevel validationLevel, POEExtraction poe)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Performs validation of evidence records
    Map<String,eu.europa.esig.dss.detailedreport.jaxb.XmlEvidenceRecord>
    Returns a map of performed evidence record validations
    Map<String,eu.europa.esig.dss.detailedreport.jaxb.XmlTimestamp>
    Returns a map of performed time-stamp validations

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • policy

      protected final eu.europa.esig.dss.model.policy.ValidationPolicy policy
      The validation policy
    • currentTime

      protected final Date currentTime
      The validation time
  • Constructor Details

    • EvidenceRecordsValidationBlock

      public EvidenceRecordsValidationBlock(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, eu.europa.esig.dss.diagnostic.DiagnosticData diagnosticData, eu.europa.esig.dss.model.policy.ValidationPolicy policy, Date currentTime, Map<String,eu.europa.esig.dss.detailedreport.jaxb.XmlBasicBuildingBlocks> bbbs, List<eu.europa.esig.dss.detailedreport.jaxb.XmlTLAnalysis> tlAnalysis, eu.europa.esig.dss.enumerations.ValidationLevel validationLevel, POEExtraction poe)
      Default constructor
      Parameters:
      i18nProvider - I18nProvider
      diagnosticData - DiagnosticData
      policy - ValidationPolicy
      currentTime - Date validation time
      bbbs - map of XmlBasicBuildingBlocks to fill the validation result
      tlAnalysis - a list of XmlTLAnalysis
      validationLevel - ValidationLevel the target highest level
      poe - POEExtraction
  • Method Details

    • execute

      public void execute()
      Performs validation of evidence records
    • getTimestampValidations

      public Map<String,eu.europa.esig.dss.detailedreport.jaxb.XmlTimestamp> getTimestampValidations()
      Returns a map of performed time-stamp validations
      Returns:
      a map of time-stamp identifiers and their corresponding validations
    • getEvidenceRecordValidations

      public Map<String,eu.europa.esig.dss.detailedreport.jaxb.XmlEvidenceRecord> getEvidenceRecordValidations()
      Returns a map of performed evidence record validations
      Returns:
      a map of evidence record identifiers and their corresponding validations