Skip to content

Commit 96e78f1

Browse files
wip-abramsonTallTed
authored andcommitted
Apply suggestions from code review for clarity.
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent d065b23 commit 96e78f1

1 file changed

Lines changed: 15 additions & 14 deletions

File tree

index.html

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ <h4>Create Proof (experimental-shs-2025)</h4>
999999
</li>
10001000
<li>
10011001
Let |transformedData| be the result of running the algorithm in Section <a
1002-
href="#transformation"></a> with |unsecuredDocument|, |options| and
1002+
href="#transformation"></a> with |unsecuredDocument|, |options|, and
10031003
`experimental-shs-2025` passed as parameters.
10041004
</li>
10051005
<li>
@@ -1141,7 +1141,7 @@ <h4>Proof Verification (experimental-shs-2025)</h4>
11411141
<a data-cite="vc-data-integrity#algorithms">
11421142
Section 4: Algorithms</a>. Required inputs are
11431143
cryptographic hash data (|hashData|),
1144-
a digital signature (|proofBytes|) and
1144+
a digital signature (|proofBytes|), and
11451145
proof options (|options|). A <em>verification result</em>
11461146
represented as a boolean value is produced as output.
11471147
</p>
@@ -1205,7 +1205,7 @@ <h4>Create Proof (experimental-falcon-2025)</h4>
12051205
</li>
12061206
<li>
12071207
Let |transformedData| be the result of running the algorithm in Section <a
1208-
href="#transformation"></a> with |unsecuredDocument|, |options| and
1208+
href="#transformation"></a> with |unsecuredDocument|, |options|, and
12091209
`experimental-falcon-2025` passed as parameters.
12101210
</li>
12111211
<li>
@@ -1234,7 +1234,7 @@ <h4>Verify Proof (experimental-falcon-2025)</h4>
12341234

12351235
<p>
12361236
The following algorithm specifies how to verify a [=data integrity proof=] given
1237-
an <a>secured data document</a>. Required inputs are an
1237+
an <a>secured data document</a>. Required input is a
12381238
<a>secured data document</a> ([=map=] |securedDocument|). This algorithm returns
12391239
a <dfn>verification result</dfn>, which is a [=struct=] whose
12401240
[=struct/items=] are:
@@ -1265,7 +1265,7 @@ <h4>Verify Proof (experimental-falcon-2025)</h4>
12651265
</li>
12661266
<li>
12671267
Let |transformedData| be the result of running the algorithm in Section <a
1268-
href="#transformation"></a> with |unsecuredDocument|, |proofOptions|
1268+
href="#transformation"></a> with |unsecuredDocument|, |proofOptions|,
12691269
and `experimental-falcon-2025` passed as parameters.
12701270
</li>
12711271
<li>
@@ -1290,7 +1290,7 @@ <h4>Verify Proof (experimental-falcon-2025)</h4>
12901290
<dd>|verified|</dd>
12911291
<dt>[=verifiedDocument=]</dt>
12921292
<dd>
1293-
|unsecuredDocument| if |verified| is `true`, otherwise <a data-cite="INFRA#nulls">Null</a></dd>
1293+
|unsecuredDocument| if |verified| is `true`; otherwise, <a data-cite="INFRA#nulls">Null</a></dd>
12941294
</dl>
12951295
</li>
12961296
</ol>
@@ -1347,7 +1347,7 @@ <h4>Proof Verification (experimental-falcon-2025)</h4>
13471347
<a data-cite="vc-data-integrity#algorithms">
13481348
Section 4: Algorithms</a>. Required inputs are
13491349
cryptographic hash data (|hashData|),
1350-
a digital signature (|proofBytes|) and
1350+
a digital signature (|proofBytes|), and
13511351
proof options (|options|). A <em>verification result</em>
13521352
represented as a boolean value is produced as output.
13531353
</p>
@@ -1411,7 +1411,7 @@ <h4>Create Proof (experimental-sqi-2025)</h4>
14111411
</li>
14121412
<li>
14131413
Let |transformedData| be the result of running the algorithm in Section <a
1414-
href="#transformation"></a> with |unsecuredDocument|, |options| and
1414+
href="#transformation"></a> with |unsecuredDocument|, |options|, and
14151415
`experimental-sqi-2025` passed as parameters.
14161416
</li>
14171417
<li>
@@ -1440,7 +1440,7 @@ <h4>Verify Proof (experimental-sqi-2025)</h4>
14401440

14411441
<p>
14421442
The following algorithm specifies how to verify a [=data integrity proof=] given
1443-
an <a>secured data document</a>. Required inputs are an
1443+
an <a>secured data document</a>. Required input is a
14441444
<a>secured data document</a> ([=map=] |securedDocument|). This algorithm returns
14451445
a <dfn>verification result</dfn>, which is a [=struct=] whose
14461446
[=struct/items=] are:
@@ -1471,7 +1471,7 @@ <h4>Verify Proof (experimental-sqi-2025)</h4>
14711471
</li>
14721472
<li>
14731473
Let |transformedData| be the result of running the algorithm in Section <a
1474-
href="#transformation"></a> with |unsecuredDocument|, |proofOptions| and
1474+
href="#transformation"></a> with |unsecuredDocument|, |proofOptions|, and
14751475
`experimental-sqi-2025` passed as parameters.
14761476
</li>
14771477
<li>
@@ -1555,7 +1555,7 @@ <h4>Proof Verification (experimental-sqi-2025)</h4>
15551555
<a data-cite="vc-data-integrity#algorithms">
15561556
Section 4: Algorithms</a>. Required inputs are
15571557
cryptographic hash data (|hashData|),
1558-
a digital signature (|proofBytes|) and
1558+
a digital signature (|proofBytes|), and
15591559
proof options (|options|). A <em>verification result</em>
15601560
represented as a boolean value is produced as output.
15611561
</p>
@@ -1598,7 +1598,7 @@ <h4>Transformation</h4>
15981598
Required inputs to this algorithm are an
15991599
<a data-cite="vc-data-integrity#dfn-unsecured-data-document">
16001600
unsecured data document</a> (|unsecuredDocument|),
1601-
transformation options (|options|) and a cryptosuite identifier (|cryptosuite|). The
1601+
transformation options (|options|), and a cryptosuite identifier (|cryptosuite|). The
16021602
transformation options MUST contain a type identifier for the
16031603
<a data-cite="vc-data-integrity#dfn-cryptosuite">
16041604
cryptographic suite</a> (|type|) and a cryptosuite
@@ -1610,7 +1610,7 @@ <h4>Transformation</h4>
16101610
<ol class="algorithm">
16111611
<li>
16121612
If |options|.|type| is not set to the string
1613-
`DataIntegrityProof` and |options|.|cryptosuite| is not
1613+
`DataIntegrityProof` and/or |options|.|cryptosuite| is not
16141614
set to the <em>cryptosuite</em> value then a `PROOF_TRANSFORMATION_ERROR` MUST be
16151615
raised.
16161616
</li>
@@ -1684,7 +1684,8 @@ <h4>Proof Configuration</h4>
16841684

16851685
<p>
16861686
The required inputs to this algorithm are <em>proof options</em>
1687-
(|options|) and a <em>cryptosuite identifier</em> (|cryptosuite|). The <em>proof options</em> MUST contain a type identifier
1687+
(|options|) and a <em>cryptosuite identifier</em> (|cryptosuite|). The
1688+
<em>proof options</em> MUST contain a type identifier
16881689
for the
16891690
<a data-cite="vc-data-integrity#dfn-cryptosuite">
16901691
cryptographic suite</a> (|type|) and MUST contain the cryptosuite

0 commit comments

Comments
 (0)