Skip to content

Commit

Permalink
Fix grammar and flow in Section 2.3 Resource Integrity.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Aug 24, 2024
1 parent 71fe7f9 commit 66862bb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1129,13 +1129,11 @@ <h2>Resource Integrity</h2>
<a data-cite="CONTROLLER-DOCUMENT#multihash">Multihash</a> value.
</p>
<p>
JSON-LD context authors are expected to add `digestMultibase` to contexts that will
be used in documents that refer to other resources and to include an associated
cryptographic digest. For example, the [[[VC-DATA-MODEL-2.0]]] refers to
context (`https://www.w3.org/ns/credentials/v2`) which includes
`digestMultibase`, and the [[[VC-DATA-MODEL-2.0]]] includes
<a data-cite="VC-DATA-MODEL-2.0#base-context">the hexadecimal encoded
SHA2-256 digest value</a> of that context document.
JSON-LD context authors are expected to add `digestMultibase` to contexts that
will be used in documents that refer to other resources and to include an
associated cryptographic digest. For example, the [[[VC-DATA-MODEL-2.0]]] base
context (`https://www.w3.org/ns/credentials/v2`) includes the
`digestMultibase` property.
</p>

<p>
Expand All @@ -1148,7 +1146,7 @@ <h2>Resource Integrity</h2>
...
"image": {
"id": "https://university.example.org/images/58473",
"digestMultibase": "zQmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n"
<span class="highlight">"digestMultibase": "zQmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n"</span>
},
...
}
Expand Down

0 comments on commit 66862bb

Please sign in to comment.