security/nss/lib/util/SECerrs.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* General security error codes */
michael@0 6 /* Caller must #include "secerr.h" */
michael@0 7
michael@0 8 ER3(SEC_ERROR_IO, SEC_ERROR_BASE + 0,
michael@0 9 "An I/O error occurred during security authorization.")
michael@0 10
michael@0 11 ER3(SEC_ERROR_LIBRARY_FAILURE, SEC_ERROR_BASE + 1,
michael@0 12 "security library failure.")
michael@0 13
michael@0 14 ER3(SEC_ERROR_BAD_DATA, SEC_ERROR_BASE + 2,
michael@0 15 "security library: received bad data.")
michael@0 16
michael@0 17 ER3(SEC_ERROR_OUTPUT_LEN, SEC_ERROR_BASE + 3,
michael@0 18 "security library: output length error.")
michael@0 19
michael@0 20 ER3(SEC_ERROR_INPUT_LEN, SEC_ERROR_BASE + 4,
michael@0 21 "security library has experienced an input length error.")
michael@0 22
michael@0 23 ER3(SEC_ERROR_INVALID_ARGS, SEC_ERROR_BASE + 5,
michael@0 24 "security library: invalid arguments.")
michael@0 25
michael@0 26 ER3(SEC_ERROR_INVALID_ALGORITHM, SEC_ERROR_BASE + 6,
michael@0 27 "security library: invalid algorithm.")
michael@0 28
michael@0 29 ER3(SEC_ERROR_INVALID_AVA, SEC_ERROR_BASE + 7,
michael@0 30 "security library: invalid AVA.")
michael@0 31
michael@0 32 ER3(SEC_ERROR_INVALID_TIME, SEC_ERROR_BASE + 8,
michael@0 33 "Improperly formatted time string.")
michael@0 34
michael@0 35 ER3(SEC_ERROR_BAD_DER, SEC_ERROR_BASE + 9,
michael@0 36 "security library: improperly formatted DER-encoded message.")
michael@0 37
michael@0 38 ER3(SEC_ERROR_BAD_SIGNATURE, SEC_ERROR_BASE + 10,
michael@0 39 "Peer's certificate has an invalid signature.")
michael@0 40
michael@0 41 ER3(SEC_ERROR_EXPIRED_CERTIFICATE, SEC_ERROR_BASE + 11,
michael@0 42 "Peer's Certificate has expired.")
michael@0 43
michael@0 44 ER3(SEC_ERROR_REVOKED_CERTIFICATE, SEC_ERROR_BASE + 12,
michael@0 45 "Peer's Certificate has been revoked.")
michael@0 46
michael@0 47 ER3(SEC_ERROR_UNKNOWN_ISSUER, SEC_ERROR_BASE + 13,
michael@0 48 "Peer's Certificate issuer is not recognized.")
michael@0 49
michael@0 50 ER3(SEC_ERROR_BAD_KEY, SEC_ERROR_BASE + 14,
michael@0 51 "Peer's public key is invalid.")
michael@0 52
michael@0 53 ER3(SEC_ERROR_BAD_PASSWORD, SEC_ERROR_BASE + 15,
michael@0 54 "The security password entered is incorrect.")
michael@0 55
michael@0 56 ER3(SEC_ERROR_RETRY_PASSWORD, SEC_ERROR_BASE + 16,
michael@0 57 "New password entered incorrectly. Please try again.")
michael@0 58
michael@0 59 ER3(SEC_ERROR_NO_NODELOCK, SEC_ERROR_BASE + 17,
michael@0 60 "security library: no nodelock.")
michael@0 61
michael@0 62 ER3(SEC_ERROR_BAD_DATABASE, SEC_ERROR_BASE + 18,
michael@0 63 "security library: bad database.")
michael@0 64
michael@0 65 ER3(SEC_ERROR_NO_MEMORY, SEC_ERROR_BASE + 19,
michael@0 66 "security library: memory allocation failure.")
michael@0 67
michael@0 68 ER3(SEC_ERROR_UNTRUSTED_ISSUER, SEC_ERROR_BASE + 20,
michael@0 69 "Peer's certificate issuer has been marked as not trusted by the user.")
michael@0 70
michael@0 71 ER3(SEC_ERROR_UNTRUSTED_CERT, SEC_ERROR_BASE + 21,
michael@0 72 "Peer's certificate has been marked as not trusted by the user.")
michael@0 73
michael@0 74 ER3(SEC_ERROR_DUPLICATE_CERT, (SEC_ERROR_BASE + 22),
michael@0 75 "Certificate already exists in your database.")
michael@0 76
michael@0 77 ER3(SEC_ERROR_DUPLICATE_CERT_NAME, (SEC_ERROR_BASE + 23),
michael@0 78 "Downloaded certificate's name duplicates one already in your database.")
michael@0 79
michael@0 80 ER3(SEC_ERROR_ADDING_CERT, (SEC_ERROR_BASE + 24),
michael@0 81 "Error adding certificate to database.")
michael@0 82
michael@0 83 ER3(SEC_ERROR_FILING_KEY, (SEC_ERROR_BASE + 25),
michael@0 84 "Error refiling the key for this certificate.")
michael@0 85
michael@0 86 ER3(SEC_ERROR_NO_KEY, (SEC_ERROR_BASE + 26),
michael@0 87 "The private key for this certificate cannot be found in key database")
michael@0 88
michael@0 89 ER3(SEC_ERROR_CERT_VALID, (SEC_ERROR_BASE + 27),
michael@0 90 "This certificate is valid.")
michael@0 91
michael@0 92 ER3(SEC_ERROR_CERT_NOT_VALID, (SEC_ERROR_BASE + 28),
michael@0 93 "This certificate is not valid.")
michael@0 94
michael@0 95 ER3(SEC_ERROR_CERT_NO_RESPONSE, (SEC_ERROR_BASE + 29),
michael@0 96 "Cert Library: No Response")
michael@0 97
michael@0 98 ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE, (SEC_ERROR_BASE + 30),
michael@0 99 "The certificate issuer's certificate has expired. Check your system date and time.")
michael@0 100
michael@0 101 ER3(SEC_ERROR_CRL_EXPIRED, (SEC_ERROR_BASE + 31),
michael@0 102 "The CRL for the certificate's issuer has expired. Update it or check your system date and time.")
michael@0 103
michael@0 104 ER3(SEC_ERROR_CRL_BAD_SIGNATURE, (SEC_ERROR_BASE + 32),
michael@0 105 "The CRL for the certificate's issuer has an invalid signature.")
michael@0 106
michael@0 107 ER3(SEC_ERROR_CRL_INVALID, (SEC_ERROR_BASE + 33),
michael@0 108 "New CRL has an invalid format.")
michael@0 109
michael@0 110 ER3(SEC_ERROR_EXTENSION_VALUE_INVALID, (SEC_ERROR_BASE + 34),
michael@0 111 "Certificate extension value is invalid.")
michael@0 112
michael@0 113 ER3(SEC_ERROR_EXTENSION_NOT_FOUND, (SEC_ERROR_BASE + 35),
michael@0 114 "Certificate extension not found.")
michael@0 115
michael@0 116 ER3(SEC_ERROR_CA_CERT_INVALID, (SEC_ERROR_BASE + 36),
michael@0 117 "Issuer certificate is invalid.")
michael@0 118
michael@0 119 ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID, (SEC_ERROR_BASE + 37),
michael@0 120 "Certificate path length constraint is invalid.")
michael@0 121
michael@0 122 ER3(SEC_ERROR_CERT_USAGES_INVALID, (SEC_ERROR_BASE + 38),
michael@0 123 "Certificate usages field is invalid.")
michael@0 124
michael@0 125 ER3(SEC_INTERNAL_ONLY, (SEC_ERROR_BASE + 39),
michael@0 126 "**Internal ONLY module**")
michael@0 127
michael@0 128 ER3(SEC_ERROR_INVALID_KEY, (SEC_ERROR_BASE + 40),
michael@0 129 "The key does not support the requested operation.")
michael@0 130
michael@0 131 ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 41),
michael@0 132 "Certificate contains unknown critical extension.")
michael@0 133
michael@0 134 ER3(SEC_ERROR_OLD_CRL, (SEC_ERROR_BASE + 42),
michael@0 135 "New CRL is not later than the current one.")
michael@0 136
michael@0 137 ER3(SEC_ERROR_NO_EMAIL_CERT, (SEC_ERROR_BASE + 43),
michael@0 138 "Not encrypted or signed: you do not yet have an email certificate.")
michael@0 139
michael@0 140 ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY, (SEC_ERROR_BASE + 44),
michael@0 141 "Not encrypted: you do not have certificates for each of the recipients.")
michael@0 142
michael@0 143 ER3(SEC_ERROR_NOT_A_RECIPIENT, (SEC_ERROR_BASE + 45),
michael@0 144 "Cannot decrypt: you are not a recipient, or matching certificate and \
michael@0 145 private key not found.")
michael@0 146
michael@0 147 ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH, (SEC_ERROR_BASE + 46),
michael@0 148 "Cannot decrypt: key encryption algorithm does not match your certificate.")
michael@0 149
michael@0 150 ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE, (SEC_ERROR_BASE + 47),
michael@0 151 "Signature verification failed: no signer found, too many signers found, \
michael@0 152 or improper or corrupted data.")
michael@0 153
michael@0 154 ER3(SEC_ERROR_UNSUPPORTED_KEYALG, (SEC_ERROR_BASE + 48),
michael@0 155 "Unsupported or unknown key algorithm.")
michael@0 156
michael@0 157 ER3(SEC_ERROR_DECRYPTION_DISALLOWED, (SEC_ERROR_BASE + 49),
michael@0 158 "Cannot decrypt: encrypted using a disallowed algorithm or key size.")
michael@0 159
michael@0 160
michael@0 161 /* Fortezza Alerts */
michael@0 162 ER3(XP_SEC_FORTEZZA_BAD_CARD, (SEC_ERROR_BASE + 50),
michael@0 163 "Fortezza card has not been properly initialized. \
michael@0 164 Please remove it and return it to your issuer.")
michael@0 165
michael@0 166 ER3(XP_SEC_FORTEZZA_NO_CARD, (SEC_ERROR_BASE + 51),
michael@0 167 "No Fortezza cards Found")
michael@0 168
michael@0 169 ER3(XP_SEC_FORTEZZA_NONE_SELECTED, (SEC_ERROR_BASE + 52),
michael@0 170 "No Fortezza card selected")
michael@0 171
michael@0 172 ER3(XP_SEC_FORTEZZA_MORE_INFO, (SEC_ERROR_BASE + 53),
michael@0 173 "Please select a personality to get more info on")
michael@0 174
michael@0 175 ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND, (SEC_ERROR_BASE + 54),
michael@0 176 "Personality not found")
michael@0 177
michael@0 178 ER3(XP_SEC_FORTEZZA_NO_MORE_INFO, (SEC_ERROR_BASE + 55),
michael@0 179 "No more information on that Personality")
michael@0 180
michael@0 181 ER3(XP_SEC_FORTEZZA_BAD_PIN, (SEC_ERROR_BASE + 56),
michael@0 182 "Invalid Pin")
michael@0 183
michael@0 184 ER3(XP_SEC_FORTEZZA_PERSON_ERROR, (SEC_ERROR_BASE + 57),
michael@0 185 "Couldn't initialize Fortezza personalities.")
michael@0 186 /* end fortezza alerts. */
michael@0 187
michael@0 188 ER3(SEC_ERROR_NO_KRL, (SEC_ERROR_BASE + 58),
michael@0 189 "No KRL for this site's certificate has been found.")
michael@0 190
michael@0 191 ER3(SEC_ERROR_KRL_EXPIRED, (SEC_ERROR_BASE + 59),
michael@0 192 "The KRL for this site's certificate has expired.")
michael@0 193
michael@0 194 ER3(SEC_ERROR_KRL_BAD_SIGNATURE, (SEC_ERROR_BASE + 60),
michael@0 195 "The KRL for this site's certificate has an invalid signature.")
michael@0 196
michael@0 197 ER3(SEC_ERROR_REVOKED_KEY, (SEC_ERROR_BASE + 61),
michael@0 198 "The key for this site's certificate has been revoked.")
michael@0 199
michael@0 200 ER3(SEC_ERROR_KRL_INVALID, (SEC_ERROR_BASE + 62),
michael@0 201 "New KRL has an invalid format.")
michael@0 202
michael@0 203 ER3(SEC_ERROR_NEED_RANDOM, (SEC_ERROR_BASE + 63),
michael@0 204 "security library: need random data.")
michael@0 205
michael@0 206 ER3(SEC_ERROR_NO_MODULE, (SEC_ERROR_BASE + 64),
michael@0 207 "security library: no security module can perform the requested operation.")
michael@0 208
michael@0 209 ER3(SEC_ERROR_NO_TOKEN, (SEC_ERROR_BASE + 65),
michael@0 210 "The security card or token does not exist, needs to be initialized, or has been removed.")
michael@0 211
michael@0 212 ER3(SEC_ERROR_READ_ONLY, (SEC_ERROR_BASE + 66),
michael@0 213 "security library: read-only database.")
michael@0 214
michael@0 215 ER3(SEC_ERROR_NO_SLOT_SELECTED, (SEC_ERROR_BASE + 67),
michael@0 216 "No slot or token was selected.")
michael@0 217
michael@0 218 ER3(SEC_ERROR_CERT_NICKNAME_COLLISION, (SEC_ERROR_BASE + 68),
michael@0 219 "A certificate with the same nickname already exists.")
michael@0 220
michael@0 221 ER3(SEC_ERROR_KEY_NICKNAME_COLLISION, (SEC_ERROR_BASE + 69),
michael@0 222 "A key with the same nickname already exists.")
michael@0 223
michael@0 224 ER3(SEC_ERROR_SAFE_NOT_CREATED, (SEC_ERROR_BASE + 70),
michael@0 225 "error while creating safe object")
michael@0 226
michael@0 227 ER3(SEC_ERROR_BAGGAGE_NOT_CREATED, (SEC_ERROR_BASE + 71),
michael@0 228 "error while creating baggage object")
michael@0 229
michael@0 230 ER3(XP_JAVA_REMOVE_PRINCIPAL_ERROR, (SEC_ERROR_BASE + 72),
michael@0 231 "Couldn't remove the principal")
michael@0 232
michael@0 233 ER3(XP_JAVA_DELETE_PRIVILEGE_ERROR, (SEC_ERROR_BASE + 73),
michael@0 234 "Couldn't delete the privilege")
michael@0 235
michael@0 236 ER3(XP_JAVA_CERT_NOT_EXISTS_ERROR, (SEC_ERROR_BASE + 74),
michael@0 237 "This principal doesn't have a certificate")
michael@0 238
michael@0 239 ER3(SEC_ERROR_BAD_EXPORT_ALGORITHM, (SEC_ERROR_BASE + 75),
michael@0 240 "Required algorithm is not allowed.")
michael@0 241
michael@0 242 ER3(SEC_ERROR_EXPORTING_CERTIFICATES, (SEC_ERROR_BASE + 76),
michael@0 243 "Error attempting to export certificates.")
michael@0 244
michael@0 245 ER3(SEC_ERROR_IMPORTING_CERTIFICATES, (SEC_ERROR_BASE + 77),
michael@0 246 "Error attempting to import certificates.")
michael@0 247
michael@0 248 ER3(SEC_ERROR_PKCS12_DECODING_PFX, (SEC_ERROR_BASE + 78),
michael@0 249 "Unable to import. Decoding error. File not valid.")
michael@0 250
michael@0 251 ER3(SEC_ERROR_PKCS12_INVALID_MAC, (SEC_ERROR_BASE + 79),
michael@0 252 "Unable to import. Invalid MAC. Incorrect password or corrupt file.")
michael@0 253
michael@0 254 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM, (SEC_ERROR_BASE + 80),
michael@0 255 "Unable to import. MAC algorithm not supported.")
michael@0 256
michael@0 257 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE,(SEC_ERROR_BASE + 81),
michael@0 258 "Unable to import. Only password integrity and privacy modes supported.")
michael@0 259
michael@0 260 ER3(SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE, (SEC_ERROR_BASE + 82),
michael@0 261 "Unable to import. File structure is corrupt.")
michael@0 262
michael@0 263 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, (SEC_ERROR_BASE + 83),
michael@0 264 "Unable to import. Encryption algorithm not supported.")
michael@0 265
michael@0 266 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_VERSION, (SEC_ERROR_BASE + 84),
michael@0 267 "Unable to import. File version not supported.")
michael@0 268
michael@0 269 ER3(SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT,(SEC_ERROR_BASE + 85),
michael@0 270 "Unable to import. Incorrect privacy password.")
michael@0 271
michael@0 272 ER3(SEC_ERROR_PKCS12_CERT_COLLISION, (SEC_ERROR_BASE + 86),
michael@0 273 "Unable to import. Same nickname already exists in database.")
michael@0 274
michael@0 275 ER3(SEC_ERROR_USER_CANCELLED, (SEC_ERROR_BASE + 87),
michael@0 276 "The user pressed cancel.")
michael@0 277
michael@0 278 ER3(SEC_ERROR_PKCS12_DUPLICATE_DATA, (SEC_ERROR_BASE + 88),
michael@0 279 "Not imported, already in database.")
michael@0 280
michael@0 281 ER3(SEC_ERROR_MESSAGE_SEND_ABORTED, (SEC_ERROR_BASE + 89),
michael@0 282 "Message not sent.")
michael@0 283
michael@0 284 ER3(SEC_ERROR_INADEQUATE_KEY_USAGE, (SEC_ERROR_BASE + 90),
michael@0 285 "Certificate key usage inadequate for attempted operation.")
michael@0 286
michael@0 287 ER3(SEC_ERROR_INADEQUATE_CERT_TYPE, (SEC_ERROR_BASE + 91),
michael@0 288 "Certificate type not approved for application.")
michael@0 289
michael@0 290 ER3(SEC_ERROR_CERT_ADDR_MISMATCH, (SEC_ERROR_BASE + 92),
michael@0 291 "Address in signing certificate does not match address in message headers.")
michael@0 292
michael@0 293 ER3(SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY, (SEC_ERROR_BASE + 93),
michael@0 294 "Unable to import. Error attempting to import private key.")
michael@0 295
michael@0 296 ER3(SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN, (SEC_ERROR_BASE + 94),
michael@0 297 "Unable to import. Error attempting to import certificate chain.")
michael@0 298
michael@0 299 ER3(SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, (SEC_ERROR_BASE + 95),
michael@0 300 "Unable to export. Unable to locate certificate or key by nickname.")
michael@0 301
michael@0 302 ER3(SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY, (SEC_ERROR_BASE + 96),
michael@0 303 "Unable to export. Private Key could not be located and exported.")
michael@0 304
michael@0 305 ER3(SEC_ERROR_PKCS12_UNABLE_TO_WRITE, (SEC_ERROR_BASE + 97),
michael@0 306 "Unable to export. Unable to write the export file.")
michael@0 307
michael@0 308 ER3(SEC_ERROR_PKCS12_UNABLE_TO_READ, (SEC_ERROR_BASE + 98),
michael@0 309 "Unable to import. Unable to read the import file.")
michael@0 310
michael@0 311 ER3(SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, (SEC_ERROR_BASE + 99),
michael@0 312 "Unable to export. Key database corrupt or deleted.")
michael@0 313
michael@0 314 ER3(SEC_ERROR_KEYGEN_FAIL, (SEC_ERROR_BASE + 100),
michael@0 315 "Unable to generate public/private key pair.")
michael@0 316
michael@0 317 ER3(SEC_ERROR_INVALID_PASSWORD, (SEC_ERROR_BASE + 101),
michael@0 318 "Password entered is invalid. Please pick a different one.")
michael@0 319
michael@0 320 ER3(SEC_ERROR_RETRY_OLD_PASSWORD, (SEC_ERROR_BASE + 102),
michael@0 321 "Old password entered incorrectly. Please try again.")
michael@0 322
michael@0 323 ER3(SEC_ERROR_BAD_NICKNAME, (SEC_ERROR_BASE + 103),
michael@0 324 "Certificate nickname already in use.")
michael@0 325
michael@0 326 ER3(SEC_ERROR_NOT_FORTEZZA_ISSUER, (SEC_ERROR_BASE + 104),
michael@0 327 "Peer FORTEZZA chain has a non-FORTEZZA Certificate.")
michael@0 328
michael@0 329 ER3(SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY, (SEC_ERROR_BASE + 105),
michael@0 330 "A sensitive key cannot be moved to the slot where it is needed.")
michael@0 331
michael@0 332 ER3(SEC_ERROR_JS_INVALID_MODULE_NAME, (SEC_ERROR_BASE + 106),
michael@0 333 "Invalid module name.")
michael@0 334
michael@0 335 ER3(SEC_ERROR_JS_INVALID_DLL, (SEC_ERROR_BASE + 107),
michael@0 336 "Invalid module path/filename")
michael@0 337
michael@0 338 ER3(SEC_ERROR_JS_ADD_MOD_FAILURE, (SEC_ERROR_BASE + 108),
michael@0 339 "Unable to add module")
michael@0 340
michael@0 341 ER3(SEC_ERROR_JS_DEL_MOD_FAILURE, (SEC_ERROR_BASE + 109),
michael@0 342 "Unable to delete module")
michael@0 343
michael@0 344 ER3(SEC_ERROR_OLD_KRL, (SEC_ERROR_BASE + 110),
michael@0 345 "New KRL is not later than the current one.")
michael@0 346
michael@0 347 ER3(SEC_ERROR_CKL_CONFLICT, (SEC_ERROR_BASE + 111),
michael@0 348 "New CKL has different issuer than current CKL. Delete current CKL.")
michael@0 349
michael@0 350 ER3(SEC_ERROR_CERT_NOT_IN_NAME_SPACE, (SEC_ERROR_BASE + 112),
michael@0 351 "The Certifying Authority for this certificate is not permitted to issue a \
michael@0 352 certificate with this name.")
michael@0 353
michael@0 354 ER3(SEC_ERROR_KRL_NOT_YET_VALID, (SEC_ERROR_BASE + 113),
michael@0 355 "The key revocation list for this certificate is not yet valid.")
michael@0 356
michael@0 357 ER3(SEC_ERROR_CRL_NOT_YET_VALID, (SEC_ERROR_BASE + 114),
michael@0 358 "The certificate revocation list for this certificate is not yet valid.")
michael@0 359
michael@0 360 ER3(SEC_ERROR_UNKNOWN_CERT, (SEC_ERROR_BASE + 115),
michael@0 361 "The requested certificate could not be found.")
michael@0 362
michael@0 363 ER3(SEC_ERROR_UNKNOWN_SIGNER, (SEC_ERROR_BASE + 116),
michael@0 364 "The signer's certificate could not be found.")
michael@0 365
michael@0 366 ER3(SEC_ERROR_CERT_BAD_ACCESS_LOCATION, (SEC_ERROR_BASE + 117),
michael@0 367 "The location for the certificate status server has invalid format.")
michael@0 368
michael@0 369 ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE, (SEC_ERROR_BASE + 118),
michael@0 370 "The OCSP response cannot be fully decoded; it is of an unknown type.")
michael@0 371
michael@0 372 ER3(SEC_ERROR_OCSP_BAD_HTTP_RESPONSE, (SEC_ERROR_BASE + 119),
michael@0 373 "The OCSP server returned unexpected/invalid HTTP data.")
michael@0 374
michael@0 375 ER3(SEC_ERROR_OCSP_MALFORMED_REQUEST, (SEC_ERROR_BASE + 120),
michael@0 376 "The OCSP server found the request to be corrupted or improperly formed.")
michael@0 377
michael@0 378 ER3(SEC_ERROR_OCSP_SERVER_ERROR, (SEC_ERROR_BASE + 121),
michael@0 379 "The OCSP server experienced an internal error.")
michael@0 380
michael@0 381 ER3(SEC_ERROR_OCSP_TRY_SERVER_LATER, (SEC_ERROR_BASE + 122),
michael@0 382 "The OCSP server suggests trying again later.")
michael@0 383
michael@0 384 ER3(SEC_ERROR_OCSP_REQUEST_NEEDS_SIG, (SEC_ERROR_BASE + 123),
michael@0 385 "The OCSP server requires a signature on this request.")
michael@0 386
michael@0 387 ER3(SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST, (SEC_ERROR_BASE + 124),
michael@0 388 "The OCSP server has refused this request as unauthorized.")
michael@0 389
michael@0 390 ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS, (SEC_ERROR_BASE + 125),
michael@0 391 "The OCSP server returned an unrecognizable status.")
michael@0 392
michael@0 393 ER3(SEC_ERROR_OCSP_UNKNOWN_CERT, (SEC_ERROR_BASE + 126),
michael@0 394 "The OCSP server has no status for the certificate.")
michael@0 395
michael@0 396 ER3(SEC_ERROR_OCSP_NOT_ENABLED, (SEC_ERROR_BASE + 127),
michael@0 397 "You must enable OCSP before performing this operation.")
michael@0 398
michael@0 399 ER3(SEC_ERROR_OCSP_NO_DEFAULT_RESPONDER, (SEC_ERROR_BASE + 128),
michael@0 400 "You must set the OCSP default responder before performing this operation.")
michael@0 401
michael@0 402 ER3(SEC_ERROR_OCSP_MALFORMED_RESPONSE, (SEC_ERROR_BASE + 129),
michael@0 403 "The response from the OCSP server was corrupted or improperly formed.")
michael@0 404
michael@0 405 ER3(SEC_ERROR_OCSP_UNAUTHORIZED_RESPONSE, (SEC_ERROR_BASE + 130),
michael@0 406 "The signer of the OCSP response is not authorized to give status for \
michael@0 407 this certificate.")
michael@0 408
michael@0 409 ER3(SEC_ERROR_OCSP_FUTURE_RESPONSE, (SEC_ERROR_BASE + 131),
michael@0 410 "The OCSP response is not yet valid (contains a date in the future).")
michael@0 411
michael@0 412 ER3(SEC_ERROR_OCSP_OLD_RESPONSE, (SEC_ERROR_BASE + 132),
michael@0 413 "The OCSP response contains out-of-date information.")
michael@0 414
michael@0 415 ER3(SEC_ERROR_DIGEST_NOT_FOUND, (SEC_ERROR_BASE + 133),
michael@0 416 "The CMS or PKCS #7 Digest was not found in signed message.")
michael@0 417
michael@0 418 ER3(SEC_ERROR_UNSUPPORTED_MESSAGE_TYPE, (SEC_ERROR_BASE + 134),
michael@0 419 "The CMS or PKCS #7 Message type is unsupported.")
michael@0 420
michael@0 421 ER3(SEC_ERROR_MODULE_STUCK, (SEC_ERROR_BASE + 135),
michael@0 422 "PKCS #11 module could not be removed because it is still in use.")
michael@0 423
michael@0 424 ER3(SEC_ERROR_BAD_TEMPLATE, (SEC_ERROR_BASE + 136),
michael@0 425 "Could not decode ASN.1 data. Specified template was invalid.")
michael@0 426
michael@0 427 ER3(SEC_ERROR_CRL_NOT_FOUND, (SEC_ERROR_BASE + 137),
michael@0 428 "No matching CRL was found.")
michael@0 429
michael@0 430 ER3(SEC_ERROR_REUSED_ISSUER_AND_SERIAL, (SEC_ERROR_BASE + 138),
michael@0 431 "You are attempting to import a cert with the same issuer/serial as \
michael@0 432 an existing cert, but that is not the same cert.")
michael@0 433
michael@0 434 ER3(SEC_ERROR_BUSY, (SEC_ERROR_BASE + 139),
michael@0 435 "NSS could not shutdown. Objects are still in use.")
michael@0 436
michael@0 437 ER3(SEC_ERROR_EXTRA_INPUT, (SEC_ERROR_BASE + 140),
michael@0 438 "DER-encoded message contained extra unused data.")
michael@0 439
michael@0 440 ER3(SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE, (SEC_ERROR_BASE + 141),
michael@0 441 "Unsupported elliptic curve.")
michael@0 442
michael@0 443 ER3(SEC_ERROR_UNSUPPORTED_EC_POINT_FORM, (SEC_ERROR_BASE + 142),
michael@0 444 "Unsupported elliptic curve point form.")
michael@0 445
michael@0 446 ER3(SEC_ERROR_UNRECOGNIZED_OID, (SEC_ERROR_BASE + 143),
michael@0 447 "Unrecognized Object Identifier.")
michael@0 448
michael@0 449 ER3(SEC_ERROR_OCSP_INVALID_SIGNING_CERT, (SEC_ERROR_BASE + 144),
michael@0 450 "Invalid OCSP signing certificate in OCSP response.")
michael@0 451
michael@0 452 ER3(SEC_ERROR_REVOKED_CERTIFICATE_CRL, (SEC_ERROR_BASE + 145),
michael@0 453 "Certificate is revoked in issuer's certificate revocation list.")
michael@0 454
michael@0 455 ER3(SEC_ERROR_REVOKED_CERTIFICATE_OCSP, (SEC_ERROR_BASE + 146),
michael@0 456 "Issuer's OCSP responder reports certificate is revoked.")
michael@0 457
michael@0 458 ER3(SEC_ERROR_CRL_INVALID_VERSION, (SEC_ERROR_BASE + 147),
michael@0 459 "Issuer's Certificate Revocation List has an unknown version number.")
michael@0 460
michael@0 461 ER3(SEC_ERROR_CRL_V1_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 148),
michael@0 462 "Issuer's V1 Certificate Revocation List has a critical extension.")
michael@0 463
michael@0 464 ER3(SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 149),
michael@0 465 "Issuer's V2 Certificate Revocation List has an unknown critical extension.")
michael@0 466
michael@0 467 ER3(SEC_ERROR_UNKNOWN_OBJECT_TYPE, (SEC_ERROR_BASE + 150),
michael@0 468 "Unknown object type specified.")
michael@0 469
michael@0 470 ER3(SEC_ERROR_INCOMPATIBLE_PKCS11, (SEC_ERROR_BASE + 151),
michael@0 471 "PKCS #11 driver violates the spec in an incompatible way.")
michael@0 472
michael@0 473 ER3(SEC_ERROR_NO_EVENT, (SEC_ERROR_BASE + 152),
michael@0 474 "No new slot event is available at this time.")
michael@0 475
michael@0 476 ER3(SEC_ERROR_CRL_ALREADY_EXISTS, (SEC_ERROR_BASE + 153),
michael@0 477 "CRL already exists.")
michael@0 478
michael@0 479 ER3(SEC_ERROR_NOT_INITIALIZED, (SEC_ERROR_BASE + 154),
michael@0 480 "NSS is not initialized.")
michael@0 481
michael@0 482 ER3(SEC_ERROR_TOKEN_NOT_LOGGED_IN, (SEC_ERROR_BASE + 155),
michael@0 483 "The operation failed because the PKCS#11 token is not logged in.")
michael@0 484
michael@0 485 ER3(SEC_ERROR_OCSP_RESPONDER_CERT_INVALID, (SEC_ERROR_BASE + 156),
michael@0 486 "Configured OCSP responder's certificate is invalid.")
michael@0 487
michael@0 488 ER3(SEC_ERROR_OCSP_BAD_SIGNATURE, (SEC_ERROR_BASE + 157),
michael@0 489 "OCSP response has an invalid signature.")
michael@0 490
michael@0 491 ER3(SEC_ERROR_OUT_OF_SEARCH_LIMITS, (SEC_ERROR_BASE + 158),
michael@0 492 "Cert validation search is out of search limits")
michael@0 493
michael@0 494 ER3(SEC_ERROR_INVALID_POLICY_MAPPING, (SEC_ERROR_BASE + 159),
michael@0 495 "Policy mapping contains anypolicy")
michael@0 496
michael@0 497 ER3(SEC_ERROR_POLICY_VALIDATION_FAILED, (SEC_ERROR_BASE + 160),
michael@0 498 "Cert chain fails policy validation")
michael@0 499
michael@0 500 ER3(SEC_ERROR_UNKNOWN_AIA_LOCATION_TYPE, (SEC_ERROR_BASE + 161),
michael@0 501 "Unknown location type in cert AIA extension")
michael@0 502
michael@0 503 ER3(SEC_ERROR_BAD_HTTP_RESPONSE, (SEC_ERROR_BASE + 162),
michael@0 504 "Server returned bad HTTP response")
michael@0 505
michael@0 506 ER3(SEC_ERROR_BAD_LDAP_RESPONSE, (SEC_ERROR_BASE + 163),
michael@0 507 "Server returned bad LDAP response")
michael@0 508
michael@0 509 ER3(SEC_ERROR_FAILED_TO_ENCODE_DATA, (SEC_ERROR_BASE + 164),
michael@0 510 "Failed to encode data with ASN1 encoder")
michael@0 511
michael@0 512 ER3(SEC_ERROR_BAD_INFO_ACCESS_LOCATION, (SEC_ERROR_BASE + 165),
michael@0 513 "Bad information access location in cert extension")
michael@0 514
michael@0 515 ER3(SEC_ERROR_LIBPKIX_INTERNAL, (SEC_ERROR_BASE + 166),
michael@0 516 "Libpkix internal error occurred during cert validation.")
michael@0 517
michael@0 518 ER3(SEC_ERROR_PKCS11_GENERAL_ERROR, (SEC_ERROR_BASE + 167),
michael@0 519 "A PKCS #11 module returned CKR_GENERAL_ERROR, indicating that an unrecoverable error has occurred.")
michael@0 520
michael@0 521 ER3(SEC_ERROR_PKCS11_FUNCTION_FAILED, (SEC_ERROR_BASE + 168),
michael@0 522 "A PKCS #11 module returned CKR_FUNCTION_FAILED, indicating that the requested function could not be performed. Trying the same operation again might succeed.")
michael@0 523
michael@0 524 ER3(SEC_ERROR_PKCS11_DEVICE_ERROR, (SEC_ERROR_BASE + 169),
michael@0 525 "A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot.")
michael@0 526
michael@0 527 ER3(SEC_ERROR_BAD_INFO_ACCESS_METHOD, (SEC_ERROR_BASE + 170),
michael@0 528 "Unknown information access method in certificate extension.")
michael@0 529
michael@0 530 ER3(SEC_ERROR_CRL_IMPORT_FAILED, (SEC_ERROR_BASE + 171),
michael@0 531 "Error attempting to import a CRL.")
michael@0 532
michael@0 533 ER3(SEC_ERROR_EXPIRED_PASSWORD, (SEC_ERROR_BASE + 172),
michael@0 534 "The password expired.")
michael@0 535
michael@0 536 ER3(SEC_ERROR_LOCKED_PASSWORD, (SEC_ERROR_BASE + 173),
michael@0 537 "The password is locked.")
michael@0 538
michael@0 539 ER3(SEC_ERROR_UNKNOWN_PKCS11_ERROR, (SEC_ERROR_BASE + 174),
michael@0 540 "Unknown PKCS #11 error.")
michael@0 541
michael@0 542 ER3(SEC_ERROR_BAD_CRL_DP_URL, (SEC_ERROR_BASE + 175),
michael@0 543 "Invalid or unsupported URL in CRL distribution point name.")
michael@0 544
michael@0 545 ER3(SEC_ERROR_CERT_SIGNATURE_ALGORITHM_DISABLED, (SEC_ERROR_BASE + 176),
michael@0 546 "The certificate was signed using a signature algorithm that is disabled because it is not secure.")
michael@0 547
michael@0 548 ER3(SEC_ERROR_LEGACY_DATABASE, (SEC_ERROR_BASE + 177),
michael@0 549 "The certificate/key database is in an old, unsupported format.")
michael@0 550
michael@0 551 ER3(SEC_ERROR_APPLICATION_CALLBACK_ERROR, (SEC_ERROR_BASE + 178),
michael@0 552 "The certificate was rejected by extra checks in the application.")
michael@0 553

mercurial