ASN.1 Archive Timestamp
ArchiveTimeStamp ::= SEQUENCE { digestAlgorithm [Ø] AlgorithmIdentifier OPTIONAL, attributes [1] Attributes OPTIONAL, reducedHashtree [2] SEQUENCE OF PartialHashtree OPTIONAL, timeStamp ContentInfo}
PartialHashtree ::= SEQUENCE OF OCTET STRING
Attributes ::= SET SIZE (1..MAX) OF Attribute
| Modifier and Type | Field and Description |
|---|---|
| private final Attributes | |
| private final AlgorithmIdentifier | |
| private final ASN1Sequence | |
| private final ContentInfo |
| Access | Constructor and Description |
|---|---|
| public | ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm, PartialHashtree[] reducedHashTree, ContentInfo timeStamp)
|
| public | |
| public | ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm, Attributes attributes, PartialHashtree[] reducedHashTree, ContentInfo timeStamp)
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | Returns: the contents of the digestAlgorithm field, or null if not set.Return the contents of the digestAlgorithm field - null if not set. |
| public AlgorithmIdentifier | |
| public PartialHashtree | Returns: the node containing the data hashes, null if no reduced hash tree is present.Return the first node in the reduced hash tree which contains the leaf node. |
| public static ArchiveTimeStamp | Returns: an ArchiveTimestamp instance, or null.the object we want converted. obj)Return an ArchiveTimestamp from the given object. |
| public PartialHashtree[] | |
| public ContentInfo | |
| public byte[] | |
| private TSTInfo | |
| public ASN1Primitive | toASN1Primitive()
Implements abstract org. Implements org. Method providing a primitive representation of this object suitable for encoding. |
| attributes | back to summary |
|---|---|
| private final Attributes attributes | |
| digestAlgorithm | back to summary |
|---|---|
| private final AlgorithmIdentifier digestAlgorithm | |
| reducedHashTree | back to summary |
|---|---|
| private final ASN1Sequence reducedHashTree | |
| timeStamp | back to summary |
|---|---|
| private final ContentInfo timeStamp | |
| ArchiveTimeStamp | back to summary |
|---|---|
| public ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm, PartialHashtree[] reducedHashTree, ContentInfo timeStamp) | |
| ArchiveTimeStamp | back to summary |
|---|---|
| public ArchiveTimeStamp(ContentInfo timeStamp) | |
| ArchiveTimeStamp | back to summary |
|---|---|
| public ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm, Attributes attributes, PartialHashtree[] reducedHashTree, ContentInfo timeStamp) | |
| ArchiveTimeStamp | back to summary |
|---|---|
| private ArchiveTimeStamp(final ASN1Sequence sequence) | |
| getDigestAlgorithm | back to summary |
|---|---|
| public AlgorithmIdentifier getDigestAlgorithm() Return the contents of the digestAlgorithm field - null if not set.
| |
| getDigestAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getDigestAlgorithmIdentifier() | |
| getHashTreeLeaf | back to summary |
|---|---|
| public PartialHashtree getHashTreeLeaf() Return the first node in the reduced hash tree which contains the leaf node.
| |
| getInstance | back to summary |
|---|---|
| public static ArchiveTimeStamp getInstance(final Object obj) Return an ArchiveTimestamp from the given object.
| |
| getReducedHashTree | back to summary |
|---|---|
| public PartialHashtree[] getReducedHashTree() | |
| getTimeStamp | back to summary |
|---|---|
| public ContentInfo getTimeStamp() | |
| getTimeStampDigestValue | back to summary |
|---|---|
| public byte[] getTimeStampDigestValue() | |
| getTimeStampInfo | back to summary |
|---|---|
| private TSTInfo getTimeStampInfo() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Doc from org. Method providing a primitive representation of this object suitable for encoding.
| |