|
Bouncy Castle Cryptography Library 1.81 | |||||||||
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.ArchiveTimeStampSequence
Implementation of ArchiveTimeStampSequence type, as defined in RFC4998.
An ArchiveTimeStampSequence corresponds to a SEQUENCE OF ArchiveTimeStampChains and has the following ASN.1 Syntax:
ArchiveTimeStampSequence ::= SEQUENCE OF ArchiveTimeStampChain
Constructor Summary | |
ArchiveTimeStampSequence(ArchiveTimeStampChain archiveTimeStampChain)
|
|
ArchiveTimeStampSequence(ArchiveTimeStampChain[] archiveTimeStampChains)
|
Method Summary | |
ArchiveTimeStampSequence |
append(ArchiveTimeStampChain chain)
Adds an ArchiveTimeStampChain to the ArchiveTimeStamp sequence. |
ArchiveTimeStampChain[] |
getArchiveTimeStampChains()
Returns the sequence of ArchiveTimeStamp chains that compose the ArchiveTimeStamp sequence. |
static ArchiveTimeStampSequence |
getInstance(java.lang.Object obj)
Return an ArchiveTimestampSequence from the given object. |
int |
size()
|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive()
|
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 ArchiveTimeStampSequence(ArchiveTimeStampChain archiveTimeStampChain)
public ArchiveTimeStampSequence(ArchiveTimeStampChain[] archiveTimeStampChains)
Method Detail |
public static ArchiveTimeStampSequence getInstance(java.lang.Object obj)
obj
- the object we want converted.
java.lang.IllegalArgumentException
- if the object cannot be converted.public ArchiveTimeStampChain[] getArchiveTimeStampChains()
ASN1Sequence
containing the ArchiveTimeStamp chains.public int size()
public ArchiveTimeStampSequence append(ArchiveTimeStampChain chain)
ArchiveTimeStampChain
to the ArchiveTimeStamp sequence.
chain
- the ArchiveTimeStampChain
to add
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |