From 02e99a48146ff64abee6c4275a81829cb257115c Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Sun, 9 Jun 2024 11:44:28 -0400 Subject: [PATCH] Fix requirement around `cryptosuite` property. Co-authored-by: Ted Thibodeau Jr --- index.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index ad619af..a69a137 100644 --- a/index.html +++ b/index.html @@ -784,9 +784,9 @@

Proofs

verificationMethod
-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. @@ -794,8 +794,10 @@

Proofs

cryptosuite
-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.
created
@@ -4539,7 +4541,7 @@

Revision History

Ensure that base URL is set to null when processing as RDF.
  • -Updated requirements for `proof` objects. +Added requirement that `DataIntegrityProof` objects need to contain the `cryptosuite` property.