Interface ASN1TaggedObjectParser

  • All Implemented Interfaces:
    io.anyline.nfc.bouncycastle.asn1.ASN1Encodable , io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable

    
    public interface ASN1TaggedObjectParser
     implements ASN1Encodable, InMemoryRepresentable
                        

    Interface for the parsing of a generic tagged ASN.1 object.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract int getTagClass() Return the tag class associated with this object.
      abstract int getTagNo() Return the tag number associated with this object.
      abstract boolean hasContextTag(int tagNo)
      abstract boolean hasTag(int tagClass, int tagNo)
      abstract ASN1Encodable getObjectParser(int tag, boolean isExplicit) Return a parser for the actual object tagged.
      abstract ASN1Encodable parseBaseUniversal(boolean declaredExplicit, int baseTagNo)
      • Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Encodable

        toASN1Primitive
      • Methods inherited from class io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable

        getLoadedObject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getTagClass

         abstract int getTagClass()

        Return the tag class associated with this object.

        Returns:

        the tag class.

      • getTagNo

         abstract int getTagNo()

        Return the tag number associated with this object.

        Returns:

        the tag number.

      • hasTag

         abstract boolean hasTag(int tagClass, int tagNo)
      • getObjectParser

         abstract ASN1Encodable getObjectParser(int tag, boolean isExplicit)

        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.