Class ArchiveTimeStampSequence

  • All Implemented Interfaces:
    ASN1Encodable, Encodable

    public class ArchiveTimeStampSequence
    extends ASN1Object
    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 Detail

      • ArchiveTimeStampSequence

        public ArchiveTimeStampSequence​(ArchiveTimeStampChain archiveTimeStampChain)
      • ArchiveTimeStampSequence

        public ArchiveTimeStampSequence​(ArchiveTimeStampChain[] archiveTimeStampChains)
    • Method Detail

      • getInstance

        public static ArchiveTimeStampSequence getInstance​(java.lang.Object obj)
        Return an ArchiveTimestampSequence from the given object.
        Parameters:
        obj - the object we want converted.
        Returns:
        an ArchiveTimeStampSequence instance, or null.
        Throws:
        java.lang.IllegalArgumentException - if the object cannot be converted.
      • getArchiveTimeStampChains

        public ArchiveTimeStampChain[] getArchiveTimeStampChains()
        Returns the sequence of ArchiveTimeStamp chains that compose the ArchiveTimeStamp sequence.
        Returns:
        the ASN1Sequence containing the ArchiveTimeStamp chains.
      • size

        public int size()