public static String decodeObjectIdentifier(byte[] data) {
        return decodeObjectIdentifier(data, 0, data.length);
    }
@Test
    public void decodeObjectIdentifierWithOffsetAndLength() {
        assertEquals("1.2.3", Asn1Utils.decodeObjectIdentifier(
            new byte[] { (byte) 0xff, (byte) 0x2a, 3, (byte) 0xff }, 1, 2
        ));
    }