Skip to content

Commit

Permalink
Incorporate additional custom proof options: wording and grammar impr…
Browse files Browse the repository at this point in the history
…ovements.

Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
Wind4Greg and TallTed authored Jul 1, 2024
1 parent b664f6a commit eda1aa7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -721,18 +721,18 @@ <h4>Proof Configuration (eddsa-rdfc-2022)</h4>
<a data-cite="VC-DATA-INTEGRITY#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
</li>
<li>
If |proofConfig|.|created| is set and if the value is not a
If |proofConfig|.|created| is set to a value that is not a
valid [[XMLSCHEMA11-2]] datetime, an error MUST be
raised and SHOULD convey an error type of
<a data-cite="VC-DATA-INTEGRITY#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
</li>
<li>
Set |proofConfig|.<var>@context </var>to
|unsecuredDocument|.<var>@contex</var>t.
|unsecuredDocument|.<var>@context</var>.
</li>
<li>
Let |canonicalProofConfig| be the result of applying the
Universal RDF Dataset Canonicalization Algorithm
RDF Dataset Canonicalization Algorithm
[[RDF-CANON]] to the |proofConfig|.
</li>
<li>
Expand Down Expand Up @@ -1073,13 +1073,13 @@ <h4>Proof Configuration (eddsa-jcs-2022)</h4>
Let <var>proofConfig</var> be a clone of the <var>options</var> object.
</li>
<li>
If <var>proofConfig</var>.<var>type</var> is not set to `DataIntegrityProof` and
If <var>proofConfig</var>.<var>type</var> is not set to `DataIntegrityProof` and/or
<var>proofConfig</var>.<var>cryptosuite</var> is not set to `eddsa-jcs-2022`,
an error MUST be raised and SHOULD convey an error type of
<a data-cite="VC-DATA-INTEGRITY#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
</li>
<li>
If |proofConfig|.|created| is set and if the value is not a
If |proofConfig|.|created| is set to a value that is not a
valid [[XMLSCHEMA11-2]] datetime, an error MUST be
raised and SHOULD convey an error type of
<a data-cite="VC-DATA-INTEGRITY#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
Expand Down Expand Up @@ -1928,7 +1928,7 @@ <h3>Ed25519Signature2020</h3>
<p>
The `Ed25519Signature2020` cryptographic suite takes an input document,
canonicalizes the document using the RDF Dataset Canonicalization algorithm [[RDF-CANON]],
and then cryptographically hashes and signs the output
and then cryptographically hashes and signs the output,
resulting in the production of a data integrity proof. The algorithms in this
section also include the verification of such a data integrity proof.
</p>
Expand Down Expand Up @@ -2094,7 +2094,7 @@ <h4>Proof Configuration (Ed25519Signature2020)</h4>
<a data-cite="VC-DATA-INTEGRITY#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
</li>
<li>
If |proofConfig|.|created| is set and if the value is not a
If |proofConfig|.|created| is set to a value that is not a
valid [[XMLSCHEMA11-2]] datetime, an error MUST be
raised and SHOULD convey an error type of
<a data-cite="VC-DATA-INTEGRITY#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
Expand Down

0 comments on commit eda1aa7

Please sign in to comment.