Package org.bouncycastle.asn1
Class DERExternalParser
java.lang.Object
org.bouncycastle.asn1.DERExternalParser
- All Implemented Interfaces:
ASN1Encodable
,InMemoryRepresentable
Parser DER EXTERNAL tagged objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn an in-memory, encodable, representation of the EXTERNAL object.Return an DERExternal representing this parser and its contents.
-
Constructor Details
-
DERExternalParser
Base constructor.- Parameters:
parser
- the underlying parser to read the DER EXTERNAL from.
-
-
Method Details
-
readObject
- Throws:
IOException
-
getLoadedObject
Return an in-memory, encodable, representation of the EXTERNAL object.- Specified by:
getLoadedObject
in interfaceInMemoryRepresentable
- Returns:
- a DERExternal.
- Throws:
IOException
- if there is an issue loading the data.
-
toASN1Primitive
Return an DERExternal representing this parser and its contents.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Returns:
- an DERExternal
-