Package eu.europa.esig.dss.spi.x509.tsp
Class ArchiveTimestampHashIndexStatus
java.lang.Object
eu.europa.esig.dss.spi.x509.tsp.ArchiveTimestampHashIndexStatus
This class contains information on the validation status of the ats-hash-index(-v3) attribute defined
within a timestamp of the archive-time-stamp-v3.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorMessage
(String errorMessage) Adds a new error message in case of an issue on the ats-hash-index(-v3) attribute validation.Gets a list of validation errors occurred on a structural validation of the ats-hash-index(-v3) attribute, when applicableGets the version of the ats-hash-index attribute used in the archive-time-stamp-v3void
Sets the version of the ats-hash-index attribute used in the archive-time-stamp-v3
-
Constructor Details
-
ArchiveTimestampHashIndexStatus
public ArchiveTimestampHashIndexStatus()Default constructor
-
-
Method Details
-
getVersion
Gets the version of the ats-hash-index attribute used in the archive-time-stamp-v3- Returns:
ArchiveTimestampHashIndexVersion
-
setVersion
Sets the version of the ats-hash-index attribute used in the archive-time-stamp-v3- Parameters:
version
-ArchiveTimestampHashIndexVersion
-
getErrorMessages
Gets a list of validation errors occurred on a structural validation of the ats-hash-index(-v3) attribute, when applicable- Returns:
- a list of
String
error messages regarding the ats-hash-index-v3 attribute, when applicable
-
addErrorMessage
Adds a new error message in case of an issue on the ats-hash-index(-v3) attribute validation.- Parameters:
errorMessage
-String
-