Package io.anyline.nfc.bouncycastle.asn1
Class ASN1Util
-
- All Implemented Interfaces:
public abstract class ASN1Util
-
-
Constructor Summary
Constructors Constructor Description ASN1Util()
-
Method Summary
Modifier and Type Method Description static String
getTagText(ASN1Tag tag)
static String
getTagText(ASN1TaggedObject taggedObject)
static String
getTagText(ASN1TaggedObjectParser taggedObjectParser)
static String
getTagText(int tagClass, int tagNo)
static ASN1Object
getExplicitBaseObject(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
static ASN1Object
getExplicitContextBaseObject(ASN1TaggedObject taggedObject, int tagNo)
static ASN1Object
tryGetExplicitBaseObject(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
static ASN1Object
tryGetExplicitContextBaseObject(ASN1TaggedObject taggedObject, int tagNo)
static ASN1TaggedObject
getExplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
static ASN1TaggedObject
getExplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo)
static ASN1TaggedObject
tryGetExplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
static ASN1TaggedObject
tryGetExplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo)
static ASN1Primitive
getBaseUniversal(ASN1TaggedObject taggedObject, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Primitive
getContextBaseUniversal(ASN1TaggedObject taggedObject, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Primitive
tryGetBaseUniversal(ASN1TaggedObject taggedObject, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Primitive
tryGetContextBaseUniversal(ASN1TaggedObject taggedObject, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Encodable
parseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Encodable
parseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Encodable
tryParseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
static ASN1Encodable
tryParseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo)
-
-
Method Detail
-
getTagText
static String getTagText(ASN1Tag tag)
-
getTagText
static String getTagText(ASN1TaggedObject taggedObject)
-
getTagText
static String getTagText(ASN1TaggedObjectParser taggedObjectParser)
-
getTagText
static String getTagText(int tagClass, int tagNo)
-
getExplicitBaseObject
static ASN1Object getExplicitBaseObject(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
-
getExplicitContextBaseObject
static ASN1Object getExplicitContextBaseObject(ASN1TaggedObject taggedObject, int tagNo)
-
tryGetExplicitBaseObject
static ASN1Object tryGetExplicitBaseObject(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
-
tryGetExplicitContextBaseObject
static ASN1Object tryGetExplicitContextBaseObject(ASN1TaggedObject taggedObject, int tagNo)
-
getExplicitBaseTagged
static ASN1TaggedObject getExplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
-
getExplicitContextBaseTagged
static ASN1TaggedObject getExplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo)
-
tryGetExplicitBaseTagged
static ASN1TaggedObject tryGetExplicitBaseTagged(ASN1TaggedObject taggedObject, int tagClass, int tagNo)
-
tryGetExplicitContextBaseTagged
static ASN1TaggedObject tryGetExplicitContextBaseTagged(ASN1TaggedObject taggedObject, int tagNo)
-
getBaseUniversal
static ASN1Primitive getBaseUniversal(ASN1TaggedObject taggedObject, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
-
getContextBaseUniversal
static ASN1Primitive getContextBaseUniversal(ASN1TaggedObject taggedObject, int tagNo, boolean declaredExplicit, int baseTagNo)
-
tryGetBaseUniversal
static ASN1Primitive tryGetBaseUniversal(ASN1TaggedObject taggedObject, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
-
tryGetContextBaseUniversal
static ASN1Primitive tryGetContextBaseUniversal(ASN1TaggedObject taggedObject, int tagNo, boolean declaredExplicit, int baseTagNo)
-
parseBaseUniversal
static ASN1Encodable parseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
-
parseContextBaseUniversal
static ASN1Encodable parseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo)
-
tryParseBaseUniversal
static ASN1Encodable tryParseBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagClass, int tagNo, boolean declaredExplicit, int baseTagNo)
-
tryParseContextBaseUniversal
static ASN1Encodable tryParseContextBaseUniversal(ASN1TaggedObjectParser taggedObjectParser, int tagNo, boolean declaredExplicit, int baseTagNo)
-
-
-
-