Searched refs:tagClass (Results 1 – 2 of 2) sorted by relevance
57 private final Asn1TagClass tagClass; field in Asn1Tag60 public Asn1Tag(Asn1TagClass tagClass, int tagNumber) { in Asn1Tag() argument61 this.tagClass = tagClass; in Asn1Tag()129 return (tagClass.getValue() << 6) + tagNumber; in getValue()207 @Nullable public static Asn1Tag fromClassAndNumber(int tagClass, int tagNumber) { in fromClassAndNumber() argument208 if (tagClass < 0) { in fromClassAndNumber()211 return new Asn1Tag(Asn1TagClass.fromValue(tagClass), tagNumber); in fromClassAndNumber()220 return tagClass == tag.tagClass && tagNumber == tag.tagNumber; in equals()226 result = 31 * result + tagClass.hashCode(); in hashCode()233 return "Asn1Tag[" + tagClass + ", " + tagNumber + "]"; in toString()
34 public static Asn1TagClass fromValue(int tagClass) { in fromValue() argument35 switch (tagClass) { in fromValue()41 throw new IllegalArgumentException("Invalid tag class: " + tagClass); in fromValue()