Skip to content

Commit

Permalink
Base DataIntegrityProof proof contents on those in the Data Integrity…
Browse files Browse the repository at this point in the history
… specification.
  • Loading branch information
Wind4Greg authored and msporny committed Jul 15, 2024
1 parent 82405ff commit 7c42917
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -359,28 +359,17 @@ <h3>Proof Representations</h3>
<h4>DataIntegrityProof</h4>

<p>
The `verificationMethod` property of the proof MUST be a URL.
Dereferencing the `verificationMethod` MUST result in an object
containing a `type` property with the value set to
`Multikey`.
A proof contains the attributes specified in the
<a href="https://www.w3.org/TR/vc-data-integrity/#proofs">Proofs section</a>
of [[VC-DATA-INTEGRITY]] with the following restrictions.
</p>

<p>
The `type` property of the proof MUST be `DataIntegrityProof`.
The `type` property MUST be `DataIntegrityProof`.
</p>
<p>
The `cryptosuite` property of the proof MUST be `eddsa-rdfc-2022` or `eddsa-jcs-2022`.
</p>
<p>
The `created` property of the proof MUST be an [[XMLSCHEMA11-2]]
formatted date string.
</p>
<p>
The `proofPurpose` property of the proof MUST be a string, and MUST
match the verification relationship expressed by the verification method
`controller`.
</p>
<p>
The `proofValue` property of the proof MUST be a detached EdDSA
produced according to [[RFC8032]], encoded using the base-58-btc header and
alphabet as described in the
Expand Down Expand Up @@ -480,7 +469,7 @@ <h3>eddsa-rdfc-2022</h3>

<p>
The `eddsa-rdfc-2022` cryptographic suite takes an input document, canonicalizes
the document using the RDF Dataset Canonicalization algorithm [[RDF-CANON]], and then
the document using the RDF Dataset Canonicalization algorithm [[RDF-CANON]], and then
cryptographically hashes and signs the output
resulting in the production of a data integrity proof. The algorithms in this
section also include the verification of such a data integrity proof.
Expand Down Expand Up @@ -1953,7 +1942,7 @@ <h3>Ed25519Signature2020</h3>

<p>
The `Ed25519Signature2020` cryptographic suite takes an input document,
canonicalizes the document using the RDF Dataset Canonicalization algorithm [[RDF-CANON]],
canonicalizes the document using the RDF Dataset Canonicalization algorithm [[RDF-CANON]],
and then cryptographically hashes and signs the output
resulting in the production of a data integrity proof. The algorithms in this
section also include the verification of such a data integrity proof.
Expand Down

0 comments on commit 7c42917

Please sign in to comment.