From fcf0ba08e0013d699a9e9b758e4fa99d3b317038 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Fri, 21 Jun 2024 13:38:00 -0400 Subject: [PATCH] Clarify how to create a canonicalDocument in each algorithm. --- index.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index abc863f..0e81718 100644 --- a/index.html +++ b/index.html @@ -636,9 +636,11 @@

Transformation (eddsa-rdfc-2022)

raised.
  • -Let canonicalDocument be the result of applying the -Universal RDF Dataset Canonicalization Algorithm -[[RDF-CANON]] to the unsecuredDocument. +Let |canonicalDocument| be the result of converting |unsecuredDocument| + +to RDF statements, applying the Universal RDF Dataset Canonicalization +Algorithm [[RDF-CANON]] to the result, and then serializing the result to +[[N-QUADS]].
  • Return canonicalDocument as the transformed data document. @@ -1009,7 +1011,8 @@

    Transformation (eddsa-jcs-2022)

  • Let canonicalDocument be the result of applying the -JSON Canonicalization Scheme [[RFC8785]] to the unsecuredDocument. +JSON Canonicalization Scheme [[RFC8785]] to a JSON serialization of the +unsecuredDocument.
  • Return canonicalDocument as the transformed data document. @@ -2018,12 +2021,11 @@

    Transformation (Ed25519Signature2020)

    `Ed25519Signature2020`, then a `PROOF_TRANSFORMATION_ERROR` MUST be raised.
  • - Let canonicalDocument be the result of applying the - Universal RDF Dataset Canonicalization Algorithm - [[RDF-CANON]] to the unsecuredDocument. -
  • -
  • - Set output to the value of canonicalDocument. + Let |canonicalDocument| be the result of converting |unsecuredDocument| + + to RDF statements, applying the Universal RDF Dataset Canonicalization + Algorithm [[RDF-CANON]] to the result, and then serializing the result to + [[N-QUADS]].
  • Return canonicalDocument as the transformed data document.