public static int getTag(byte[] raw) {
        try (final Asn1InputStream is = new Asn1InputStream(raw)) {
            return is.readTag();
        }
    }
@Test
    public void getTagTripleByte() {
        assertEquals(0x7f8102, Asn1Utils.getTag(new byte[] { 0x7f, (byte) 0x81, 02, 0}));
    }