Package io.anyline.nfc.bouncycastle.asn1
Class DERExternalParser
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.ASN1ExternalParser
,io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable
public class DERExternalParser implements ASN1ExternalParser
Parser DER EXTERNAL tagged objects.
-
-
Constructor Summary
Constructors Constructor Description DERExternalParser(ASN1StreamParser parser)
Base constructor.
-
Method Summary
Modifier and Type Method Description ASN1Encodable
readObject()
Read the next object in the parser. ASN1Primitive
getLoadedObject()
Return an in-memory, encodable, representation of the EXTERNAL object. ASN1Primitive
toASN1Primitive()
Return an DERExternal representing this parser and its contents. -
-
Constructor Detail
-
DERExternalParser
DERExternalParser(ASN1StreamParser parser)
Base constructor.- Parameters:
parser
- the underlying parser to read the DER EXTERNAL from.
-
-
Method Detail
-
readObject
ASN1Encodable readObject()
Read the next object in the parser.
- Returns:
an ASN1Encodable
-
getLoadedObject
ASN1Primitive getLoadedObject()
Return an in-memory, encodable, representation of the EXTERNAL object.
- Returns:
a DERExternal.
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Return an DERExternal representing this parser and its contents.
- Returns:
an DERExternal
-
-
-
-