Class ArchiveTimeStampObject
java.lang.Object
eu.europa.esig.dss.evidencerecord.common.validation.ArchiveTimeStampObject
- All Implemented Interfaces:
EvidenceRecordObject,Serializable
- Direct Known Subclasses:
ASN1ArchiveTimeStampObject,XmlArchiveTimeStampObject
Represents an Evidence Record's ArchiveTimeStamp object.
Contains the hash tree as well as the time-stamp binaries.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets cryptographic information listList<? extends DigestValueGroup> Gets the ordered hash treeintgetOrder()Gets Order attribute value of the corresponding elementGets the time-stampvoidsetCryptographicInformationList(List<CryptographicInformation> cryptographicInformationList) Sets cryptographic information listvoidsetHashTree(List<? extends DigestValueGroup> hashTree) Sets the ordered hash treevoidsetOrder(int order) Sets order of the object within its parentvoidsetTimestampToken(TimestampToken timestampToken) Sets the time-stamp token
-
Constructor Details
-
ArchiveTimeStampObject
public ArchiveTimeStampObject()Default constructor
-
-
Method Details
-
getHashTree
Gets the ordered hash tree- Returns:
- a list of
DigestValueGroups
-
setHashTree
Sets the ordered hash tree- Parameters:
hashTree- a list ofDigestValueGroups
-
getTimestampToken
-
setTimestampToken
Sets the time-stamp token- Parameters:
timestampToken-TimestampToken
-
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 ofCryptographicInformations
-
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
-