Package io.anyline.nfc.bouncycastle.asn1
Class BERSequenceParser
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.ASN1SequenceParser
,io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable
public class BERSequenceParser implements ASN1SequenceParser
Parser for indefinite-length SEQUENCEs.
-
-
Method Summary
Modifier and Type Method Description ASN1Encodable
readObject()
Read the next object in the SEQUENCE. ASN1Primitive
getLoadedObject()
Return an in-memory, encodable, representation of the SEQUENCE. ASN1Primitive
toASN1Primitive()
Return an BERSequence representing this parser and its contents. -
-
Method Detail
-
readObject
ASN1Encodable readObject()
Read the next object in the SEQUENCE.
- Returns:
the next object in the SEQUENCE, null if there are no more.
-
getLoadedObject
ASN1Primitive getLoadedObject()
Return an in-memory, encodable, representation of the SEQUENCE.
- Returns:
a BERSequence.
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Return an BERSequence representing this parser and its contents.
- Returns:
an BERSequence
-
-
-
-