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 Details

    • 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 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:
      IOException - if a parser cannot be constructed.