You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+128Lines changed: 128 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2599,6 +2599,134 @@ <h3>Data Schemas</h3>
2599
2599
2600
2600
</section>
2601
2601
2602
+
<section>
2603
+
<h2>Integrity of Related Resources</h2>
2604
+
<p>
2605
+
When including a link to an external resource in a
2606
+
<a>verifiable credential</a>, it is desirable to know whether
2607
+
the resource that is pointed to is the same at signing time as
2608
+
it is at verification time. This applies to cases where there
2609
+
is an external resource that is remotely retrieved as well as
2610
+
to cases where the <a>issuer</a> and/or
2611
+
<a>verifier</a> may have local cached copies of a resource.
2612
+
</p>
2613
+
<p>
2614
+
It is also desirable to know that the contents of the JSON-LD
2615
+
context(s) used in the <a>verifiable credential</a> are the
2616
+
same when used by both the <a>issuer</a> and <a>verifier</a>.
2617
+
</p>
2618
+
<p>
2619
+
To validate that a resource referenced by a <a>verifiable
2620
+
credential</a> is the same at verification time as it is at
2621
+
issuing time, an implementer MAY include a property named
2622
+
<code>relatedResource</code> that stores an array of objects
2623
+
that describe additional integrity metadata about each
2624
+
resource referenced by the <a>verifiable credential</a>. If
2625
+
<code>relatedResource</code>
2626
+
is present, there MUST be an object in the array for each remote
2627
+
resource for each context used in the verifiable credential.
2628
+
</p>
2629
+
<pclass="issue" title="Mandatory listing of contexts in relatedResouce are under debate.">
2630
+
The requirement that contexts be listed in `relatedResource` is currently being debated in the VCWG. This requirement might be removed in future iterations of the specification.
2631
+
</p>
2632
+
<p>
2633
+
Each object in the
2634
+
<code>relatedResource</code> array MUST contain the following:
2635
+
the [[URL]] to the resource named <code>id</code> and the
2636
+
<code>digestSRI</code> information for the resource
<pclass="issue" title="Unification of cryptographic hash expression formats are under discussion">
2642
+
The Working Group is currently attempting to determine if cryptographic hash expression formats can be unified across all of the VCWG core specifications. Candidates for this mechanism include `digestSRI` and `digestMultibase`. There are arguments for and against unification that the WG is currently debating.
2643
+
</p>
2644
+
There MUST NOT be more than one object in the
2645
+
<code>relatedResource</code> per <code>id</code>.
2646
+
</p>
2647
+
<p>
2648
+
An object in the <code>relatedResource</code> array MAY
2649
+
contain a property named <code>mediaType</code> that indicates
2650
+
the expected media type for the indicated
2651
+
<code>resource</code>. If a <code>mediaType</code> is included
0 commit comments