Skip to content

Commit

Permalink
Clarify how to create a canonicalDocument in each algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Jun 21, 2024
1 parent 1eac0a4 commit 4d26608
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -736,12 +736,11 @@ <h4>Transformation (ecdsa-rdfc-2019)</h4>
raised.
</li>
<li>
Let |canonicalDocument| be the result of applying the
Universal RDF Dataset Canonicalization Algorithm
[[RDF-CANON]] to the |unsecuredDocument|.
</li>
<li>
Set |output| to the value of |canonicalDocument|.
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 Universal RDF Dataset Canonicalization
Algorithm [[RDF-CANON]] to the result, and then serializing the result to
[[N-QUADS]].
</li>
<li>
Return |canonicalDocument| as the <em>transformed data document</em>.
Expand Down Expand Up @@ -1095,10 +1094,8 @@ <h4>Transformation (ecdsa-jcs-2019)</h4>
</li>
<li>
Let |canonicalDocument| be the result of applying the
JSON Canonicalization Scheme [[RFC8785]] to the |unsecuredDocument|.
</li>
<li>
Set |output| to the value of |canonicalDocument|.
JSON Canonicalization Scheme [[RFC8785]] to a JSON serialization of the
|unsecuredDocument|.
</li>
<li>
Return |canonicalDocument| as the <em>transformed data document</em>.
Expand Down

0 comments on commit 4d26608

Please sign in to comment.