diff --git a/index.html b/index.html index 78e4a21..04b5f2c 100644 --- a/index.html +++ b/index.html @@ -718,12 +718,16 @@

Validate Algorithm

  • Dereference the `statusListCredential` URL, and ensure that all -proofs verify successfully. If the dereference fails, or if any of the proof -verifications fail, return a validation error. +proofs verify successfully. If the dereference fails, raise a +STATUS_RETRIEVAL_ERROR. If any of the +proof verifications fail, raise a +STATUS_VERIFICATION_ERROR.
  • -Verify that the |status purpose| matches the -`statusPurpose` value in the |statusListCredential|. +Verify that the |status purpose| is equal to the +`statusPurpose` value in the |statusListCredential|. If the values are not +equal, raise a +STATUS_VERIFICATION_ERROR.
  • Let |compressed bitstring| be the value of the @@ -813,6 +817,54 @@

    Bitstring Expansion Algorithm

    +
    +

    Processing Errors

    + +

    +The algorithms described in this specification throw specific types of errors. +Implementers might find it useful to convey these errors to other libraries or +software systems. This section provides specific URLs, descriptions, and error +codes for the errors, such that an ecosystem implementing technologies described +by this specification might interoperate more effectively when errors occur. +

    + +

    +When exposing these errors through an HTTP interface, implementers SHOULD use +[[RFC9457]] to encode the error data structure. If [[RFC9457]] is used: +

    + + + +
    +
    STATUS_RETRIEVAL_ERROR (-128)
    +
    +Retrieval of the status list failed. See Section +. +
    +
    STATUS_VERIFICATION_ERROR (-129)
    +
    +Validation of the status entry failed. See Section +. +
    +
    +