-
Notifications
You must be signed in to change notification settings - Fork 1
/
nzcp_errors.h
38 lines (38 loc) · 1.74 KB
/
nzcp_errors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ERROR_DEF(E_SUCCESS,0,Success)
ERROR_DEF(E_EMPTY_URI,1,Empty URI)
ERROR_DEF(E_BAD_URI_PREFIX,2,Bad URI prefix)
ERROR_DEF(E_BAD_VERSION_IDENTIFIER,3,Bad version identifier)
ERROR_DEF(E_CBOR_ERROR,4,CBOR error)
ERROR_DEF(E_BAD_TAG,5,Bad tag)
ERROR_DEF(E_MALFORMED_CWT,6,Malformed CWT)
ERROR_DEF(E_MALFORMED_CWT_HEADER,7,Malformed CWT header)
ERROR_DEF(E_WRONG_KID,8,Wrong kid)
ERROR_DEF(E_WRONG_ALG,9,Wrong alg)
ERROR_DEF(E_MALFORMED_CWT_CLAIMS,10,Malformed CWT claims)
ERROR_DEF(E_MALFORMED_CWT_ISSUER,11,Malformed CWT issuer)
ERROR_DEF(E_MALFORMED_CWT_NBF,12,Malformed CWT nbf)
ERROR_DEF(E_MALFORMED_CWT_EXP,13,Malformed CWT exp)
ERROR_DEF(E_MALFORMED_CWT_CTI,14,Malformed CWT cti)
ERROR_DEF(E_MALFORMED_CWT_VC,15,Malformed CWT VC)
ERROR_DEF(E_MALFORMED_VC_CONTEXT,16,Malformed VC context)
ERROR_DEF(E_MALFORMED_VC_VERSION,17,Malformed VC version)
ERROR_DEF(E_MALFORMED_VC_TYPE,18,Malformed VC type)
ERROR_DEF(E_MALFORMED_CREDENTIAL_SUBJECT,19,Malformed credential subject)
ERROR_DEF(E_MALFORMED_GIVEN_NAME,20,Malformed given name)
ERROR_DEF(E_MALFORMED_FAMILY_NAME,21,Malformed family name)
ERROR_DEF(E_MALFORMED_DOB,22,Malformed DOB)
ERROR_DEF(E_WRONG_TRUSTED_ISSUER,23,Wrong trusted issuer)
ERROR_DEF(E_BAD_CTI,24,Bad cti)
ERROR_DEF(E_BAD_ISS,25,Bad iss)
ERROR_DEF(E_BAD_NBF,26,Bad nbf)
ERROR_DEF(E_BAD_EXP,27,Bad exp)
ERROR_DEF(E_PASS_NOT_ACTIVE,28,Pass not active)
ERROR_DEF(E_PASS_EXPIRED,29,Pass expired)
ERROR_DEF(E_BAD_VC_CONTEXT,30,Bad VC context)
ERROR_DEF(E_BAD_VC_TYPE,31,Bad VC type)
ERROR_DEF(E_BAD_VC_VERSION,32,Bad VC version)
ERROR_DEF(E_BAD_GIVEN_NAME,33,Bad given name)
ERROR_DEF(E_BAD_DOB,34,Bad DOB)
ERROR_DEF(E_FAILED_SIGNATURE_VERIFICATION,35,Failed signature verification)
ERROR_DEF(E_UNKNOWN,36,Unknown)
ERROR_DEF(E_BAD_INTEGRATION,37,Bad integration)