Interface ASN1TaggedObjectParser
- All Superinterfaces:
ASN1Encodable, InMemoryRepresentable
- All Known Implementing Classes:
ASN1TaggedObject, BERTaggedObject, BERTaggedObjectParser, DERTaggedObject, DLTaggedObject
Interface for the parsing of a generic tagged ASN.1 object.
-
Method Summary
Modifier and TypeMethodDescriptiongetObjectParser(int tag, boolean isExplicit) Return a parser for the actual object tagged.intgetTagNo()Return the tag number associated with the underlying tagged object.Methods inherited from interface ASN1Encodable
toASN1PrimitiveMethods inherited from interface InMemoryRepresentable
getLoadedObject
-
Method Details
-
getTagNo
int getTagNo()Return the tag number associated with the underlying tagged object.- Returns:
- the object's tag number.
-
getObjectParser
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:
IOException- if a parser cannot be constructed.
-