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
-
Method Summary
Modifier and TypeMethodDescriptionGets cryptographic information listList
<? extends DigestValueGroup> Gets the ordered hash treeint
getOrder()
Gets Order attribute value of the corresponding elementGets the time-stampvoid
setCryptographicInformationList
(List<CryptographicInformation> cryptographicInformationList) Sets cryptographic information listvoid
setHashTree
(List<? extends DigestValueGroup> hashTree) Sets the ordered hash treevoid
setOrder
(int order) Sets order of the object within its parentvoid
setTimestampToken
(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
DigestValueGroup
s
-
setHashTree
Sets the ordered hash tree- Parameters:
hashTree
- a list ofDigestValueGroup
s
-
getTimestampToken
-
setTimestampToken
Sets the time-stamp token- Parameters:
timestampToken
-TimestampToken
-
getCryptographicInformationList
Gets cryptographic information list- Returns:
- a list of
CryptographicInformation
s
-
setCryptographicInformationList
public void setCryptographicInformationList(List<CryptographicInformation> cryptographicInformationList) Sets cryptographic information list- Parameters:
cryptographicInformationList
- a list ofCryptographicInformation
s
-
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
-