Package io.anyline.nfc.bouncycastle.asn1
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.
-
-
Method Summary
Modifier and Type Method Description abstract intgetTagClass()Return the tag class associated with this object. abstract intgetTagNo()Return the tag number associated with this object. abstract booleanhasContextTag(int tagNo)abstract booleanhasTag(int tagClass, int tagNo)abstract ASN1EncodablegetObjectParser(int tag, boolean isExplicit)Return a parser for the actual object tagged. abstract ASN1EncodableparseBaseUniversal(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
-
-
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.
-
hasContextTag
abstract boolean hasContextTag(int tagNo)
-
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.
-
parseBaseUniversal
abstract ASN1Encodable parseBaseUniversal(boolean declaredExplicit, int baseTagNo)
-
-
-
-