|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.tsp.ArchiveTimeStamp
Implementation of the Archive Timestamp type defined in RFC4998.
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
| Constructor Summary | |
ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm,
Attributes attributes,
PartialHashtree[] reducedHashTree,
ContentInfo timeStamp)
|
|
ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm,
PartialHashtree[] reducedHashTree,
ContentInfo timeStamp)
|
|
ArchiveTimeStamp(ContentInfo timeStamp)
|
|
| Method Summary | |
AlgorithmIdentifier |
getDigestAlgorithm()
Return the contents of the digestAlgorithm field - null if not set. |
AlgorithmIdentifier |
getDigestAlgorithmIdentifier()
|
PartialHashtree |
getHashTreeLeaf()
Return the first node in the reduced hash tree which contains the leaf node. |
static ArchiveTimeStamp |
getInstance(java.lang.Object obj)
Return an ArchiveTimestamp from the given object. |
PartialHashtree[] |
getReducedHashTree()
|
ContentInfo |
getTimeStamp()
|
byte[] |
getTimeStampDigestValue()
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. |
| Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm,
PartialHashtree[] reducedHashTree,
ContentInfo timeStamp)
public ArchiveTimeStamp(ContentInfo timeStamp)
public ArchiveTimeStamp(AlgorithmIdentifier digestAlgorithm,
Attributes attributes,
PartialHashtree[] reducedHashTree,
ContentInfo timeStamp)
| Method Detail |
public static ArchiveTimeStamp getInstance(java.lang.Object obj)
obj - the object we want converted.
java.lang.IllegalArgumentException - if the object cannot be converted.public AlgorithmIdentifier getDigestAlgorithmIdentifier()
public byte[] getTimeStampDigestValue()
public AlgorithmIdentifier getDigestAlgorithm()
public PartialHashtree getHashTreeLeaf()
public PartialHashtree[] getReducedHashTree()
public ContentInfo getTimeStamp()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object
|
Bouncy Castle Cryptography Library 1.82 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||