public class DERExternalParser extends java.lang.Object implements ASN1ExternalParser
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()
Read the next object in the parser.
|
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 java.io.IOException
ASN1ExternalParser
readObject
in interface ASN1ExternalParser
java.io.IOException
- on a parsing or decoding error.public ASN1Primitive getLoadedObject() throws java.io.IOException
getLoadedObject
in interface InMemoryRepresentable
java.io.IOException
- if there is an issue loading the data.public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable