public class BERTaggedObjectParser extends java.lang.Object implements ASN1TaggedObjectParser
Modifier and Type | Method and Description |
---|---|
ASN1Primitive |
getLoadedObject()
Return an in-memory, encodable, representation of the tagged object.
|
ASN1Encodable |
getObjectParser(int tag,
boolean isExplicit)
Return an object parser for the contents of this tagged object.
|
int |
getTagNo()
Return the tag number associated with this object.
|
boolean |
isConstructed()
Return true if this tagged object is marked as constructed.
|
ASN1Primitive |
toASN1Primitive()
Return an ASN1TaggedObject representing this parser and its contents.
|
public boolean isConstructed()
public int getTagNo()
getTagNo
in interface ASN1TaggedObjectParser
public ASN1Encodable getObjectParser(int tag, boolean isExplicit) throws java.io.IOException
getObjectParser
in interface ASN1TaggedObjectParser
tag
- the actual tag number of the object (needed if implicit).isExplicit
- true if the contained object was explicitly tagged, false if implicit.java.io.IOException
- if there is an issue building the object parser from the stream.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