Skip to content

Commit

Permalink
JCS Context Injection: update proofConfig to be clone of options as d…
Browse files Browse the repository at this point in the history
…one in all other specs and don't set individual fields.

Co-authored-by: Dave Longley <[email protected]>
  • Loading branch information
2 people authored and msporny committed Jun 9, 2024
1 parent 632f297 commit 32ed017
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1082,14 +1082,6 @@ <h4>Proof Configuration (eddsa-jcs-2022)</h4>
Let <var>proofConfig</var> be a clone of the <var>options</var> object.
</li>
<li>
Set <var>proofConfig</var>.<var>type</var> to
<var>options</var>.<var>type</var>.
</li>
<li>
If <var>options</var>.<var>cryptosuite</var> is set, set
<var>proofConfig</var>.<var>cryptosuite</var> to its value.
</li>
<li>
If <var>options</var>.<var>type</var> is not set to `DataIntegrityProof` and
<var>proofConfig</var>.<var>cryptosuite</var> is not set to `eddsa-jcs-2022`, an
`INVALID_PROOF_CONFIGURATION` error MUST be raised.
Expand Down

0 comments on commit 32ed017

Please sign in to comment.