Skip to content

Commit

Permalink
Clarify how unsecured document is converted to canonical document.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Jul 30, 2024
1 parent b41cbf7 commit 91016be
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2031,11 +2031,12 @@ <h4>Transformation (Ed25519Signature2020)</h4>
<a data-cite="VC-DATA-INTEGRITY#PROOF_TRANSFORMATION_ERROR">PROOF_TRANSFORMATION_ERROR</a>.
</li>
<li>
Let |canonicalDocument| be the result of converting |unsecuredDocument|
<a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">
to RDF statements</a>, applying the RDF Dataset Canonicalization
algorithm [[RDF-CANON]] to the result, and then serializing the result to
[[N-QUADS]].
Let |canonicalDocument| be the result of converting |unsecuredDocument| to
<a data-cite="JSON-LD11-API#expansion-algorithm">JSON-LD expanded form</a>
and then <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">
to RDF statements</a>, applying the <a data-cite="RDF-CANON#canon-algorithm">
Universal RDF Dataset Canonicalization Algorithm</a>, and then serializing the
result to [[N-QUADS]].
</li>
<li>
Return <var>canonicalDocument</var> as the <em>transformed data document</em>.
Expand Down

0 comments on commit 91016be

Please sign in to comment.