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.java129 public static int getTagClass(Asn1TagClass tagClass) { in getTagClass() argument
130 switch (tagClass) { in getTagClass()
140 throw new IllegalArgumentException("Unsupported tag class: " + tagClass); in getTagClass()
159 public static String tagClassAndNumberToString(int tagClass, int tagNumber) { in tagClassAndNumberToString() argument
160 String classString = tagClassToString(tagClass); in tagClassAndNumberToString()
210 public static byte setTagClass(byte firstIdentifierByte, int tagClass) { in setTagClass() argument
211 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.java366 Asn1TagClass tagClass = annotation.cls(); in AnnotatedField() local
367 if (tagClass == Asn1TagClass.AUTOMATIC) { in AnnotatedField()
369 tagClass = Asn1TagClass.CONTEXT_SPECIFIC; in AnnotatedField()
371 tagClass = Asn1TagClass.UNIVERSAL; in AnnotatedField()
374 mTagClass = tagClass; in AnnotatedField()
439 int tagClass, boolean constructed, int tagNumber, byte[]... contents) { in createTag() argument
445 (byte) ((tagClass << 6) | (constructed ? 1 << 5 : 0) | tagNumber); in createTag()
DAsn1BerParser.java365 Asn1TagClass tagClass = annotation.cls(); in AnnotatedField() local
366 if (tagClass == Asn1TagClass.AUTOMATIC) { in AnnotatedField()
368 tagClass = Asn1TagClass.CONTEXT_SPECIFIC; in AnnotatedField()
370 tagClass = Asn1TagClass.UNIVERSAL; in AnnotatedField()
373 mTagClass = tagClass; in AnnotatedField()