Home
last modified time | relevance | path

Searched refs:getTagNumber (Results 1 – 8 of 8) sorted by relevance

/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ber/
DBerDataValueReaderTestBase.java62 assertEquals(0x10, dataValue.getTagNumber()); in testSingleByteTagId()
67 assertEquals(0x19, dataValue.getTagNumber()); in testSingleByteTagId()
72 assertEquals(7, dataValue.getTagNumber()); in testSingleByteTagId()
77 assertEquals(6, dataValue.getTagNumber()); in testSingleByteTagId()
82 assertEquals(0x1e, dataValue.getTagNumber()); in testSingleByteTagId()
87 assertEquals(7, readDataValue("3f0700").getTagNumber()); in testHighTagNumber()
88 assertEquals(7, readDataValue("3f800700").getTagNumber()); in testHighTagNumber()
89 assertEquals(7, readDataValue("3f80800700").getTagNumber()); in testHighTagNumber()
90 assertEquals(7, readDataValue("3f8080800700").getTagNumber()); in testHighTagNumber()
91 assertEquals(7, readDataValue("3f808080808080808080808080808080800700").getTagNumber()); in testHighTagNumber()
[all …]
DBerDataValueTest.java65 assertEquals(BerEncoding.TAG_NUMBER_SEQUENCE, TEST_VALUE1.getTagNumber()); in testGetTagNumber()
66 assertEquals(BerEncoding.TAG_NUMBER_OCTET_STRING, TEST_VALUE2.getTagNumber()); in testGetTagNumber()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java127 int expectedTagNumber = BerEncoding.getTagNumber(dataType); in parse()
129 || (container.getTagNumber() != expectedTagNumber)) { in parse()
135 container.getTagClass(), container.getTagNumber())); in parse()
382 tagNumber = BerEncoding.getTagNumber(mDataType); in AnnotatedField()
419 int readTagNumber = dataValue.getTagNumber(); in setValueFrom()
DAsn1DerEncoder.java383 tagNumber = BerEncoding.getTagNumber(mDataType); in AnnotatedField()
421 int originalTagNumber = BerEncoding.getTagNumber(encoded[0]); in toDer()
531 BerEncoding.getTagNumber(targetType), in toDer()
553 BerEncoding.getTagNumber(targetType), ((String) source).getBytes()); in toDer()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DBerEncoding.java103 public static int getTagNumber(Asn1Type dataType) { in getTagNumber() method in BerEncoding
218 public static int getTagNumber(byte firstIdentifierByte) { in getTagNumber() method in BerEncoding
DBerDataValue.java65 public int getTagNumber() { in getTagNumber() method in BerDataValue
DByteBufferBerDataValueReader.java94 int tagNumber = BerEncoding.getTagNumber(firstIdentifierByte); in readTagNumber()
DInputStreamBerDataValueReader.java104 int tagNumber = BerEncoding.getTagNumber((byte) firstIdentifierByte); in readTagNumber()