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