From 366516bd436e5c1bdf2f3a937f2f8ffc0837f268 Mon Sep 17 00:00:00 2001 From: Markus Sabadello Date: Wed, 26 Aug 2020 14:30:08 +0200 Subject: [PATCH] Remove method-specific DID parameters. Addresses #36. --- index.html | 71 ++++-------------------------------------------------- 1 file changed, 5 insertions(+), 66 deletions(-) diff --git a/index.html b/index.html index ba7c3bfa..7c5d8ede 100644 --- a/index.html +++ b/index.html @@ -835,7 +835,7 @@

DID URL Syntax

-

Generic DID URL Parameters

+

DID URL Parameters

The DID URL syntax supports a simple, generalized format for parameters @@ -844,18 +844,14 @@

Generic DID URL Parameters

any concrete parameter names.

-Some generic DID parameter names (for example, for service selection) are +Some DID parameter names (for example, for service selection) are completely independent of any specific DID method and MUST always function the same way for all DIDs. Other DID parameter names (for example, for versioning) MAY be supported by certain DID methods, but MUST operate uniformly across those DID methods that do support them.

-Parameter names that are completely method-specific are described in Section -. -

-

-The following table defines a set of generic DID parameter names. +The following table defines a set of DID parameter names.

@@ -939,7 +935,7 @@

Generic DID URL Parameters

Two example DID URLs using the service and -version-time generic DID parameters are shown below. +version-time DID parameters are shown below.

@@ -982,62 +978,6 @@ 

Generic DID URL Parameters

-
-

Method-Specific DID URL Parameters

- -

-A DID method specification MAY specify additional method-specific -parameter names. A method-specific parameter name MUST be prefixed by the method -name, as defined by the method-name rule. -

- -

-For example, if the method did:foo: defines the parameter bar, the -parameter name must be foo:bar. An example DID URL using -this method and this method-specific parameter would be as shown below. -

- -
-did:foo:21tDAKCERh95uGgKbJNHYp?foo:bar=high
-        
- -

-A method-specific parameter name defined by one DID method MAY be used by -other DID methods. -

- -
-did:example:21tDAKCERh95uGgKbJNHYp?foo:bar=low
-        
- -

-Method-specific parameter names MAY be combined with generic parameter names in -any order. -

- -
-did:example:21tDAKCERh95uGgKbJNHYp?service=agent&foo:bar=high
-        
- -

-Both DID method namespaces and method-specific parameter namespaces MAY -include colons, so they might be partitioned hierarchically, as defined by a -DID method specification. The following example DID URL -illustrates both. -

- -
-did:foo:baz:21tDAKCERh95uGgKbJNHYp?foo:baz:hex=b612
-        
- -

-Review what exactly we want to say about method-specific parameters -defined by one method but used in a DID URL with a different method. -Also discuss hierarchical method namespaces in DID parameter names. -

- -
-

Path

@@ -1064,8 +1004,7 @@

Query

A DID query is derived from a generic URI query and MUST conform to the did-query ABNF rule in Section . If a DID query is present, it MUST be used -as described in Sections and -. +as described in Section .