Package org.bouncycastle.asn1
Interface ASN1TaggedObjectParser
-
- All Superinterfaces:
ASN1Encodable
,InMemoryRepresentable
- All Known Implementing Classes:
ASN1TaggedObject
,BERTaggedObject
,BERTaggedObjectParser
,DERTaggedObject
,DLTaggedObject
public interface ASN1TaggedObjectParser extends ASN1Encodable, InMemoryRepresentable
Interface for the parsing of a generic tagged ASN.1 object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ASN1Encodable
getObjectParser(int tag, boolean isExplicit)
Return a parser for the actual object tagged.int
getTagNo()
Return the tag number associated with the underlying tagged object.-
Methods inherited from interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
-
Methods inherited from interface org.bouncycastle.asn1.InMemoryRepresentable
getLoadedObject
-
-
-
-
Method Detail
-
getTagNo
int getTagNo()
Return the tag number associated with the underlying tagged object.- Returns:
- the object's tag number.
-
getObjectParser
ASN1Encodable getObjectParser(int tag, boolean isExplicit) throws java.io.IOException
Return a parser for the actual object tagged.- Parameters:
tag
- the primitive tag value for the object tagged originally.isExplicit
- true if the tagging was done explicitly.- Returns:
- a parser for the tagged object.
- Throws:
java.io.IOException
- if a parser cannot be constructed.
-
-