Package org.digidoc4j.impl.asic.cades
Class TimestampValidationData
java.lang.Object
org.digidoc4j.impl.asic.cades.TimestampValidationData
An immutable encapsulation of timestamp validation data.
-
Constructor Summary
ConstructorsConstructorDescriptionTimestampValidationData(String timestampUniqueId, eu.europa.esig.dss.validation.reports.Reports encapsulatingReports, ValidationResult validationResult) -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.validation.reports.ReportsReturns the reports that encapsulate the validation results of the related timestamp.eu.europa.esig.dss.enumerations.TimestampQualificationReturns qualification of the related timestamp.Returns the unique id / DSS id of the related timestamp.Returns validation result of the related timestamp.
-
Constructor Details
-
TimestampValidationData
public TimestampValidationData(String timestampUniqueId, eu.europa.esig.dss.validation.reports.Reports encapsulatingReports, ValidationResult validationResult) - Parameters:
timestampUniqueId- unique id / DSS id of the related timestampencapsulatingReports- reports that encapsulate the validation results of the related timestampvalidationResult- validation result of the related timestamp
-
-
Method Details
-
getTimestampUniqueId
Returns the unique id / DSS id of the related timestamp.- Returns:
- unique id / DSS id of the related timestamp
-
getEncapsulatingReports
public eu.europa.esig.dss.validation.reports.Reports getEncapsulatingReports()Returns the reports that encapsulate the validation results of the related timestamp.- Returns:
- reports that encapsulate the validation results of the related timestamp
-
getValidationResult
Returns validation result of the related timestamp.- Returns:
- validation result of the related timestamp
-
getTimestampQualification
public eu.europa.esig.dss.enumerations.TimestampQualification getTimestampQualification()Returns qualification of the related timestamp.- Returns:
- qualification of the related timestamp
-