pub fn with_data_integrity_context(document: Value) -> Option<Value>Expand description
document with DATA_INTEGRITY_CONTEXT in its @context, however that
is shaped — added to an array, made an array with a single context, or
set when there is none — and as it was if it is there already. None
when document is not an object.
A proof signs @context with the rest, so this comes before
sign_object_integrity_proof, not after.