Skip to content

Commit 9d7ddc8

Browse files
ihermanTallTed
authored andcommitted
Added the error terms to the vocabulary
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent 80e08a7 commit 9d7ddc8

File tree

1 file changed

+47
-2
lines changed

1 file changed

+47
-2
lines changed

vocab/security/vocabulary.yml

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ class:
5858
upper_value: sec:Proof
5959
defined_by: https://www.w3.org/TR/vc-di-eddsa/#ed25519signature2020
6060

61+
- id: Errors
62+
label: Processing errors
63+
defined_by: https://www.w3.org/TR/vc-di-eddsa/#errors
6164

62-
# These are the class definitions in the CCG documents that are not defined in a VCWG document; they are all deprecated
63-
# In some cases a ccg document was found and used for the definition, but in some cases even that is missing...
65+
66+
# These are the class definitions in the CCG documents that are not defined in a VCWG document; they are all deprecated.
67+
# In some cases, a CCG document was found and used for the definition, but in other cases, even that is missing...
6468

6569

6670
- id: EcdsaSecp256k1Signature2019
@@ -352,3 +356,44 @@ property:
352356
- label: Detached JSON Web Signature
353357
url: https://tools.ietf.org/html/rfc7797
354358

359+
individual:
360+
- id: PROOF_GENERATION_ERROR
361+
upper_value: sec:Errors
362+
label: Proof generation error
363+
defined_by: https://www.w3.org/TR/vc-data-integrity/#PROOF_GENERATION_ERROR
364+
- id: MALFORMED_PROOF_ERROR
365+
upper_value: sec:Errors
366+
label: Malformed proof
367+
defined_by: https://www.w3.org/TR/vc-data-integrity/#MALFORMED_PROOF_ERROR
368+
- id: MISMATCHED_PROOF_PURPOSE_ERROR
369+
upper_value: sec:Errors
370+
label: Mismatched proof purpose
371+
defined_by: https://www.w3.org/TR/vc-data-integrity/#MISMATCHED_PROOF_PURPOSE_ERROR
372+
- id: INVALID_DOMAIN_ERROR
373+
upper_value: sec:Errors
374+
label: Invalid proof domain
375+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_DOMAIN_ERROR
376+
- id: INVALID_CHALLENGE_ERROR
377+
upper_value: sec:Errors
378+
label: Invalid challenge
379+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_CHALLENGE_ERROR
380+
- id: INVALID_VERIFICATION_METHOD_URL
381+
upper_value: sec:Errors
382+
label: Invalid verification method URL
383+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_VERIFICATION_METHOD_URL
384+
- id: INVALID_CONTROLLER_DOCUMENT_ID
385+
upper_value: sec:Errors
386+
label: Invalid controller document id
387+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_CONTROLLER_DOCUMENT_ID
388+
- id: INVALID_CONTROLLER_DOCUMENT
389+
upper_value: sec:Errors
390+
label: Invalid controller document
391+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_CONTROLLER_DOCUMENT
392+
- id: INVALID_VERIFICATION_METHOD
393+
upper_value: sec:Errors
394+
label: Invalid verification method
395+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_VERIFICATION_METHOD
396+
- id: INVALID_PROOF_PURPOSE_FOR_VERIFICATION_METHOD
397+
upper_value: sec:Errors
398+
label: Invalid proof purpose for verification method
399+
defined_by: https://www.w3.org/TR/vc-data-integrity/#INVALID_PROOF_PURPOSE_FOR_VERIFICATION_METHOD

0 commit comments

Comments
 (0)