Package org.bouncycastle.asn1
Class DERSequenceParser
- java.lang.Object
-
- org.bouncycastle.asn1.DERSequenceParser
-
- All Implemented Interfaces:
ASN1Encodable,ASN1SequenceParser,InMemoryRepresentable
public class DERSequenceParser extends Object implements ASN1SequenceParser
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Get the in-memory representation of the ASN.1 object.ASN1EncodablereadObject()Read the next object from the underlying object representing a SEQUENCE.ASN1PrimitivetoASN1Primitive()Return an object, possibly constructed, of ASN.1 primitives
-
-
-
Method Detail
-
readObject
public ASN1Encodable readObject() throws IOException
Description copied from interface:ASN1SequenceParserRead the next object from the underlying object representing a SEQUENCE.- Specified by:
readObjectin interfaceASN1SequenceParser- Returns:
- the next object, null if we are at the end.
- Throws:
IOException- for bad input stream.
-
getLoadedObject
public ASN1Primitive getLoadedObject() throws IOException
Description copied from interface:InMemoryRepresentableGet the in-memory representation of the ASN.1 object.- Specified by:
getLoadedObjectin interfaceInMemoryRepresentable- Throws:
IOException- for bad input data.
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Description copied from interface:ASN1EncodableReturn an object, possibly constructed, of ASN.1 primitives- Specified by:
toASN1Primitivein interfaceASN1Encodable- Returns:
- an ASN.1 primitive.
-
-