Package org.bouncycastle.asn1
Class DERExternalParser
- java.lang.Object
-
- org.bouncycastle.asn1.DERExternalParser
-
- All Implemented Interfaces:
ASN1Encodable,InMemoryRepresentable
public class DERExternalParser extends Object implements ASN1Encodable, InMemoryRepresentable
-
-
Constructor Summary
Constructors Constructor Description DERExternalParser(ASN1StreamParser parser)
-
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()ASN1PrimitivetoASN1Primitive()Return an object, possibly constructed, of ASN.1 primitives
-
-
-
Constructor Detail
-
DERExternalParser
public DERExternalParser(ASN1StreamParser parser)
-
-
Method Detail
-
readObject
public ASN1Encodable readObject() throws IOException
- Throws:
IOException
-
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.
-
-