diff --git a/index.html b/index.html index ca8e0a4..0875559 100644 --- a/index.html +++ b/index.html @@ -900,6 +900,25 @@

DID Resolution Algorithm

  • didDocumentMetadata: «[ ]»
  • +
  • + Determine whether the input DID resolution options + are supported by the DID resolver that implements this algorithm. If not, the DID resolver + MUST return the following result: +
      +
    1. didResolutionMetadata: error object with type set to FEATURE_NOT_SUPPORTED
    2. +
    3. didDocument: null
    4. +
    5. didDocumentMetadata: «[ ]»
    6. +
    +
  • +
  • + Determine whether the input DID resolution options + are valid. If not, the DID resolver MUST return the following result: +
      +
    1. didResolutionMetadata: error object with type set to INVALID_OPTIONS
    2. +
    3. didDocument: null
    4. +
    5. didDocumentMetadata: «[ ]»
    6. +
    +
  • Obtain the DID document for the input DID by executing the Read operation, as defined by the input DID method:
      @@ -959,6 +978,16 @@

      DID Resolution Algorithm

    +

    + If the DID resolver encounters any unexpected errors during the execution of the DID Resolution algorithm, + it MUST return the following result: +

      +
    1. didResolutionMetadata: error object with type set to INTERNAL_ERROR
    2. +
    3. didDocument: null
    4. +
    5. didDocumentMetadata: «[ ]»
    6. +
    +

    + @@ -1049,7 +1078,7 @@

    DID URL Dereferencing

    All [=conforming DID URL dereferencers=] MUST implement the [=DID URL dereferencing=] - function for at least one [=DID method=]. All inputs and outputs of the dereference + function for at least one [=DID method=]. All inputs and outputs of the dereference function apart from [=contentStream=] MUST be serializable to JSON.

    @@ -2265,26 +2294,10 @@

    Errors

    FEATURE_NOT_SUPPORTED
    - The DID resolver does not support the requested feature. The value of the `detail` field SHOULD provide a longer description of the feature that is not supported by the resolver. + The DID resolver does not support the requested feature. The value of the `detail` field + SHOULD provide a longer description of the feature that is not supported by the resolver.
    -
    https://w3id.org/security#INVALID_PUBLIC_KEY
    -
    - An invalid public key value is detected during DID Resolution or DID URL dereferencing. -
    -
    https://w3id.org/security#INVALID_PUBLIC_KEY_LENGTH
    -
    - The byte length of rawPublicKeyBytes did not match the expected public key length for the associated multicodecValue - during DID Resolution or DID URL dereferencing. -
    -
    https://w3id.org/security#INVALID_PUBLIC_KEY_TYPE
    -
    - An invalid public key type was detected during DID Resolution or DID URL dereferencing. -
    -
    https://w3id.org/security#UNSUPPORTED_PUBLIC_KEY_TYPE
    -
    - An unsupported public key type was detected during DID Resolution or DID URL dereferencing. -
    - +
    @@ -2454,33 +2467,9 @@

    HTTP(S) Binding

    501 - - - INVALID_PUBLIC_KEY - - - 500 - - - - - INVALID_PUBLIC_KEY_LENGTH - - - 500 - - - - - INVALID_PUBLIC_KEY_TYPE - - - 500 - - - + - UNSUPPORTED_PUBLIC_KEY_TYPE + FEATURE_NOT_SUPPORTED 501 @@ -2803,7 +2792,7 @@

    Resolution Cycles

    Privacy Considerations

    - This section details the privacy considerations specific to DID Resolution. + This section details the privacy considerations specific to DID Resolution. Readers are urged to familiarize themselves with the general privacy advice provided in the