Closed jyasskin closed 6 months ago
This is fixed by #226, which includes:
The algorithms defined below operate on documents represented as JSON objects. This specification follows [JSON-LD-API] in representing a JSON object as an [Infra] map. An unsecured data document is a JSON object with no "proof" key. A secured data document is a JSON object with a "proof" key.
PR #226 has been merged, thank you for the PR @jyasskin! Closing.
https://www.w3.org/TR/vc-data-integrity/#dfn-unsecured-data-document and https://www.w3.org/TR/vc-data-integrity/#dfn-secured-data-document don't say what operations they support. We have some steps like "Set output.proof to the value of proof." and "Let unsecuredDocument be a copy of securedDocument with the proof value removed." that imply these are similar to JavaScript objects, but I couldn't find any direct statements to that effect.