public class ArchiveTimeStampChain extends ASN1Object
An ArchiveTimeStampChain corresponds to a SEQUENCE OF ArchiveTimeStamps, and has the following ASN.1 Syntax:
ArchiveTimeStampChain ::= SEQUENCE OF ArchiveTimeStamp
Constructor and Description |
---|
ArchiveTimeStampChain(ArchiveTimeStamp archiveTimeStamp) |
ArchiveTimeStampChain(ArchiveTimeStamp[] archiveTimeStamps) |
Modifier and Type | Method and Description |
---|---|
ArchiveTimeStampChain |
append(ArchiveTimeStamp archiveTimeStamp)
Adds an
ArchiveTimeStamp object to the archive timestamp chain. |
ArchiveTimeStamp[] |
getArchiveTimestamps() |
static ArchiveTimeStampChain |
getInstance(java.lang.Object obj)
Return an ArchiveTimeStampChain from the given object.
|
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public ArchiveTimeStampChain(ArchiveTimeStamp archiveTimeStamp)
public ArchiveTimeStampChain(ArchiveTimeStamp[] archiveTimeStamps)
public static ArchiveTimeStampChain getInstance(java.lang.Object obj)
obj
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public ArchiveTimeStamp[] getArchiveTimestamps()
public ArchiveTimeStampChain append(ArchiveTimeStamp archiveTimeStamp)
ArchiveTimeStamp
object to the archive timestamp chain.archiveTimeStamp
- the ArchiveTimeStamp
to add.public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object