Module jpms_dss_spi

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 Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 applicable
    eu.europa.esig.dss.enumerations.ArchiveTimestampHashIndexVersion
    Gets the version of the ats-hash-index attribute used in the archive-time-stamp-v3
    void
    setVersion(eu.europa.esig.dss.enumerations.ArchiveTimestampHashIndexVersion version)
    Sets the version of the ats-hash-index attribute used in the archive-time-stamp-v3

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ArchiveTimestampHashIndexStatus

      public ArchiveTimestampHashIndexStatus()
      Default constructor
  • Method Details

    • getVersion

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

      public void setVersion(eu.europa.esig.dss.enumerations.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