Class ArchiveTimestampHashIndexStatus

java.lang.Object
eu.europa.esig.dss.spi.x509.tsp.ArchiveTimestampHashIndexStatus

public class ArchiveTimestampHashIndexStatus extends Object
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 Details

    • ArchiveTimestampHashIndexStatus

      public ArchiveTimestampHashIndexStatus()
      Default constructor
  • Method Details

    • getVersion

      public ArchiveTimestampHashIndexVersion getVersion()
      Gets the version of the ats-hash-index attribute used in the archive-time-stamp-v3
      Returns:
      ArchiveTimestampHashIndexVersion
    • setVersion

      public void setVersion(ArchiveTimestampHashIndexVersion version)
      Sets the version of the ats-hash-index attribute used in the archive-time-stamp-v3
      Parameters:
      version - ArchiveTimestampHashIndexVersion
    • getErrorMessages

      public List<String> 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

      public void addErrorMessage(String errorMessage)
      Adds a new error message in case of an issue on the ats-hash-index(-v3) attribute validation.
      Parameters:
      errorMessage - String