Class ArchiveTimeStampObject

java.lang.Object
eu.europa.esig.dss.evidencerecord.common.validation.ArchiveTimeStampObject
All Implemented Interfaces:
EvidenceRecordObject, Serializable
Direct Known Subclasses:
ASN1ArchiveTimeStampObject, XmlArchiveTimeStampObject

public class ArchiveTimeStampObject extends Object implements EvidenceRecordObject
Represents an Evidence Record's ArchiveTimeStamp object. Contains the hash tree as well as the time-stamp binaries.
See Also:
  • Constructor Details

    • ArchiveTimeStampObject

      public ArchiveTimeStampObject()
      Default constructor
  • Method Details

    • getHashTree

      public List<? extends DigestValueGroup> getHashTree()
      Gets the ordered hash tree
      Returns:
      a list of DigestValueGroups
    • setHashTree

      public void setHashTree(List<? extends DigestValueGroup> hashTree)
      Sets the ordered hash tree
      Parameters:
      hashTree - a list of DigestValueGroups
    • getTimestampToken

      public TimestampToken getTimestampToken()
      Gets the time-stamp
      Returns:
      TimestampToken
    • setTimestampToken

      public void setTimestampToken(TimestampToken timestampToken)
      Sets the time-stamp token
      Parameters:
      timestampToken - TimestampToken
    • getCryptographicInformationList

      public List<CryptographicInformation> getCryptographicInformationList()
      Gets cryptographic information list
      Returns:
      a list of CryptographicInformations
    • setCryptographicInformationList

      public void setCryptographicInformationList(List<CryptographicInformation> cryptographicInformationList)
      Sets cryptographic information list
      Parameters:
      cryptographicInformationList - a list of CryptographicInformations
    • getOrder

      public int getOrder()
      Gets Order attribute value of the corresponding element
      Returns:
      Order attribute value
    • setOrder

      public void setOrder(int order)
      Sets order of the object within its parent
      Parameters:
      order - int value