diff --git a/index.html b/index.html index 62ece27..476984e 100644 --- a/index.html +++ b/index.html @@ -1001,36 +1001,41 @@
The following DID URL dereferencing algorithm MUST be implemented by a conformant DID resolver. - In accordance with [[RFC3986]], it consists of the following steps: Resolving the DID, dereferencing the primary - resource, and dereferencing the secondary resource (only if the input DID URL contains a DID fragment:
+ In accordance with [[RFC3986]], it consists of the following three steps: resolving the DID; dereferencing the + resource; and dereferencing the fragment (only if the input DID URL contains a DID fragment): -«[ "error" → "invalidDidUrl" ]»
null
«[ ]»
«[ "error" → "invalidDidUrl" ]»
null
«[ ]»
did:example:1234+
service
and optionally the relativeRef
DID parameter:
did:example:1234?service=files&relativeRef=%2Fmyresume%2Fdoc%3Fversion%3Dlatest@@ -1051,12 +1056,6 @@
did:example:1234-
did:example:1234/custom/path?customquery
If the input DID URL contains a DID fragment, - then dereferencing of the secondary resource identified by the URL is dependent not on the URI scheme, but - on the media type ([[RFC2046]]) of the primary resource, i.e., on the result of - .
+ then dereferencing of the fragment is dependent + on the media type ([[RFC2046]]) of the resource, i.e., on the result of + .did:example:1234?service=files&relativeRef=%2Fmyresume%2Fdoc%3Fversion%3Dlatest#intro
application/did+ld+json
, then
+ application/did
, then
the fragment is treated according to the rules associated with the
JSON-LD 1.1: application/ld+json media type
[JSON-LD11].
@@ -1488,15 +1487,15 @@ Specifically, when a DID URL with a DID fragment is dereferenced, then - Dereferencing the Primary Resource is done by + Dereferencing the Resource is done by the DID resolver, and - Dereferencing the Secondary Resource is done by the client.
+ Dereferencing the Fragment is done by the client.Example: Given the DID URL did:xyz:1234#keys-1
, a DID resolver could be invoked
via local binding
- for Dereferencing the Primary Resource (i.e., the DID document),
+ for Dereferencing the Resource (i.e., the DID document),
and the client could complete the DID URL dereferencing algorithm by
- Dereferencing the Secondary Resource (i.e., a part of the DID document).