diff --git a/index.html b/index.html index 476984e..1471923 100644 --- a/index.html +++ b/index.html @@ -1016,6 +1016,7 @@

Dereferencing the Resource

  • contentStream: null
  • contentMetadata: «[ ]»
  • +
  • Obtain the DID document for the input DID by executing the DID resolution algorithm as defined in . All @@ -1023,7 +1024,6 @@

    Dereferencing the Resource

    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 adjusted input DID URL.
  • @@ -1035,7 +1035,31 @@

    Dereferencing the Resource

    -
  • Otherwise, if the input DID URL contains the +
  • If the input DID URL contains the + DID parameter hl: +
    did:example:1234?hl=zQmWvQxTqbG2Z9HPJgG57jjwR154cKhbtJenbyYTWkjgF3e
    +
    1. +

      TODO: Specify the algorithm for processing the `hl` DID parameter.

      +
    +
  • + +
  • If the input DID URL contains the + DID parameter versionId: +
    did:example:1234?versionId=1
    +
    1. +

      TODO: Specify the algorithm for processing the `versionId` DID parameter.

      +
    +
  • + +
  • If the input DID URL contains the + DID parameter versionTime: +
    did:example:1234?versionTime=2021-05-10T17:00:00Z
    +
    1. +

      TODO: Specify the algorithm for processing the `versionTime` DID parameter.

      +
    +
  • + +
  • If the input DID URL contains the DID parameter service and optionally the relativeRef DID parameter:
    did:example:1234?service=files&relativeRef=%2Fmyresume%2Fdoc%3Fversion%3Dlatest
    @@ -1056,16 +1080,28 @@

    Dereferencing the Resource

  • Return the output service endpoint URL.
  • +
  • Otherwise, if the input DID URL contains a DID path and/or DID query:
    did:example:1234/custom/path?customquery
    1. The applicable DID method MAY specify how to dereference - the input DID URL.
    2. + the DID path and/or DID query of the input DID URL. +
      did:example:1234/resources/1234
      + +
    3. An extension specification MAY specify how to dereference + the DID path of the input DID URL. +
      did:example:1234/whois
      +
    4. +
    5. An extension specification MAY specify how to dereference + the DID query of the input DID URL. +
      did:example:1234?transformKey=JsonWebKey
      +
    6. The client MAY be able to dereference the input DID URL in an application-specific way.
  • -
  • If neither this algorithm, nor the applicable DID method, nor the client + +
  • If neither this algorithm, nor the applicable DID method, nor an extension, nor the client is able to dereference the input DID URL, return the following result:
    1. dereferencingMetadata: «[ "error" → "notFound" ]»