s4:torture: Adapt KDC canon test to Heimdal upstream changes
[samba.git] / third_party / heimdal / lib / hx509 / hx509_err.et
1 #
2 # Error messages for the hx509 library
3 #
4 # This might look like a com_err file, but is not
5 #
6 id "$Id$"
7
8 error_table hx
9 prefix HX509
10
11 # path validation and construction related errors
12 error_code BAD_TIMEFORMAT,      "ASN.1 failed call to system time library"
13 error_code EXTENSION_NOT_FOUND, "Extension not found"
14 error_code NO_PATH,             "Certification path not found"
15 error_code PARENT_NOT_CA,       "Parent certificate is not a CA"
16 error_code CA_PATH_TOO_DEEP,    "CA path too deep"
17 error_code SIG_ALG_NO_SUPPORTED, "Signature algorithm not supported"
18 error_code SIG_ALG_DONT_MATCH_KEY_ALG, "Signature algorithm doesn't match certificate key"
19 error_code CERT_USED_BEFORE_TIME, "Certificate used before it became valid"
20 error_code CERT_USED_AFTER_TIME, "Certificate used after it became invalid"
21 error_code PRIVATE_KEY_MISSING, "Private key required for the operation is missing"
22 error_code ALG_NOT_SUPP,        "Algorithm not supported"
23 error_code ISSUER_NOT_FOUND,    "Issuer couldn't be found"
24 error_code VERIFY_CONSTRAINTS,  "Error verifying constraints"
25 error_code RANGE,               "Number too large"
26 error_code NAME_CONSTRAINT_ERROR, "Error while verifying name constraints"
27 error_code PATH_TOO_LONG, "Path is too long, failed to find valid anchor"
28 error_code KU_CERT_MISSING, "Required keyusage for this certificate is missing"
29 error_code CERT_NOT_FOUND, "Certificate not found"
30 error_code UNKNOWN_LOCK_COMMAND, "Unknown lock command"
31 error_code PARENT_IS_CA, "Parent certificate is a CA"
32 error_code EXTRA_DATA_AFTER_STRUCTURE, "Extra data was found after the structure"
33 error_code PROXY_CERT_INVALID, "Proxy certificate is invalid"
34 error_code PROXY_CERT_NAME_WRONG, "Proxy certificate name is wrong"
35 error_code NAME_MALFORMED, "Name is malformed"
36 error_code CERTIFICATE_MALFORMED, "Certificate is malformed"
37 error_code CERTIFICATE_MISSING_EKU, "Certificate is missing a required EKU"
38 error_code PROXY_CERTIFICATE_NOT_CANONICALIZED, "Proxy certificate not canonicalized"
39 error_code NO_ITEM, "No such item / iteration end"
40
41 # cms related errors
42 index 32
43 prefix HX509_CMS
44 error_code FAILED_CREATE_SIGATURE, "Failed to create signature"
45 error_code MISSING_SIGNER_DATA, "Missing signer data"
46 error_code SIGNER_NOT_FOUND, "Couldn't find signers certificate"
47 error_code NO_DATA_AVAILABLE, "No data to perform the operation on"
48 error_code INVALID_DATA, "Data in the message is invalid"
49 error_code PADDING_ERROR, "Padding in the message invalid"
50 error_code NO_RECIPIENT_CERTIFICATE, "Couldn't find recipient certificate"
51 error_code DATA_OID_MISMATCH, "Mismatch bewteen signed type and unsigned type"
52
53 # crypto related errors
54 index 64
55 prefix HX509_CRYPTO
56 error_code INTERNAL_ERROR, "Internal error in the crypto engine"
57 error_code EXTERNAL_ERROR, "External error in the crypto engine"
58 error_code SIGNATURE_MISSING, "Signature missing for data"
59 error_code BAD_SIGNATURE, "Signature is not valid"
60 error_code SIG_NO_CONF, "Sigature doesn't provide confidentiality"
61 error_code SIG_INVALID_FORMAT, "Invalid format on signature"
62 error_code OID_MISMATCH, "Mismatch between oids"
63 error_code NO_PROMPTER, "No prompter function defined"
64 error_code SIGNATURE_WITHOUT_SIGNER, "Signature requires signer, but none available"
65 error_code RSA_PUBLIC_ENCRYPT, "RSA public encyption failed"
66 error_code RSA_PRIVATE_ENCRYPT, "RSA private encyption failed"
67 error_code RSA_PUBLIC_DECRYPT, "RSA public decryption failed"
68 error_code RSA_PRIVATE_DECRYPT, "RSA private decryption failed"
69 error_code ALGORITHM_BEST_BEFORE, "Algorithm has passed its best before date"
70 error_code KEY_FORMAT_UNSUPPORTED, "Key format is unsupported"
71
72 # revoke related errors
73 index 96
74 prefix HX509
75 error_code CRL_USED_BEFORE_TIME, "CRL used before it became valid"
76 error_code CRL_USED_AFTER_TIME, "CRL used after it became invalid"
77 error_code CRL_INVALID_FORMAT, "CRL have invalid format"
78 error_code CERT_REVOKED, "Certificate is revoked"
79 error_code REVOKE_STATUS_MISSING, "No revoke status found for certificates"
80 error_code CRL_UNKNOWN_EXTENSION, "Unknown extension"
81 error_code REVOKE_WRONG_DATA, "Got wrong CRL/OCSP data from server"
82 error_code REVOKE_NOT_SAME_PARENT, "Doesn't have same parent as other certificates"
83 error_code CERT_NOT_IN_OCSP, "Certificates not in OCSP reply"
84
85 # misc error
86 index 108
87 error_code LOCAL_ATTRIBUTE_MISSING, "No local key attribute"
88 error_code PARSING_KEY_FAILED, "Failed to parse key"
89 error_code UNSUPPORTED_OPERATION, "Unsupported operation"
90 error_code UNIMPLEMENTED_OPERATION, "Unimplemented operation"
91 error_code PARSING_NAME_FAILED, "Failed to parse name"
92
93 # keystore related error
94 index 128
95 prefix HX509_PKCS11
96 error_code NO_SLOT,  "No smartcard reader/device found"
97 error_code NO_TOKEN,  "No smartcard in reader"
98 error_code NO_MECH,  "No supported mech(s)"
99 error_code TOKEN_CONFUSED,  "Token or slot failed in inconsistent way"
100 error_code OPEN_SESSION,  "Failed to open session to slot"
101 error_code LOGIN,  "Failed to login to slot"
102 error_code LOAD,  "Failed to load PKCS module"
103
104 # pkinit related errors
105 error_code PIN_INCORRECT, "Incorrect User PIN"
106 error_code PIN_LOCKED, "User PIN locked"
107 error_code PIN_NOT_INITIALIZED, "User PIN not initialized"
108 error_code PIN_EXPIRED, "User PIN expired"
109
110 end