public class DERExternalParser extends Object implements ASN1Encodable, InMemoryRepresentable
Constructor and Description |
---|
DERExternalParser(ASN1StreamParser parser)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Return an in-memory, encodable, representation of the EXTERNAL object.
|
ASN1Encodable |
readObject() |
ASN1Primitive |
toASN1Primitive()
Return an DERExternal representing this parser and its contents.
|
public DERExternalParser(ASN1StreamParser parser)
parser
- the underlying parser to read the DER EXTERNAL from.public ASN1Encodable readObject() throws IOException
IOException
public ASN1Primitive getLoadedObject() throws IOException
getLoadedObject
in interface InMemoryRepresentable
IOException
- if there is an issue loading the data.public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
Copyright © 2018 BouncyCastle.org. All rights reserved.