41 #define NZCP_VERSION_MAJOR 0
42 #define NZCP_VERSION_MINOR 0
43 #define NZCP_VERSION_PATCH 4
106 ERROR_DEF(E_SUCCESS,0,Success)
107 ERROR_DEF(E_EMPTY_URI,1,Empty URI)
108 ERROR_DEF(E_BAD_URI_PREFIX,2,Bad URI prefix)
109 ERROR_DEF(E_BAD_VERSION_IDENTIFIER,3,Bad version identifier)
110 ERROR_DEF(E_CBOR_ERROR,4,CBOR error)
111 ERROR_DEF(E_BAD_TAG,5,Bad tag)
112 ERROR_DEF(E_MALFORMED_CWT,6,Malformed CWT)
113 ERROR_DEF(E_MALFORMED_CWT_HEADER,7,Malformed CWT header)
114 ERROR_DEF(E_WRONG_KID,8,Wrong kid)
115 ERROR_DEF(E_WRONG_ALG,9,Wrong alg)
116 ERROR_DEF(E_MALFORMED_CWT_CLAIMS,10,Malformed CWT claims)
117 ERROR_DEF(E_MALFORMED_CWT_ISSUER,11,Malformed CWT issuer)
118 ERROR_DEF(E_MALFORMED_CWT_NBF,12,Malformed CWT nbf)
119 ERROR_DEF(E_MALFORMED_CWT_EXP,13,Malformed CWT exp)
120 ERROR_DEF(E_MALFORMED_CWT_CTI,14,Malformed CWT cti)
121 ERROR_DEF(E_MALFORMED_CWT_VC,15,Malformed CWT VC)
122 ERROR_DEF(E_MALFORMED_VC_CONTEXT,16,Malformed VC context)
123 ERROR_DEF(E_MALFORMED_VC_VERSION,17,Malformed VC version)
124 ERROR_DEF(E_MALFORMED_VC_TYPE,18,Malformed VC type)
125 ERROR_DEF(E_MALFORMED_CREDENTIAL_SUBJECT,19,Malformed credential subject)
126 ERROR_DEF(E_MALFORMED_GIVEN_NAME,20,Malformed given name)
127 ERROR_DEF(E_MALFORMED_FAMILY_NAME,21,Malformed family name)
128 ERROR_DEF(E_MALFORMED_DOB,22,Malformed DOB)
129 ERROR_DEF(E_WRONG_TRUSTED_ISSUER,23,Wrong trusted issuer)
130 ERROR_DEF(E_BAD_CTI,24,Bad cti)
131 ERROR_DEF(E_BAD_ISS,25,Bad iss)
132 ERROR_DEF(E_BAD_NBF,26,Bad nbf)
133 ERROR_DEF(E_BAD_EXP,27,Bad exp)
134 ERROR_DEF(E_PASS_NOT_ACTIVE,28,Pass not active)
135 ERROR_DEF(E_PASS_EXPIRED,29,Pass expired)
136 ERROR_DEF(E_BAD_VC_CONTEXT,30,Bad VC context)
137 ERROR_DEF(E_BAD_VC_TYPE,31,Bad VC type)
138 ERROR_DEF(E_BAD_VC_VERSION,32,Bad VC version)
139 ERROR_DEF(E_BAD_GIVEN_NAME,33,Bad given name)
140 ERROR_DEF(E_BAD_DOB,34,Bad DOB)
141 ERROR_DEF(E_FAILED_SIGNATURE_VERIFICATION,35,Failed signature verification)
142 ERROR_DEF(E_UNKNOWN,36,Unknown)
143 ERROR_DEF(E_BAD_INTEGRATION,37,Bad integration)