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