Skip to content

Commit

Permalink
Fix requirement around cryptosuite property.
Browse files Browse the repository at this point in the history
Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
msporny and TallTed committed Jun 9, 2024
1 parent a6f2eb0 commit 02e99a4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -784,18 +784,20 @@ <h3>Proofs</h3>

<dt>verificationMethod</dt>
<dd>
If included, `verificationMethod`, the means and information needed to verify the proof,
MUST be specified as a string that maps to a [[URL]]. An example of a verification method
is a link to a [=public key=] which includes cryptographic material that is used
A verification method is the means and information needed to verify the proof.
If included, the value MUST be a string that maps to a [[URL]]. An example of a
verification method is a link to a [=public key=] which includes cryptographic material that is used
by a verifier during the verification process. Inclusion of `verificationMethod` is OPTIONAL,
but if it is not included, other properties such as `cryptosuite` MUST provide a mechanism
by which to obtain the required information to verify the proof.
</dd>

<dt>cryptosuite</dt>
<dd>
Information about the cryptographic suite that was used to generate the proof. See
[[[#cryptographic-suites]]] for more information. `cryptosuite` is REQUIRED.
An identifier for the cryptographic suite that can be used to verify the proof. See
[[[#cryptographic-suites]]] for more information. If the proof type is
`DataIntegrityProof`, `cryptosuite` MUST be specified; otherwise, `cryptosuite`
MAY be specified. If specified, its value MUST be a string.
</dd>

<dt><dfn class="lint-ignore">created</dfn></dt>
Expand Down Expand Up @@ -4539,7 +4541,7 @@ <h2>Revision History</h2>
Ensure that base URL is set to null when processing as RDF.
</li>
<li>
Updated requirements for `proof` objects.
Added requirement that `DataIntegrityProof` objects need to contain the `cryptosuite` property.
</li>
</ul>
</section>
Expand Down

0 comments on commit 02e99a4

Please sign in to comment.