- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testReadUnparsedTagged_WrongTag (0.15 seconds)
-
src/test/java/jcifs/pac/ASN1UtilTest.java
byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais); assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result); } @Test void testReadUnparsedTagged_WrongTag() { // Expecting tag 2, but data has tag 1 byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 }; ByteArrayInputStream bais = new ByteArrayInputStream(data);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0)