Class AbstractValidationReportGenerator

java.lang.Object
org.digidoc4j.impl.asic.AbstractValidationReportGenerator
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CadesValidationReportGenerator, XadesValidationReportGenerator

public abstract class AbstractValidationReportGenerator extends Object implements Serializable
An abstract base class for validation report generators.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract eu.europa.esig.dss.validation.reports.Reports
    generateReports(Date validationTime)
    Validates the state of this validation report generator against the specified validation time, and generates and returns new Reports based on the fresh validation results.
    eu.europa.esig.dss.validation.reports.Reports
    Returns previously cached Reports or generates and returns new reports based on current state of this report generator, if no reports have not been generated and cached before.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • openValidationReport

      public eu.europa.esig.dss.validation.reports.Reports openValidationReport()
      Returns previously cached Reports or generates and returns new reports based on current state of this report generator, if no reports have not been generated and cached before. The newly generated reports are cached for later re-use.
      Returns:
      previously cached or newly generated reports
    • generateReports

      public abstract eu.europa.esig.dss.validation.reports.Reports generateReports(Date validationTime)
      Validates the state of this validation report generator against the specified validation time, and generates and returns new Reports based on the fresh validation results.
      Parameters:
      validationTime - validation time
      Returns:
      newly generated reports