Skip to content

Commit

Permalink
Simplify JCS Create Proof algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Aug 4, 2024
1 parent 7c91cb9 commit 26497cc
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 @@ -950,22 +950,22 @@ <h4>Create Proof (ecdsa-jcs-2019)</h4>

<ol class="algorithm">
<li>
If <var>unsecuredDocument</var>.<var>@context</var> is present, set
<var>options</var>.<var>@context</var> to
<var>unsecuredDocument</var>.<var>@context</var>.
Let |proof| be a clone of the proof options, |options|.
</li>
<li>
Let |proof| be a clone of the proof options, |options|.
If <var>unsecuredDocument</var>.<var>@context</var> is present, set
<var>proof</var>.<var>@context</var> to
<var>unsecuredDocument</var>.<var>@context</var>.
</li>
<li>
Let |proofConfig| be the result of running the algorithm in
Section [[[#proof-configuration-ecdsa-jcs-2019]]] with
|options| passed as a parameter.
|proof| passed as a parameter.
</li>
<li>
Let |transformedData| be the result of running the algorithm in Section <a
href="#transformation-ecdsa-jcs-2019"></a> with |unsecuredDocument|,
|proofConfig|, and |options| passed as parameters.
href="#transformation-ecdsa-jcs-2019"></a> with |unsecuredDocument|
and |options| passed as parameters.
</li>
<li>
Let |hashData| be the result of running the algorithm in Section
Expand Down

0 comments on commit 26497cc

Please sign in to comment.