Class BERSequenceParser

    • Method Detail

      • readObject

        public ASN1Encodable readObject()
                                 throws java.io.IOException
        Read the next object in the SEQUENCE.
        Specified by:
        readObject in interface ASN1SequenceParser
        Returns:
        the next object in the SEQUENCE, null if there are no more.
        Throws:
        java.io.IOException - if there is an issue reading the underlying stream.
      • getLoadedObject

        public ASN1Primitive getLoadedObject()
                                      throws java.io.IOException
        Return an in-memory, encodable, representation of the SEQUENCE.
        Specified by:
        getLoadedObject in interface InMemoryRepresentable
        Returns:
        a BERSequence.
        Throws:
        java.io.IOException - if there is an issue loading the data.
      • toASN1Primitive

        public ASN1Primitive toASN1Primitive()
        Return an BERSequence representing this parser and its contents.
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Returns:
        an BERSequence