Home
last modified time | relevance | path

Searched refs:tagClass (Results 1 – 4 of 4) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DBerEncoding.java101 public static int getTagClass(Asn1TagClass tagClass) { in getTagClass() argument
102 switch (tagClass) { in getTagClass()
112 throw new IllegalArgumentException("Unsupported tag class: " + tagClass); in getTagClass()
131 public static String tagClassAndNumberToString(int tagClass, int tagNumber) { in tagClassAndNumberToString() argument
132 String classString = tagClassToString(tagClass); in tagClassAndNumberToString()
174 public static byte setTagClass(byte firstIdentifierByte, int tagClass) { in setTagClass() argument
175 return (byte) ((firstIdentifierByte & 0x3f) | (tagClass << 6)); in setTagClass()
DBerDataValue.java34 int tagClass, in BerDataValue() argument
39 mTagClass = tagClass; in BerDataValue()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java320 Asn1TagClass tagClass = annotation.cls(); in AnnotatedField() local
321 if (tagClass == Asn1TagClass.AUTOMATIC) { in AnnotatedField()
323 tagClass = Asn1TagClass.CONTEXT_SPECIFIC; in AnnotatedField()
325 tagClass = Asn1TagClass.UNIVERSAL; in AnnotatedField()
328 mTagClass = tagClass; in AnnotatedField()
393 int tagClass, boolean constructed, int tagNumber, byte[]... contents) { in createTag() argument
399 (byte) ((tagClass << 6) | (constructed ? 1 << 5 : 0) | tagNumber); in createTag()
DAsn1BerParser.java353 Asn1TagClass tagClass = annotation.cls(); in AnnotatedField() local
354 if (tagClass == Asn1TagClass.AUTOMATIC) { in AnnotatedField()
356 tagClass = Asn1TagClass.CONTEXT_SPECIFIC; in AnnotatedField()
358 tagClass = Asn1TagClass.UNIVERSAL; in AnnotatedField()
361 mTagClass = tagClass; in AnnotatedField()