@Override
    protected void engineInit(byte[] bytes) throws IOException {
        long readRef = 0;
        try {
            readRef = NativeCrypto.asn1_read_init(bytes);
            byte[] newIv = NativeCrypto.asn1_read_octetstring(readRef);
            if (!NativeCrypto.asn1_read_is_empty(readRef)) {
                throw new IOException("Error reading ASN.1 encoding");
            }
            this.iv = newIv;
        } finally {
            NativeCrypto.asn1_read_free(readRef);
        }
    }
An implementation of {@link java.security.AlgorithmParameters} that contains only an IV.  The
supported encoding formats are ASN.1 (primary) and RAW.
common/src/main/java/org/conscrypt/IvParameters.java