Package org.bouncycastle.asn1
Class DERExternalParser
- java.lang.Object
 - 
- org.bouncycastle.asn1.DERExternalParser
 
 
- 
- All Implemented Interfaces:
 ASN1Encodable,InMemoryRepresentable
public class DERExternalParser extends java.lang.Object implements ASN1Encodable, InMemoryRepresentable
Parser DER EXTERNAL tagged objects. 
- 
- 
Constructor Summary
Constructors Constructor Description DERExternalParser(ASN1StreamParser parser)Base constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASN1PrimitivegetLoadedObject()Return an in-memory, encodable, representation of the EXTERNAL object.ASN1EncodablereadObject()ASN1PrimitivetoASN1Primitive()Return an DERExternal representing this parser and its contents. 
 - 
 
- 
- 
Constructor Detail
- 
DERExternalParser
public DERExternalParser(ASN1StreamParser parser)
Base constructor.- Parameters:
 parser- the underlying parser to read the DER EXTERNAL from.
 
 - 
 
- 
Method Detail
- 
readObject
public ASN1Encodable readObject() throws java.io.IOException
- Throws:
 java.io.IOException
 
- 
getLoadedObject
public ASN1Primitive getLoadedObject() throws java.io.IOException
Return an in-memory, encodable, representation of the EXTERNAL object.- Specified by:
 getLoadedObjectin interfaceInMemoryRepresentable- Returns:
 - a DERExternal.
 - Throws:
 java.io.IOException- if there is an issue loading the data.
 
- 
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Return an DERExternal representing this parser and its contents.- Specified by:
 toASN1Primitivein interfaceASN1Encodable- Returns:
 - an DERExternal
 
 
 - 
 
 -