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 steps: Resolving the DID, dereferencing the
+ resource, and dereferencing the fragment (only if the input DID URL contains a DID fragment):
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
+ .
-
Location header (see section 7.1.2 of [[RFC7231]].
-
Otherwise, dereference the secondary resource identified by the DID fragment as defined by the media type ([[RFC2046]]) of the primary resource.
- For example, if the primary resource is a representation of a DID document with media type application/did+ld+json, then
+
Otherwise, dereference the DID fragment as defined by the media type ([[RFC2046]]) of the resource.
+ For example, if the resource is a representation of a DID document with media type application/did+ld+json, then
the fragment is treated according to the rules associated with the
JSON-LD 1.1: application/ld+json media type
[JSON-LD11].
@@ -1487,15 +1485,15 @@
Otherwise, dereference the DID fragment as defined by the media type ([[RFC2046]]) of the resource.
- For example, if the resource is a representation of a DID document with media type application/did+ld+json, then
+ For example, if the resource is a representation of a DID document with media type 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].
From 72c1447470fa3b471cd122ff7ab61a773c456b9e Mon Sep 17 00:00:00 2001
From: Markus Sabadello
Date: Thu, 14 Nov 2024 21:35:52 +0100
Subject: [PATCH 3/3] Apply editorial suggestions by @TallTed.
Co-authored-by: Ted Thibodeau Jr
---
index.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/index.html b/index.html
index 440d963..52bb05d 100644
--- a/index.html
+++ b/index.html
@@ -1001,8 +1001,8 @@
DID URL Dereferencing Metadata
Algorithm
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
- resource, and dereferencing the fragment (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):
+ DID parameters of the input DID URL MUST be passed as resolution options to the
+ DID Resolution algorithm. If the input DID does not exist, return a null result.
+ Otherwise, the result is called the resolved DID document.
If present, separate the DID fragment from the input DID URL and continue
- with the input DID URL adjusted accordingly.