1 /* 2 * Copyright (c) 2001 by Sun Microsystems, Inc. 3 * All rights reserved. 4 */ 5 6 /* 7 * The contents of this file are subject to the Netscape Public 8 * License Version 1.1 (the "License"); you may not use this file 9 * except in compliance with the License. You may obtain a copy of 10 * the License at http://www.mozilla.org/NPL/ 11 * 12 * Software distributed under the License is distributed on an "AS 13 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 14 * implied. See the License for the specific language governing 15 * rights and limitations under the License. 16 * 17 * The Original Code is Mozilla Communicator client code, released 18 * March 31, 1998. 19 * 20 * The Initial Developer of the Original Code is Netscape 21 * Communications Corporation. Portions created by Netscape are 22 * Copyright (C) 1998-1999 Netscape Communications Corporation. All 23 * Rights Reserved. 24 * 25 * Contributor(s): 26 */ 27 28 /* 29 * secerrstrs.h - map security errors to strings (used by errormap.c) 30 * 31 */ 32 33 /* 34 **************************************************************************** 35 * The code below this point was provided by Nelson Bolyard <nelsonb> of the 36 * Netscape Certificate Server team on 27-March-1998. 37 * Taken from the file ns/security/cmd/lib/SECerrs.h on NSS_1_BRANCH. 38 * Last updated from there: 24-July-1998 by Mark Smith <mcs> 39 * 40 * All of the Directory Server specific changes are enclosed inside 41 * #ifdef NS_DIRECTORY. 42 **************************************************************************** 43 */ 44 45 /* General security error codes */ 46 /* Caller must #include "secerr.h" */ 47 48 49 ER3(SEC_ERROR_IO, SEC_ERROR_BASE + 0, 50 dgettext(TEXT_DOMAIN, 51 "An I/O error occurred during security authorization.")) 52 53 ER3(SEC_ERROR_LIBRARY_FAILURE, SEC_ERROR_BASE + 1, 54 dgettext(TEXT_DOMAIN, 55 "security library failure.")) 56 57 ER3(SEC_ERROR_BAD_DATA, SEC_ERROR_BASE + 2, 58 dgettext(TEXT_DOMAIN, 59 "security library: received bad data.")) 60 61 ER3(SEC_ERROR_OUTPUT_LEN, SEC_ERROR_BASE + 3, 62 dgettext(TEXT_DOMAIN, 63 "security library: output length error.")) 64 65 ER3(SEC_ERROR_INPUT_LEN, SEC_ERROR_BASE + 4, 66 dgettext(TEXT_DOMAIN, 67 "security library has experienced an input length error.")) 68 69 ER3(SEC_ERROR_INVALID_ARGS, SEC_ERROR_BASE + 5, 70 dgettext(TEXT_DOMAIN, 71 "security library: invalid arguments.")) 72 73 ER3(SEC_ERROR_INVALID_ALGORITHM, SEC_ERROR_BASE + 6, 74 dgettext(TEXT_DOMAIN, 75 "security library: invalid algorithm.")) 76 77 ER3(SEC_ERROR_INVALID_AVA, SEC_ERROR_BASE + 7, 78 dgettext(TEXT_DOMAIN, 79 "security library: invalid AVA.")) 80 81 ER3(SEC_ERROR_INVALID_TIME, SEC_ERROR_BASE + 8, 82 dgettext(TEXT_DOMAIN, 83 "security library: invalid time.")) 84 85 ER3(SEC_ERROR_BAD_DER, SEC_ERROR_BASE + 9, 86 dgettext(TEXT_DOMAIN, 87 "security library: improperly formatted DER-encoded message.")) 88 89 ER3(SEC_ERROR_BAD_SIGNATURE, SEC_ERROR_BASE + 10, 90 dgettext(TEXT_DOMAIN, 91 "Peer's certificate has an invalid signature.")) 92 93 ER3(SEC_ERROR_EXPIRED_CERTIFICATE, SEC_ERROR_BASE + 11, 94 dgettext(TEXT_DOMAIN, 95 "Peer's Certificate has expired.")) 96 97 ER3(SEC_ERROR_REVOKED_CERTIFICATE, SEC_ERROR_BASE + 12, 98 dgettext(TEXT_DOMAIN, 99 "Peer's Certificate has been revoked.")) 100 101 ER3(SEC_ERROR_UNKNOWN_ISSUER, SEC_ERROR_BASE + 13, 102 dgettext(TEXT_DOMAIN, 103 "Peer's Certificate issuer is not recognized.")) 104 105 ER3(SEC_ERROR_BAD_KEY, SEC_ERROR_BASE + 14, 106 dgettext(TEXT_DOMAIN, 107 "Peer's public key is invalid.")) 108 109 ER3(SEC_ERROR_BAD_PASSWORD, SEC_ERROR_BASE + 15, 110 dgettext(TEXT_DOMAIN, 111 "The security password entered is incorrect.")) 112 113 ER3(SEC_ERROR_RETRY_PASSWORD, SEC_ERROR_BASE + 16, 114 dgettext(TEXT_DOMAIN, 115 "New password entered incorrectly. Please try again.")) 116 117 ER3(SEC_ERROR_NO_NODELOCK, SEC_ERROR_BASE + 17, 118 dgettext(TEXT_DOMAIN, 119 "security library: no nodelock.")) 120 121 ER3(SEC_ERROR_BAD_DATABASE, SEC_ERROR_BASE + 18, 122 dgettext(TEXT_DOMAIN, 123 "security library: bad database.")) 124 125 ER3(SEC_ERROR_NO_MEMORY, SEC_ERROR_BASE + 19, 126 dgettext(TEXT_DOMAIN, 127 "security library: memory allocation failure.")) 128 129 ER3(SEC_ERROR_UNTRUSTED_ISSUER, SEC_ERROR_BASE + 20, 130 dgettext(TEXT_DOMAIN, 131 "Peer's certificate issuer has been marked as not trusted by the user.")) 132 133 ER3(SEC_ERROR_UNTRUSTED_CERT, SEC_ERROR_BASE + 21, 134 dgettext(TEXT_DOMAIN, 135 "Peer's certificate has been marked as not trusted by the user.")) 136 137 ER3(SEC_ERROR_DUPLICATE_CERT, (SEC_ERROR_BASE + 22), 138 dgettext(TEXT_DOMAIN, 139 "Certificate already exists in your database.")) 140 141 ER3(SEC_ERROR_DUPLICATE_CERT_NAME, (SEC_ERROR_BASE + 23), 142 dgettext(TEXT_DOMAIN, 143 "Downloaded certificate's name duplicates one already in your database.")) 144 145 ER3(SEC_ERROR_ADDING_CERT, (SEC_ERROR_BASE + 24), 146 dgettext(TEXT_DOMAIN, 147 "Error adding certificate to database.")) 148 149 ER3(SEC_ERROR_FILING_KEY, (SEC_ERROR_BASE + 25), 150 dgettext(TEXT_DOMAIN, 151 "Error refiling the key for this certificate.")) 152 153 ER3(SEC_ERROR_NO_KEY, (SEC_ERROR_BASE + 26), 154 dgettext(TEXT_DOMAIN, 155 "The private key for this certificate cannot be found in key database")) 156 157 ER3(SEC_ERROR_CERT_VALID, (SEC_ERROR_BASE + 27), 158 dgettext(TEXT_DOMAIN, 159 "This certificate is valid.")) 160 161 ER3(SEC_ERROR_CERT_NOT_VALID, (SEC_ERROR_BASE + 28), 162 dgettext(TEXT_DOMAIN, 163 "This certificate is not valid.")) 164 165 ER3(SEC_ERROR_CERT_NO_RESPONSE, (SEC_ERROR_BASE + 29), 166 dgettext(TEXT_DOMAIN, 167 "Cert Library: No Response")) 168 169 ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE, (SEC_ERROR_BASE + 30), 170 dgettext(TEXT_DOMAIN, 171 "The certificate issuer's certificate has expired. Check your system date and time.")) 172 173 ER3(SEC_ERROR_CRL_EXPIRED, (SEC_ERROR_BASE + 31), 174 dgettext(TEXT_DOMAIN, 175 "The CRL for the certificate's issuer has expired. Update it or check your system data and time.")) 176 177 ER3(SEC_ERROR_CRL_BAD_SIGNATURE, (SEC_ERROR_BASE + 32), 178 dgettext(TEXT_DOMAIN, 179 "The CRL for the certificate's issuer has an invalid signature.")) 180 181 ER3(SEC_ERROR_CRL_INVALID, (SEC_ERROR_BASE + 33), 182 dgettext(TEXT_DOMAIN, 183 "New CRL has an invalid format.")) 184 185 ER3(SEC_ERROR_EXTENSION_VALUE_INVALID, (SEC_ERROR_BASE + 34), 186 dgettext(TEXT_DOMAIN, 187 "Certificate extension value is invalid.")) 188 189 ER3(SEC_ERROR_EXTENSION_NOT_FOUND, (SEC_ERROR_BASE + 35), 190 dgettext(TEXT_DOMAIN, 191 "Certificate extension not found.")) 192 193 ER3(SEC_ERROR_CA_CERT_INVALID, (SEC_ERROR_BASE + 36), 194 dgettext(TEXT_DOMAIN, 195 "Issuer certificate is invalid.")) 196 197 ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID, (SEC_ERROR_BASE + 37), 198 dgettext(TEXT_DOMAIN, 199 "Certificate path length constraint is invalid.")) 200 201 ER3(SEC_ERROR_CERT_USAGES_INVALID, (SEC_ERROR_BASE + 38), 202 dgettext(TEXT_DOMAIN, 203 "Certificate usages field is invalid.")) 204 205 ER3(SEC_INTERNAL_ONLY, (SEC_ERROR_BASE + 39), 206 dgettext(TEXT_DOMAIN, 207 "**Internal ONLY module**")) 208 209 ER3(SEC_ERROR_INVALID_KEY, (SEC_ERROR_BASE + 40), 210 dgettext(TEXT_DOMAIN, 211 "The key does not support the requested operation.")) 212 213 ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 41), 214 dgettext(TEXT_DOMAIN, 215 "Certificate contains unknown critical extension.")) 216 217 ER3(SEC_ERROR_OLD_CRL, (SEC_ERROR_BASE + 42), 218 dgettext(TEXT_DOMAIN, 219 "New CRL is not later than the current one.")) 220 221 ER3(SEC_ERROR_NO_EMAIL_CERT, (SEC_ERROR_BASE + 43), 222 dgettext(TEXT_DOMAIN, 223 "Not encrypted or signed: you do not yet have an email certificate.")) 224 225 ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY, (SEC_ERROR_BASE + 44), 226 dgettext(TEXT_DOMAIN, 227 "Not encrypted: you do not have certificates for each of the recipients.")) 228 229 ER3(SEC_ERROR_NOT_A_RECIPIENT, (SEC_ERROR_BASE + 45), 230 dgettext(TEXT_DOMAIN, 231 "Cannot decrypt: you are not a recipient, or matching certificate and \ 232 private key not found.")) 233 234 ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH, (SEC_ERROR_BASE + 46), 235 dgettext(TEXT_DOMAIN, 236 "Cannot decrypt: key encryption algorithm does not match your certificate.")) 237 238 ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE, (SEC_ERROR_BASE + 47), 239 dgettext(TEXT_DOMAIN, 240 "Signature verification failed: no signer found, too many signers found, \ 241 or improper or corrupted data.")) 242 243 ER3(SEC_ERROR_UNSUPPORTED_KEYALG, (SEC_ERROR_BASE + 48), 244 dgettext(TEXT_DOMAIN, 245 "Unsupported or unknown key algorithm.")) 246 247 ER3(SEC_ERROR_DECRYPTION_DISALLOWED, (SEC_ERROR_BASE + 49), 248 dgettext(TEXT_DOMAIN, 249 "Cannot decrypt: encrypted using a disallowed algorithm or key size.")) 250 251 252 /* Fortezza Alerts */ 253 ER3(XP_SEC_FORTEZZA_BAD_CARD, (SEC_ERROR_BASE + 50), 254 dgettext(TEXT_DOMAIN, 255 "Fortezza card has not been properly initialized. \ 256 Please remove it and return it to your issuer.")) 257 258 ER3(XP_SEC_FORTEZZA_NO_CARD, (SEC_ERROR_BASE + 51), 259 dgettext(TEXT_DOMAIN, 260 "No Fortezza cards Found")) 261 262 ER3(XP_SEC_FORTEZZA_NONE_SELECTED, (SEC_ERROR_BASE + 52), 263 dgettext(TEXT_DOMAIN, 264 "No Fortezza card selected")) 265 266 ER3(XP_SEC_FORTEZZA_MORE_INFO, (SEC_ERROR_BASE + 53), 267 dgettext(TEXT_DOMAIN, 268 "Please select a personality to get more info on")) 269 270 ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND, (SEC_ERROR_BASE + 54), 271 dgettext(TEXT_DOMAIN, 272 "Personality not found")) 273 274 ER3(XP_SEC_FORTEZZA_NO_MORE_INFO, (SEC_ERROR_BASE + 55), 275 dgettext(TEXT_DOMAIN, 276 "No more information on that Personality")) 277 278 ER3(XP_SEC_FORTEZZA_BAD_PIN, (SEC_ERROR_BASE + 56), 279 dgettext(TEXT_DOMAIN, 280 "Invalid Pin")) 281 282 ER3(XP_SEC_FORTEZZA_PERSON_ERROR, (SEC_ERROR_BASE + 57), 283 dgettext(TEXT_DOMAIN, 284 "Couldn't initialize Fortezza personalities.")) 285 /* end fortezza alerts. */ 286 287 ER3(SEC_ERROR_NO_KRL, (SEC_ERROR_BASE + 58), 288 dgettext(TEXT_DOMAIN, 289 "No KRL for this site's certificate has been found.")) 290 291 ER3(SEC_ERROR_KRL_EXPIRED, (SEC_ERROR_BASE + 59), 292 dgettext(TEXT_DOMAIN, 293 "The KRL for this site's certificate has expired.")) 294 295 ER3(SEC_ERROR_KRL_BAD_SIGNATURE, (SEC_ERROR_BASE + 60), 296 dgettext(TEXT_DOMAIN, 297 "The KRL for this site's certificate has an invalid signature.")) 298 299 ER3(SEC_ERROR_REVOKED_KEY, (SEC_ERROR_BASE + 61), 300 dgettext(TEXT_DOMAIN, 301 "The key for this site's certificate has been revoked.")) 302 303 ER3(SEC_ERROR_KRL_INVALID, (SEC_ERROR_BASE + 62), 304 dgettext(TEXT_DOMAIN, 305 "New KRL has an invalid format.")) 306 307 ER3(SEC_ERROR_NEED_RANDOM, (SEC_ERROR_BASE + 63), 308 dgettext(TEXT_DOMAIN, 309 "security library: need random data.")) 310 311 ER3(SEC_ERROR_NO_MODULE, (SEC_ERROR_BASE + 64), 312 dgettext(TEXT_DOMAIN, 313 "security library: no security module can perform the requested operation.")) 314 315 ER3(SEC_ERROR_NO_TOKEN, (SEC_ERROR_BASE + 65), 316 dgettext(TEXT_DOMAIN, 317 "The security card or token does not exist, needs to be initialized, or has been removed.")) 318 319 ER3(SEC_ERROR_READ_ONLY, (SEC_ERROR_BASE + 66), 320 dgettext(TEXT_DOMAIN, 321 "security library: read-only database.")) 322 323 ER3(SEC_ERROR_NO_SLOT_SELECTED, (SEC_ERROR_BASE + 67), 324 dgettext(TEXT_DOMAIN, 325 "No slot or token was selected.")) 326 327 ER3(SEC_ERROR_CERT_NICKNAME_COLLISION, (SEC_ERROR_BASE + 68), 328 dgettext(TEXT_DOMAIN, 329 "A certificate with the same nickname already exists.")) 330 331 ER3(SEC_ERROR_KEY_NICKNAME_COLLISION, (SEC_ERROR_BASE + 69), 332 dgettext(TEXT_DOMAIN, 333 "A key with the same nickname already exists.")) 334 335 ER3(SEC_ERROR_SAFE_NOT_CREATED, (SEC_ERROR_BASE + 70), 336 dgettext(TEXT_DOMAIN, 337 "error while creating safe object")) 338 339 ER3(SEC_ERROR_BAGGAGE_NOT_CREATED, (SEC_ERROR_BASE + 71), 340 dgettext(TEXT_DOMAIN, 341 "error while creating baggage object")) 342 343 ER3(XP_JAVA_REMOVE_PRINCIPAL_ERROR, (SEC_ERROR_BASE + 72), 344 dgettext(TEXT_DOMAIN, 345 "Couldn't remove the principal")) 346 347 ER3(XP_JAVA_DELETE_PRIVILEGE_ERROR, (SEC_ERROR_BASE + 73), 348 dgettext(TEXT_DOMAIN, 349 "Couldn't delete the privilege")) 350 351 ER3(XP_JAVA_CERT_NOT_EXISTS_ERROR, (SEC_ERROR_BASE + 74), 352 dgettext(TEXT_DOMAIN, 353 "This principal doesn't have a certificate")) 354 355 ER3(SEC_ERROR_BAD_EXPORT_ALGORITHM, (SEC_ERROR_BASE + 75), 356 dgettext(TEXT_DOMAIN, 357 "Required algorithm is not allowed.")) 358 359 ER3(SEC_ERROR_EXPORTING_CERTIFICATES, (SEC_ERROR_BASE + 76), 360 dgettext(TEXT_DOMAIN, 361 "Error attempting to export certificates.")) 362 363 ER3(SEC_ERROR_IMPORTING_CERTIFICATES, (SEC_ERROR_BASE + 77), 364 dgettext(TEXT_DOMAIN, 365 "Error attempting to import certificates.")) 366 367 ER3(SEC_ERROR_PKCS12_DECODING_PFX, (SEC_ERROR_BASE + 78), 368 dgettext(TEXT_DOMAIN, 369 "Unable to import. Decoding error. File not valid.")) 370 371 ER3(SEC_ERROR_PKCS12_INVALID_MAC, (SEC_ERROR_BASE + 79), 372 dgettext(TEXT_DOMAIN, 373 "Unable to import. Invalid MAC. Incorrect password or corrupt file.")) 374 375 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM, (SEC_ERROR_BASE + 80), 376 dgettext(TEXT_DOMAIN, 377 "Unable to import. MAC algorithm not supported.")) 378 379 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE,(SEC_ERROR_BASE + 81), 380 dgettext(TEXT_DOMAIN, 381 "Unable to import. Only password integrity and privacy modes supported.")) 382 383 ER3(SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE, (SEC_ERROR_BASE + 82), 384 dgettext(TEXT_DOMAIN, 385 "Unable to import. File structure is corrupt.")) 386 387 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, (SEC_ERROR_BASE + 83), 388 dgettext(TEXT_DOMAIN, 389 "Unable to import. Encryption algorithm not supported.")) 390 391 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_VERSION, (SEC_ERROR_BASE + 84), 392 dgettext(TEXT_DOMAIN, 393 "Unable to import. File version not supported.")) 394 395 ER3(SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT,(SEC_ERROR_BASE + 85), 396 dgettext(TEXT_DOMAIN, 397 "Unable to import. Incorrect privacy password.")) 398 399 ER3(SEC_ERROR_PKCS12_CERT_COLLISION, (SEC_ERROR_BASE + 86), 400 dgettext(TEXT_DOMAIN, 401 "Unable to import. Same nickname already exists in database.")) 402 403 ER3(SEC_ERROR_USER_CANCELLED, (SEC_ERROR_BASE + 87), 404 dgettext(TEXT_DOMAIN, 405 "The user pressed cancel.")) 406 407 ER3(SEC_ERROR_PKCS12_DUPLICATE_DATA, (SEC_ERROR_BASE + 88), 408 dgettext(TEXT_DOMAIN, 409 "Not imported, already in database.")) 410 411 ER3(SEC_ERROR_MESSAGE_SEND_ABORTED, (SEC_ERROR_BASE + 89), 412 dgettext(TEXT_DOMAIN, 413 "Message not sent.")) 414 415 ER3(SEC_ERROR_INADEQUATE_KEY_USAGE, (SEC_ERROR_BASE + 90), 416 dgettext(TEXT_DOMAIN, 417 "Certificate key usage inadequate for attempted operation.")) 418 419 ER3(SEC_ERROR_INADEQUATE_CERT_TYPE, (SEC_ERROR_BASE + 91), 420 dgettext(TEXT_DOMAIN, 421 "Certificate type not approved for application.")) 422 423 ER3(SEC_ERROR_CERT_ADDR_MISMATCH, (SEC_ERROR_BASE + 92), 424 dgettext(TEXT_DOMAIN, 425 "Address in signing certificate does not match address in message headers.")) 426 427 ER3(SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY, (SEC_ERROR_BASE + 93), 428 dgettext(TEXT_DOMAIN, 429 "Unable to import. Error attempting to import private key.")) 430 431 ER3(SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN, (SEC_ERROR_BASE + 94), 432 dgettext(TEXT_DOMAIN, 433 "Unable to import. Error attempting to import certificate chain.")) 434 435 ER3(SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, (SEC_ERROR_BASE + 95), 436 dgettext(TEXT_DOMAIN, 437 "Unable to export. Unable to locate certificate or key by nickname.")) 438 439 ER3(SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY, (SEC_ERROR_BASE + 96), 440 dgettext(TEXT_DOMAIN, 441 "Unable to export. Private Key could not be located and exported.")) 442 443 ER3(SEC_ERROR_PKCS12_UNABLE_TO_WRITE, (SEC_ERROR_BASE + 97), 444 dgettext(TEXT_DOMAIN, 445 "Unable to export. Unable to write the export file.")) 446 447 ER3(SEC_ERROR_PKCS12_UNABLE_TO_READ, (SEC_ERROR_BASE + 98), 448 dgettext(TEXT_DOMAIN, 449 "Unable to import. Unable to read the import file.")) 450 451 ER3(SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, (SEC_ERROR_BASE + 99), 452 dgettext(TEXT_DOMAIN, 453 "Unable to export. Key database corrupt or deleted.")) 454 455 ER3(SEC_ERROR_KEYGEN_FAIL, (SEC_ERROR_BASE + 100), 456 dgettext(TEXT_DOMAIN, 457 "Unable to generate public/private key pair.")) 458 459 ER3(SEC_ERROR_INVALID_PASSWORD, (SEC_ERROR_BASE + 101), 460 dgettext(TEXT_DOMAIN, 461 "Password entered is invalid. Please pick a different one.")) 462 463 ER3(SEC_ERROR_RETRY_OLD_PASSWORD, (SEC_ERROR_BASE + 102), 464 dgettext(TEXT_DOMAIN, 465 "Old password entered incorrectly. Please try again.")) 466 467 ER3(SEC_ERROR_BAD_NICKNAME, (SEC_ERROR_BASE + 103), 468 dgettext(TEXT_DOMAIN, 469 "Certificate nickname already in use.")) 470 471 ER3(SEC_ERROR_NOT_FORTEZZA_ISSUER, (SEC_ERROR_BASE + 104), 472 dgettext(TEXT_DOMAIN, 473 "Peer FORTEZZA chain has a non-FORTEZZA Certificate.")) 474 475 /* ER3(SEC_ERROR_UNKNOWN, (SEC_ERROR_BASE + 105), */ 476 477 ER3(SEC_ERROR_JS_INVALID_MODULE_NAME, (SEC_ERROR_BASE + 106), 478 dgettext(TEXT_DOMAIN, 479 "Invalid module name.")) 480 481 ER3(SEC_ERROR_JS_INVALID_DLL, (SEC_ERROR_BASE + 107), 482 dgettext(TEXT_DOMAIN, 483 "Invalid module path/filename")) 484 485 ER3(SEC_ERROR_JS_ADD_MOD_FAILURE, (SEC_ERROR_BASE + 108), 486 dgettext(TEXT_DOMAIN, 487 "Unable to add module")) 488 489 ER3(SEC_ERROR_JS_DEL_MOD_FAILURE, (SEC_ERROR_BASE + 109), 490 dgettext(TEXT_DOMAIN, 491 "Unable to delete module")) 492 493 ER3(SEC_ERROR_OLD_KRL, (SEC_ERROR_BASE + 110), 494 dgettext(TEXT_DOMAIN, 495 "New KRL is not later than the current one.")) 496 497 ER3(SEC_ERROR_CKL_CONFLICT, (SEC_ERROR_BASE + 111), 498 dgettext(TEXT_DOMAIN, 499 "New CKL has different issuer than current CKL. Delete current CKL.")) 500 501 #if 0 /* This was defined AFTER HCL 1.5 was released. */ 502 ER3(SEC_ERROR_CERT_NOT_IN_NAME_SPACE, (SEC_ERROR_BASE + 112), 503 "The Certifying Authority for this certifcate is not permitted to issue a \ 504 certifcate with this name.")) 505 #endif 506 507 508 509