public class DERExternalParser extends Object implements ASN1Encodable, InMemoryRepresentable
Modifier and Type | Field and Description |
---|---|
private ASN1StreamParser |
_parser |
Constructor and Description |
---|
DERExternalParser(ASN1StreamParser parser) |
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Get the in-memory representation of the ASN.1 object.
|
ASN1Encodable |
readObject() |
ASN1Primitive |
toASN1Primitive()
Return an object, possibly constructed, of ASN.1 primitives
|
private ASN1StreamParser _parser
public DERExternalParser(ASN1StreamParser parser)
public ASN1Encodable readObject() throws IOException
IOException
public ASN1Primitive getLoadedObject() throws IOException
InMemoryRepresentable
getLoadedObject
in interface InMemoryRepresentable
IOException
- for bad input data.public ASN1Primitive toASN1Primitive()
ASN1Encodable
toASN1Primitive
in interface ASN1Encodable