Package org.bouncycastle.asn1
Class BERSequenceParser
java.lang.Object
org.bouncycastle.asn1.BERSequenceParser
- All Implemented Interfaces:
ASN1Encodable,ASN1SequenceParser,InMemoryRepresentable
Parser for indefinite-length SEQUENCEs.
-
Method Summary
Modifier and TypeMethodDescriptionReturn an in-memory, encodable, representation of the SEQUENCE.Read the next object in the SEQUENCE.Return an BERSequence representing this parser and its contents.
-
Method Details
-
readObject
Read the next object in the SEQUENCE.- Specified by:
readObjectin interfaceASN1SequenceParser- Returns:
- the next object in the SEQUENCE, null if there are no more.
- Throws:
IOException- if there is an issue reading the underlying stream.
-
getLoadedObject
Return an in-memory, encodable, representation of the SEQUENCE.- Specified by:
getLoadedObjectin interfaceInMemoryRepresentable- Returns:
- a BERSequence.
- Throws:
IOException- if there is an issue loading the data.
-
toASN1Primitive
Return an BERSequence representing this parser and its contents.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Returns:
- an BERSequence
-