Skip to content

Commit 966d33e

Browse files
ottomoracwip-abramsonTallTed
authored
TAG Review: Add examples of how to use DID resolution to solve the end-users' problems (#207)
* add design goals section * Update index.html Co-authored-by: Will Abramson <[email protected]> * Update index.html Co-authored-by: Will Abramson <[email protected]> * Update index.html Co-authored-by: Will Abramson <[email protected]> * Update index.html Co-authored-by: Will Abramson <[email protected]> * Update index.html Co-authored-by: Will Abramson <[email protected]> * Update index.html Co-authored-by: Ted Thibodeau Jr <[email protected]> * Update index.html Co-authored-by: Ted Thibodeau Jr <[email protected]> * Update index.html Co-authored-by: Ted Thibodeau Jr <[email protected]> * Update index.html Co-authored-by: Ted Thibodeau Jr <[email protected]> * Update index.html Co-authored-by: Ted Thibodeau Jr <[email protected]> * Update index.html Co-authored-by: Ted Thibodeau Jr <[email protected]> * Update index.html Co-authored-by: Will Abramson <[email protected]> --------- Co-authored-by: Will Abramson <[email protected]> Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 3b9cabb commit 966d33e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

index.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,33 @@ <h1>Introduction</h1>
192192
is being thoroughly discussed by the community. For example, see
193193
<a href="https://github.com/w3c/did-spec/issues/166#issuecomment-464502719">this comment</a>.</p>
194194

195+
<section id="design-goals" class="informative">
196+
<h2>Implementer Overview</h2>
197+
<p>
198+
By invoking a <a>DID resolver</a> using the standard <code>resolve(did, resolutionOptions)</code> interface (as defined in
199+
the <a href="#resolving">DID Resolution section</a>) one can obtain a <a>DID document</a> and accompanying metadata
200+
(e.g., `contentType`, proof, versioning) which an application can use to validate a user's cryptographic keys,
201+
service endpoints, or status.
202+
<p>
203+
For example, a wallet app could resolve <code>did:example:123?versionTime=2021-05-10T17:00:00Z</code>
204+
using the `versionTime` parameter to retrieve the state of that DID at a past time, or a client could
205+
dereference a DID URL
206+
like <code>did:example:123?service=files&relativeRef=/resume.pdf</code>
207+
(see <a href="#example-dereferencing-to-service-endpoint-url">here for detailed example</a>)
208+
to fetch a user's resume stored via a service declared in the DID document.
209+
</p>
210+
<p>
211+
Further, the specification's <a href="#dereferencing-algorithm">DID URL dereferencing algorithm</a> shows how
212+
a client can follow a fragment (e.g., <code>#key-1</code>) to extract a particular verification method from
213+
the <a>DID document</a> (see <a href="#example-dereferencing-to-verification-method">here for detailed example</a>).
214+
In practice, implementers validate their resolver against the
215+
<a href="https://github.com/w3c-ccg/did-resolution-test-suite">DID Resolution Test Suite</a> which exercises
216+
normative MUSTs and error conditions (such as invalid DIDs, deactivated DIDs, unsupported methods,
217+
relative URL expansion, etc.) to ensure that client applications can reliably depend on correct resolution behavior
218+
across different DID methods.
219+
</p>
220+
</section>
221+
195222
<section id="conformance">
196223

197224
<p>

0 commit comments

Comments
 (0)