Skip to content

Commit fc22559

Browse files
ihermanmspornyTallTed
authored
Update the text on vocabulary hashes
Co-authored-by: Manu Sporny <[email protected]> Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent d41c9af commit fc22559

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

index.html

+11-12
Original file line numberDiff line numberDiff line change
@@ -6977,24 +6977,23 @@ <h3>Vocabularies</h3>
69776977
<p>
69786978
Implementations that depend on RDF vocabulary processing MUST ensure that the
69796979
following vocabulary URLs used in the base context ultimately resolve to the
6980-
following files, which are normative. Other semantically equivalent
6980+
following files when loading the JSON-LD serializations, which are normative. Other semantically equivalent
69816981
serializations of the vocabulary files MAY be used by implementations.
6982-
Cryptographic hashes are provided for all content to ensure that developers can
6983-
verify that the contents of each file are correct.
6982+
Cryptographic hashes are provided for all the JSON-LD content to ensure that developers can
6983+
verify that the content of each file is correct.
69846984
</p>
69856985

69866986
<table class="simple">
69876987
<thead>
69886988
<tr>
6989-
<th>URL and Media Type</th>
6990-
<th>Content and Hashes</th>
6989+
<th>URL</th>
6990+
<th>JSON-LD Content and Hashes</th>
69916991
</tr>
69926992
</thead>
69936993
<tbody>
69946994
<tr>
69956995
<td>
6996-
https://www.w3.org/2018/credentials#<br>
6997-
`application/ld+json`
6996+
https://www.w3.org/2018/credentials#
69986997
</td>
69996998
<td>
70006999
https://www.w3.org/2018/credentials/index.jsonld<br><br>
@@ -7005,8 +7004,7 @@ <h3>Vocabularies</h3>
70057004
</tr>
70067005
<tr>
70077006
<td>
7008-
https://w3id.org/security#<br>
7009-
`application/ld+json`
7007+
https://w3id.org/security#
70107008
</td>
70117009
<td>
70127010
https://w3c.github.io/vc-data-integrity/vocab/security/vocabulary.jsonld<br><br>
@@ -7019,9 +7017,10 @@ <h3>Vocabularies</h3>
70197017
</table>
70207018

70217019
<p>
7022-
It is possible to confirm the cryptographic digests listed above by running the
7023-
following command from a modern Unix command interface line:
7024-
`curl -sL -H "Accept: &lt;MEDIA_TYPE>" &lt;DOCUMENT_URL> | openssl dgst -&ltDIGEST_ALGORITHM> -binary | openssl base64 -nopad -a`
7020+
It is possible to confirm the cryptographic digests listed above by running
7021+
a command like the following (replacing `&lt;DOCUMENT_URL>` and `&lt;DIGEST_ALGORITHM>`
7022+
with appropriate values) through a modern UNIX-like OS command line interface:
7023+
`curl -sL -H "Accept: application/ld+json" &lt;DOCUMENT_URL> | openssl dgst -&lt;DIGEST_ALGORITHM> -binary | openssl base64 -nopad -a`
70257024
</p>
70267025

70277026
<p class="note"

0 commit comments

Comments
 (0)