Package org.digidoc4j.impl.asic
Class AbstractValidationReportGenerator
java.lang.Object
org.digidoc4j.impl.asic.AbstractValidationReportGenerator
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CadesValidationReportGenerator,XadesValidationReportGenerator
An abstract base class for validation report generators.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionabstract eu.europa.esig.dss.validation.reports.ReportsgenerateReports(Date validationTime) Validates the state of this validation report generator against the specified validation time, and generates and returns newReportsbased on the fresh validation results.eu.europa.esig.dss.validation.reports.ReportsReturns previously cachedReportsor generates and returns new reports based on current state of this report generator, if no reports have not been generated and cached before.
-
Method Details
-
openValidationReport
public eu.europa.esig.dss.validation.reports.Reports openValidationReport()Returns previously cachedReportsor 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
Validates the state of this validation report generator against the specified validation time, and generates and returns newReportsbased on the fresh validation results.- Parameters:
validationTime- validation time- Returns:
- newly generated reports
-