diff --git a/index.html b/index.html index 1081f76..2341974 100644 --- a/index.html +++ b/index.html @@ -2366,7 +2366,7 @@

Processing Errors

The algorithms described in this specification, as well as in various cryptographic suite specifications, 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, +section provides specific URLs and descriptions for the errors, such that an ecosystem implementing technologies described by this specification might interoperate more effectively when errors occur.

@@ -2384,38 +2384,34 @@

Processing Errors

below.
  • -The `code` value MUST be the integer code described in the table below -(in parentheses, beside the type name). -
  • -
  • -The `title` value SHOULD provide a short but specific human-readable [=string=] for +The `title` value MUST be present and SHOULD provide a short but specific human-readable [=string=] for the error.
  • -The `detail` value SHOULD provide a longer human-readable [=string=] for the error. +The `detail` value MUST be present and SHOULD provide a longer human-readable [=string=] for the error.
  • -
    PROOF_GENERATION_ERROR (-16)
    +
    PROOF_GENERATION_ERROR
    A request to generate a proof failed. See Section [[[#add-proof]]], and Section [[[#add-proof-set-chain]]].
    -
    PROOF_VERIFICATION_ERROR (-17)
    +
    PROOF_VERIFICATION_ERROR
    An error was encountered during proof verification. See Section [[[#verify-proof]]].
    -
    PROOF_TRANSFORMATION_ERROR (-18)
    +
    PROOF_TRANSFORMATION_ERROR
    An error was encountered during the transformation process.
    -
    INVALID_DOMAIN_ERROR (-19)
    +
    INVALID_DOMAIN_ERROR
    The `domain` value in a proof did not match the expected value. See Section [[[#verify-proof]]].
    -
    INVALID_CHALLENGE_ERROR (-20)
    +
    INVALID_CHALLENGE_ERROR
    The `challenge` value in a proof did not match the expected value. See Section [[[#verify-proof]]]. diff --git a/vocab/security/vocabulary.yml b/vocab/security/vocabulary.yml index 06d19ec..3b53e6a 100644 --- a/vocab/security/vocabulary.yml +++ b/vocab/security/vocabulary.yml @@ -481,62 +481,62 @@ property: individual: - id: PROOF_GENERATION_ERROR type: sec:ProcessingError - label: Proof generation error (-16) + label: Proof generation error defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_GENERATION_ERROR context: none - id: PROOF_VERIFICATION_ERROR type: sec:ProcessingError - label: Malformed proof (-17) + label: Malformed proof defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_VERIFICATION_ERROR context: none - id: PROOF_TRANSFORMATION_ERROR type: sec:ProcessingError - label: Mismatched proof purpose (-18) + label: Mismatched proof purpose defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_TRANSFORMATION_ERROR context: none - id: INVALID_DOMAIN_ERROR type: sec:ProcessingError - label: Invalid proof domain (-19) + label: Invalid proof domain defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_DOMAIN_ERROR context: none - id: INVALID_CHALLENGE_ERROR type: sec:ProcessingError - label: Invalid challenge (-20) + label: Invalid challenge defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_CHALLENGE_ERROR context: none - id: INVALID_VERIFICATION_METHOD_URL type: sec:ProcessingError - label: Invalid verification method URL (-21) - defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_VERIFICATION_METHOD_URL + label: Invalid verification method URL + defined_by: https://www.w3.org/TR/cid-1.0/#INVALID_VERIFICATION_METHOD_URL context: none - - id: INVALID_CONTROLLER_DOCUMENT_ID + - id: INVALID_CONTROLLED_IDENTIFIER_DOCUMENT_ID type: sec:ProcessingError - label: Invalid controller document id (-22) - defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_CONTROLLER_DOCUMENT_ID + label: Invalid controlled identifier document id + defined_by: https://www.w3.org/TR/cid-1.0/#INVALID_CONTROLLED_IDENTIFIER_DOCUMENT_ID context: none - - id: INVALID_CONTROLLER_DOCUMENT + - id: INVALID_CONTROLLED_IDENTIFIER_DOCUMENT type: sec:ProcessingError - label: Invalid controller document (-23) - defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_CONTROLLER_DOCUMENT + label: Invalid controlled identifier document + defined_by: https://www.w3.org/TR/cid-1.0/#INVALID_CONTROLLED_IDENTIFIER_DOCUMENT context: none - id: INVALID_VERIFICATION_METHOD type: sec:ProcessingError - label: Invalid verification method (-24) - defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_VERIFICATION_METHOD + label: Invalid verification method + defined_by: https://www.w3.org/TR/cid-1.0/#INVALID_VERIFICATION_METHOD context: none - - id: INVALID_PROOF_PURPOSE_FOR_VERIFICATION_METHOD + - id: INVALID_RELATIONSHIP_FOR_VERIFICATION_METHOD type: sec:ProcessingError - label: Invalid proof purpose for verification method (-25) - defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_PROOF_PURPOSE_FOR_VERIFICATION_METHOD + label: Invalid relationship for verification method + defined_by: https://www.w3.org/TR/cid-1.0/#INVALID_RELATIONSHIP_FOR_VERIFICATION_METHOD context: none datatype: