Searched refs:SequenceWithInteger (Results 1 – 1 of 1) sorted by relevance
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoderTest.java | 36 assertEquals("3003020100", encodeToHex(new SequenceWithInteger(0))); in testInteger() 37 assertEquals("300302010c", encodeToHex(new SequenceWithInteger(12))); in testInteger() 38 assertEquals("300302017f", encodeToHex(new SequenceWithInteger(0x7f))); in testInteger() 39 assertEquals("3004020200ff", encodeToHex(new SequenceWithInteger(0xff))); in testInteger() 40 assertEquals("30030201ff", encodeToHex(new SequenceWithInteger(-1))); in testInteger() 41 assertEquals("3003020180", encodeToHex(new SequenceWithInteger(-128))); in testInteger() 42 assertEquals("3005020300ffee", encodeToHex(new SequenceWithInteger(0xffee))); in testInteger() 43 assertEquals("300602047fffffff", encodeToHex(new SequenceWithInteger(Integer.MAX_VALUE))); in testInteger() 44 assertEquals("3006020480000000", encodeToHex(new SequenceWithInteger(Integer.MIN_VALUE))); in testInteger() 201 new SequenceWithInteger(0), in testUnencodedContainer() [all …]
|