pub fn canonicalize_proof_value(value: &Value) -> Result<Vec<u8>, ProtocolError>
Returns RFC 8785-compatible canonical bytes for the restricted proof profile.