pam_pkcs11  0.6.10
SECerrs.h
Go to the documentation of this file.
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Mozilla Public License Version
5  * 1.1 (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  * for the specific language governing rights and limitations under the
12  * License.
13  *
14  * The Original Code is the Netscape security libraries.
15  *
16  * The Initial Developer of the Original Code is
17  * Netscape Communications Corporation.
18  * Portions created by the Initial Developer are Copyright (C) 1994-2000
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *
23  * Alternatively, the contents of this file may be used under the terms of
24  * either the GNU General Public License Version 2 or later (the "GPL"), or
25  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
26  * in which case the provisions of the GPL or the LGPL are applicable instead
27  * of those above. If you wish to allow use of your version of this file only
28  * under the terms of either the GPL or the LGPL, and not to allow others to
29  * use your version of this file under the terms of the MPL, indicate your
30  * decision by deleting the provisions above and replace them with the notice
31  * and other provisions required by the GPL or the LGPL. If you do not delete
32  * the provisions above, a recipient may use your version of this file under
33  * the terms of any one of the MPL, the GPL or the LGPL.
34  *
35  * ***** END LICENSE BLOCK ***** */
36 
37 /* General security error codes */
38 /* Caller must #include "secerr.h" */
39 
40 ER3(SEC_ERROR_IO, SEC_ERROR_BASE + 0,
41 "An I/O error occurred during security authorization.")
42 
43 ER3(SEC_ERROR_LIBRARY_FAILURE, SEC_ERROR_BASE + 1,
44 "security library failure.")
45 
46 ER3(SEC_ERROR_BAD_DATA, SEC_ERROR_BASE + 2,
47 "security library: received bad data.")
48 
49 ER3(SEC_ERROR_OUTPUT_LEN, SEC_ERROR_BASE + 3,
50 "security library: output length error.")
51 
52 ER3(SEC_ERROR_INPUT_LEN, SEC_ERROR_BASE + 4,
53 "security library has experienced an input length error.")
54 
55 ER3(SEC_ERROR_INVALID_ARGS, SEC_ERROR_BASE + 5,
56 "security library: invalid arguments.")
57 
58 ER3(SEC_ERROR_INVALID_ALGORITHM, SEC_ERROR_BASE + 6,
59 "security library: invalid algorithm.")
60 
61 ER3(SEC_ERROR_INVALID_AVA, SEC_ERROR_BASE + 7,
62 "security library: invalid AVA.")
63 
64 ER3(SEC_ERROR_INVALID_TIME, SEC_ERROR_BASE + 8,
65 "Improperly formatted time string.")
66 
67 ER3(SEC_ERROR_BAD_DER, SEC_ERROR_BASE + 9,
68 "security library: improperly formatted DER-encoded message.")
69 
70 ER3(SEC_ERROR_BAD_SIGNATURE, SEC_ERROR_BASE + 10,
71 "Peer's certificate has an invalid signature.")
72 
73 ER3(SEC_ERROR_EXPIRED_CERTIFICATE, SEC_ERROR_BASE + 11,
74 "Peer's Certificate has expired.")
75 
76 ER3(SEC_ERROR_REVOKED_CERTIFICATE, SEC_ERROR_BASE + 12,
77 "Peer's Certificate has been revoked.")
78 
79 ER3(SEC_ERROR_UNKNOWN_ISSUER, SEC_ERROR_BASE + 13,
80 "Peer's Certificate issuer is not recognized.")
81 
82 ER3(SEC_ERROR_BAD_KEY, SEC_ERROR_BASE + 14,
83 "Peer's public key is invalid.")
84 
85 ER3(SEC_ERROR_BAD_PASSWORD, SEC_ERROR_BASE + 15,
86 "The security password entered is incorrect.")
87 
88 ER3(SEC_ERROR_RETRY_PASSWORD, SEC_ERROR_BASE + 16,
89 "New password entered incorrectly. Please try again.")
90 
91 ER3(SEC_ERROR_NO_NODELOCK, SEC_ERROR_BASE + 17,
92 "security library: no nodelock.")
93 
94 ER3(SEC_ERROR_BAD_DATABASE, SEC_ERROR_BASE + 18,
95 "security library: bad database.")
96 
97 ER3(SEC_ERROR_NO_MEMORY, SEC_ERROR_BASE + 19,
98 "security library: memory allocation failure.")
99 
100 ER3(SEC_ERROR_UNTRUSTED_ISSUER, SEC_ERROR_BASE + 20,
101 "Peer's certificate issuer has been marked as not trusted by the user.")
102 
103 ER3(SEC_ERROR_UNTRUSTED_CERT, SEC_ERROR_BASE + 21,
104 "Peer's certificate has been marked as not trusted by the user.")
105 
106 ER3(SEC_ERROR_DUPLICATE_CERT, (SEC_ERROR_BASE + 22),
107 "Certificate already exists in your database.")
108 
109 ER3(SEC_ERROR_DUPLICATE_CERT_NAME, (SEC_ERROR_BASE + 23),
110 "Downloaded certificate's name duplicates one already in your database.")
111 
112 ER3(SEC_ERROR_ADDING_CERT, (SEC_ERROR_BASE + 24),
113 "Error adding certificate to database.")
114 
115 ER3(SEC_ERROR_FILING_KEY, (SEC_ERROR_BASE + 25),
116 "Error refiling the key for this certificate.")
117 
118 ER3(SEC_ERROR_NO_KEY, (SEC_ERROR_BASE + 26),
119 "The private key for this certificate cannot be found in key database")
120 
121 ER3(SEC_ERROR_CERT_VALID, (SEC_ERROR_BASE + 27),
122 "This certificate is valid.")
123 
124 ER3(SEC_ERROR_CERT_NOT_VALID, (SEC_ERROR_BASE + 28),
125 "This certificate is not valid.")
126 
127 ER3(SEC_ERROR_CERT_NO_RESPONSE, (SEC_ERROR_BASE + 29),
128 "Cert Library: No Response")
129 
130 ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE, (SEC_ERROR_BASE + 30),
131 "The certificate issuer's certificate has expired. Check your system date and time.")
132 
133 ER3(SEC_ERROR_CRL_EXPIRED, (SEC_ERROR_BASE + 31),
134 "The CRL for the certificate's issuer has expired. Update it or check your system data and time.")
135 
136 ER3(SEC_ERROR_CRL_BAD_SIGNATURE, (SEC_ERROR_BASE + 32),
137 "The CRL for the certificate's issuer has an invalid signature.")
138 
139 ER3(SEC_ERROR_CRL_INVALID, (SEC_ERROR_BASE + 33),
140 "New CRL has an invalid format.")
141 
142 ER3(SEC_ERROR_EXTENSION_VALUE_INVALID, (SEC_ERROR_BASE + 34),
143 "Certificate extension value is invalid.")
144 
145 ER3(SEC_ERROR_EXTENSION_NOT_FOUND, (SEC_ERROR_BASE + 35),
146 "Certificate extension not found.")
147 
148 ER3(SEC_ERROR_CA_CERT_INVALID, (SEC_ERROR_BASE + 36),
149 "Issuer certificate is invalid.")
150 
151 ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID, (SEC_ERROR_BASE + 37),
152 "Certificate path length constraint is invalid.")
153 
154 ER3(SEC_ERROR_CERT_USAGES_INVALID, (SEC_ERROR_BASE + 38),
155 "Certificate usages field is invalid.")
156 
157 ER3(SEC_INTERNAL_ONLY, (SEC_ERROR_BASE + 39),
158 "**Internal ONLY module**")
159 
160 ER3(SEC_ERROR_INVALID_KEY, (SEC_ERROR_BASE + 40),
161 "The key does not support the requested operation.")
162 
163 ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 41),
164 "Certificate contains unknown critical extension.")
165 
166 ER3(SEC_ERROR_OLD_CRL, (SEC_ERROR_BASE + 42),
167 "New CRL is not later than the current one.")
168 
169 ER3(SEC_ERROR_NO_EMAIL_CERT, (SEC_ERROR_BASE + 43),
170 "Not encrypted or signed: you do not yet have an email certificate.")
171 
172 ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY, (SEC_ERROR_BASE + 44),
173 "Not encrypted: you do not have certificates for each of the recipients.")
174 
175 ER3(SEC_ERROR_NOT_A_RECIPIENT, (SEC_ERROR_BASE + 45),
176 "Cannot decrypt: you are not a recipient, or matching certificate and \
177 private key not found.")
178 
179 ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH, (SEC_ERROR_BASE + 46),
180 "Cannot decrypt: key encryption algorithm does not match your certificate.")
181 
182 ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE, (SEC_ERROR_BASE + 47),
183 "Signature verification failed: no signer found, too many signers found, \
184 or improper or corrupted data.")
185 
186 ER3(SEC_ERROR_UNSUPPORTED_KEYALG, (SEC_ERROR_BASE + 48),
187 "Unsupported or unknown key algorithm.")
188 
189 ER3(SEC_ERROR_DECRYPTION_DISALLOWED, (SEC_ERROR_BASE + 49),
190 "Cannot decrypt: encrypted using a disallowed algorithm or key size.")
191 
192 
193 /* Fortezza Alerts */
194 ER3(XP_SEC_FORTEZZA_BAD_CARD, (SEC_ERROR_BASE + 50),
195 "Fortezza card has not been properly initialized. \
196 Please remove it and return it to your issuer.")
197 
198 ER3(XP_SEC_FORTEZZA_NO_CARD, (SEC_ERROR_BASE + 51),
199 "No Fortezza cards Found")
200 
201 ER3(XP_SEC_FORTEZZA_NONE_SELECTED, (SEC_ERROR_BASE + 52),
202 "No Fortezza card selected")
203 
204 ER3(XP_SEC_FORTEZZA_MORE_INFO, (SEC_ERROR_BASE + 53),
205 "Please select a personality to get more info on")
206 
207 ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND, (SEC_ERROR_BASE + 54),
208 "Personality not found")
209 
210 ER3(XP_SEC_FORTEZZA_NO_MORE_INFO, (SEC_ERROR_BASE + 55),
211 "No more information on that Personality")
212 
213 ER3(XP_SEC_FORTEZZA_BAD_PIN, (SEC_ERROR_BASE + 56),
214 "Invalid Pin")
215 
216 ER3(XP_SEC_FORTEZZA_PERSON_ERROR, (SEC_ERROR_BASE + 57),
217 "Couldn't initialize Fortezza personalities.")
218 /* end fortezza alerts. */
219 
220 ER3(SEC_ERROR_NO_KRL, (SEC_ERROR_BASE + 58),
221 "No KRL for this site's certificate has been found.")
222 
223 ER3(SEC_ERROR_KRL_EXPIRED, (SEC_ERROR_BASE + 59),
224 "The KRL for this site's certificate has expired.")
225 
226 ER3(SEC_ERROR_KRL_BAD_SIGNATURE, (SEC_ERROR_BASE + 60),
227 "The KRL for this site's certificate has an invalid signature.")
228 
229 ER3(SEC_ERROR_REVOKED_KEY, (SEC_ERROR_BASE + 61),
230 "The key for this site's certificate has been revoked.")
231 
232 ER3(SEC_ERROR_KRL_INVALID, (SEC_ERROR_BASE + 62),
233 "New KRL has an invalid format.")
234 
235 ER3(SEC_ERROR_NEED_RANDOM, (SEC_ERROR_BASE + 63),
236 "security library: need random data.")
237 
238 ER3(SEC_ERROR_NO_MODULE, (SEC_ERROR_BASE + 64),
239 "security library: no security module can perform the requested operation.")
240 
241 ER3(SEC_ERROR_NO_TOKEN, (SEC_ERROR_BASE + 65),
242 "The security card or token does not exist, needs to be initialized, or has been removed.")
243 
244 ER3(SEC_ERROR_READ_ONLY, (SEC_ERROR_BASE + 66),
245 "security library: read-only database.")
246 
247 ER3(SEC_ERROR_NO_SLOT_SELECTED, (SEC_ERROR_BASE + 67),
248 "No slot or token was selected.")
249 
250 ER3(SEC_ERROR_CERT_NICKNAME_COLLISION, (SEC_ERROR_BASE + 68),
251 "A certificate with the same nickname already exists.")
252 
253 ER3(SEC_ERROR_KEY_NICKNAME_COLLISION, (SEC_ERROR_BASE + 69),
254 "A key with the same nickname already exists.")
255 
256 ER3(SEC_ERROR_SAFE_NOT_CREATED, (SEC_ERROR_BASE + 70),
257 "error while creating safe object")
258 
259 ER3(SEC_ERROR_BAGGAGE_NOT_CREATED, (SEC_ERROR_BASE + 71),
260 "error while creating baggage object")
261 
262 ER3(XP_JAVA_REMOVE_PRINCIPAL_ERROR, (SEC_ERROR_BASE + 72),
263 "Couldn't remove the principal")
264 
265 ER3(XP_JAVA_DELETE_PRIVILEGE_ERROR, (SEC_ERROR_BASE + 73),
266 "Couldn't delete the privilege")
267 
268 ER3(XP_JAVA_CERT_NOT_EXISTS_ERROR, (SEC_ERROR_BASE + 74),
269 "This principal doesn't have a certificate")
270 
271 ER3(SEC_ERROR_BAD_EXPORT_ALGORITHM, (SEC_ERROR_BASE + 75),
272 "Required algorithm is not allowed.")
273 
274 ER3(SEC_ERROR_EXPORTING_CERTIFICATES, (SEC_ERROR_BASE + 76),
275 "Error attempting to export certificates.")
276 
277 ER3(SEC_ERROR_IMPORTING_CERTIFICATES, (SEC_ERROR_BASE + 77),
278 "Error attempting to import certificates.")
279 
280 ER3(SEC_ERROR_PKCS12_DECODING_PFX, (SEC_ERROR_BASE + 78),
281 "Unable to import. Decoding error. File not valid.")
282 
283 ER3(SEC_ERROR_PKCS12_INVALID_MAC, (SEC_ERROR_BASE + 79),
284 "Unable to import. Invalid MAC. Incorrect password or corrupt file.")
285 
286 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM, (SEC_ERROR_BASE + 80),
287 "Unable to import. MAC algorithm not supported.")
288 
289 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE,(SEC_ERROR_BASE + 81),
290 "Unable to import. Only password integrity and privacy modes supported.")
291 
292 ER3(SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE, (SEC_ERROR_BASE + 82),
293 "Unable to import. File structure is corrupt.")
294 
295 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, (SEC_ERROR_BASE + 83),
296 "Unable to import. Encryption algorithm not supported.")
297 
298 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_VERSION, (SEC_ERROR_BASE + 84),
299 "Unable to import. File version not supported.")
300 
301 ER3(SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT,(SEC_ERROR_BASE + 85),
302 "Unable to import. Incorrect privacy password.")
303 
304 ER3(SEC_ERROR_PKCS12_CERT_COLLISION, (SEC_ERROR_BASE + 86),
305 "Unable to import. Same nickname already exists in database.")
306 
307 ER3(SEC_ERROR_USER_CANCELLED, (SEC_ERROR_BASE + 87),
308 "The user pressed cancel.")
309 
310 ER3(SEC_ERROR_PKCS12_DUPLICATE_DATA, (SEC_ERROR_BASE + 88),
311 "Not imported, already in database.")
312 
313 ER3(SEC_ERROR_MESSAGE_SEND_ABORTED, (SEC_ERROR_BASE + 89),
314 "Message not sent.")
315 
316 ER3(SEC_ERROR_INADEQUATE_KEY_USAGE, (SEC_ERROR_BASE + 90),
317 "Certificate key usage inadequate for attempted operation.")
318 
319 ER3(SEC_ERROR_INADEQUATE_CERT_TYPE, (SEC_ERROR_BASE + 91),
320 "Certificate type not approved for application.")
321 
322 ER3(SEC_ERROR_CERT_ADDR_MISMATCH, (SEC_ERROR_BASE + 92),
323 "Address in signing certificate does not match address in message headers.")
324 
325 ER3(SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY, (SEC_ERROR_BASE + 93),
326 "Unable to import. Error attempting to import private key.")
327 
328 ER3(SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN, (SEC_ERROR_BASE + 94),
329 "Unable to import. Error attempting to import certificate chain.")
330 
331 ER3(SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, (SEC_ERROR_BASE + 95),
332 "Unable to export. Unable to locate certificate or key by nickname.")
333 
334 ER3(SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY, (SEC_ERROR_BASE + 96),
335 "Unable to export. Private Key could not be located and exported.")
336 
337 ER3(SEC_ERROR_PKCS12_UNABLE_TO_WRITE, (SEC_ERROR_BASE + 97),
338 "Unable to export. Unable to write the export file.")
339 
340 ER3(SEC_ERROR_PKCS12_UNABLE_TO_READ, (SEC_ERROR_BASE + 98),
341 "Unable to import. Unable to read the import file.")
342 
343 ER3(SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, (SEC_ERROR_BASE + 99),
344 "Unable to export. Key database corrupt or deleted.")
345 
346 ER3(SEC_ERROR_KEYGEN_FAIL, (SEC_ERROR_BASE + 100),
347 "Unable to generate public/private key pair.")
348 
349 ER3(SEC_ERROR_INVALID_PASSWORD, (SEC_ERROR_BASE + 101),
350 "Password entered is invalid. Please pick a different one.")
351 
352 ER3(SEC_ERROR_RETRY_OLD_PASSWORD, (SEC_ERROR_BASE + 102),
353 "Old password entered incorrectly. Please try again.")
354 
355 ER3(SEC_ERROR_BAD_NICKNAME, (SEC_ERROR_BASE + 103),
356 "Certificate nickname already in use.")
357 
358 ER3(SEC_ERROR_NOT_FORTEZZA_ISSUER, (SEC_ERROR_BASE + 104),
359 "Peer FORTEZZA chain has a non-FORTEZZA Certificate.")
360 
361 ER3(SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY, (SEC_ERROR_BASE + 105),
362 "A sensitive key cannot be moved to the slot where it is needed.")
363 
364 ER3(SEC_ERROR_JS_INVALID_MODULE_NAME, (SEC_ERROR_BASE + 106),
365 "Invalid module name.")
366 
367 ER3(SEC_ERROR_JS_INVALID_DLL, (SEC_ERROR_BASE + 107),
368 "Invalid module path/filename")
369 
370 ER3(SEC_ERROR_JS_ADD_MOD_FAILURE, (SEC_ERROR_BASE + 108),
371 "Unable to add module")
372 
373 ER3(SEC_ERROR_JS_DEL_MOD_FAILURE, (SEC_ERROR_BASE + 109),
374 "Unable to delete module")
375 
376 ER3(SEC_ERROR_OLD_KRL, (SEC_ERROR_BASE + 110),
377 "New KRL is not later than the current one.")
378 
379 ER3(SEC_ERROR_CKL_CONFLICT, (SEC_ERROR_BASE + 111),
380 "New CKL has different issuer than current CKL. Delete current CKL.")
381 
382 ER3(SEC_ERROR_CERT_NOT_IN_NAME_SPACE, (SEC_ERROR_BASE + 112),
383 "The Certifying Authority for this certificate is not permitted to issue a \
384 certificate with this name.")
385 
386 ER3(SEC_ERROR_KRL_NOT_YET_VALID, (SEC_ERROR_BASE + 113),
387 "The key revocation list for this certificate is not yet valid.")
388 
389 ER3(SEC_ERROR_CRL_NOT_YET_VALID, (SEC_ERROR_BASE + 114),
390 "The certificate revocation list for this certificate is not yet valid.")
391 
392 ER3(SEC_ERROR_UNKNOWN_CERT, (SEC_ERROR_BASE + 115),
393 "The requested certificate could not be found.")
394 
395 ER3(SEC_ERROR_UNKNOWN_SIGNER, (SEC_ERROR_BASE + 116),
396 "The signer's certificate could not be found.")
397 
398 ER3(SEC_ERROR_CERT_BAD_ACCESS_LOCATION, (SEC_ERROR_BASE + 117),
399 "The location for the certificate status server has invalid format.")
400 
401 ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE, (SEC_ERROR_BASE + 118),
402 "The OCSP response cannot be fully decoded; it is of an unknown type.")
403 
404 ER3(SEC_ERROR_OCSP_BAD_HTTP_RESPONSE, (SEC_ERROR_BASE + 119),
405 "The OCSP server returned unexpected/invalid HTTP data.")
406 
407 ER3(SEC_ERROR_OCSP_MALFORMED_REQUEST, (SEC_ERROR_BASE + 120),
408 "The OCSP server found the request to be corrupted or improperly formed.")
409 
410 ER3(SEC_ERROR_OCSP_SERVER_ERROR, (SEC_ERROR_BASE + 121),
411 "The OCSP server experienced an internal error.")
412 
413 ER3(SEC_ERROR_OCSP_TRY_SERVER_LATER, (SEC_ERROR_BASE + 122),
414 "The OCSP server suggests trying again later.")
415 
416 ER3(SEC_ERROR_OCSP_REQUEST_NEEDS_SIG, (SEC_ERROR_BASE + 123),
417 "The OCSP server requires a signature on this request.")
418 
419 ER3(SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST, (SEC_ERROR_BASE + 124),
420 "The OCSP server has refused this request as unauthorized.")
421 
422 ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS, (SEC_ERROR_BASE + 125),
423 "The OCSP server returned an unrecognizable status.")
424 
425 ER3(SEC_ERROR_OCSP_UNKNOWN_CERT, (SEC_ERROR_BASE + 126),
426 "The OCSP server has no status for the certificate.")
427 
428 ER3(SEC_ERROR_OCSP_NOT_ENABLED, (SEC_ERROR_BASE + 127),
429 "You must enable OCSP before performing this operation.")
430 
431 ER3(SEC_ERROR_OCSP_NO_DEFAULT_RESPONDER, (SEC_ERROR_BASE + 128),
432 "You must set the OCSP default responder before performing this operation.")
433 
434 ER3(SEC_ERROR_OCSP_MALFORMED_RESPONSE, (SEC_ERROR_BASE + 129),
435 "The response from the OCSP server was corrupted or improperly formed.")
436 
437 ER3(SEC_ERROR_OCSP_UNAUTHORIZED_RESPONSE, (SEC_ERROR_BASE + 130),
438 "The signer of the OCSP response is not authorized to give status for \
439 this certificate.")
440 
441 ER3(SEC_ERROR_OCSP_FUTURE_RESPONSE, (SEC_ERROR_BASE + 131),
442 "The OCSP response is not yet valid (contains a date in the future).")
443 
444 ER3(SEC_ERROR_OCSP_OLD_RESPONSE, (SEC_ERROR_BASE + 132),
445 "The OCSP response contains out-of-date information.")
446 
447 ER3(SEC_ERROR_DIGEST_NOT_FOUND, (SEC_ERROR_BASE + 133),
448 "The CMS or PKCS #7 Digest was not found in signed message.")
449 
450 ER3(SEC_ERROR_UNSUPPORTED_MESSAGE_TYPE, (SEC_ERROR_BASE + 134),
451 "The CMS or PKCS #7 Message type is unsupported.")
452 
453 ER3(SEC_ERROR_MODULE_STUCK, (SEC_ERROR_BASE + 135),
454 "PKCS #11 module could not be removed because it is still in use.")
455 
456 ER3(SEC_ERROR_BAD_TEMPLATE, (SEC_ERROR_BASE + 136),
457 "Could not decode ASN.1 data. Specified template was invalid.")
458 
459 ER3(SEC_ERROR_CRL_NOT_FOUND, (SEC_ERROR_BASE + 137),
460 "No matching CRL was found.")
461 
462 ER3(SEC_ERROR_REUSED_ISSUER_AND_SERIAL, (SEC_ERROR_BASE + 138),
463 "You are attempting to import a cert with the same issuer/serial as \
464 an existing cert, but that is not the same cert.")
465 
466 ER3(SEC_ERROR_BUSY, (SEC_ERROR_BASE + 139),
467 "NSS could not shutdown. Objects are still in use.")
468 
469 ER3(SEC_ERROR_EXTRA_INPUT, (SEC_ERROR_BASE + 140),
470 "DER-encoded message contained extra unused data.")
471 
472 ER3(SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE, (SEC_ERROR_BASE + 141),
473 "Unsupported elliptic curve.")
474 
475 ER3(SEC_ERROR_UNSUPPORTED_EC_POINT_FORM, (SEC_ERROR_BASE + 142),
476 "Unsupported elliptic curve point form.")
477 
478 ER3(SEC_ERROR_UNRECOGNIZED_OID, (SEC_ERROR_BASE + 143),
479 "Unrecognized Object IDentifier.")
480 
481 ER3(SEC_ERROR_OCSP_INVALID_SIGNING_CERT, (SEC_ERROR_BASE + 144),
482 "Invalid OCSP signing certificate in OCSP response.")
483 
484 ER3(SEC_ERROR_REVOKED_CERTIFICATE_CRL, (SEC_ERROR_BASE + 145),
485 "Certificate is revoked in issuer's certificate revocation list.")
486 
487 ER3(SEC_ERROR_REVOKED_CERTIFICATE_OCSP, (SEC_ERROR_BASE + 146),
488 "Issuer's OCSP responder reports certificate is revoked.")
489 
490 ER3(SEC_ERROR_CRL_INVALID_VERSION, (SEC_ERROR_BASE + 147),
491 "Issuer's Certificate Revocation List has an unknown version number.")
492 
493 ER3(SEC_ERROR_CRL_V1_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 148),
494 "Issuer's V1 Certificate Revocation List has a critical extension.")
495 
496 ER3(SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 149),
497 "Issuer's V2 Certificate Revocation List has an unknown critical extension.")
498 
499 ER3(SEC_ERROR_UNKNOWN_OBJECT_TYPE, (SEC_ERROR_BASE + 150),
500 "Unknown object type specified.")
501 
502 ER3(SEC_ERROR_INCOMPATIBLE_PKCS11, (SEC_ERROR_BASE + 151),
503 "PKCS #11 driver violates the spec in an incompatible way.")
504 
505 ER3(SEC_ERROR_NO_EVENT, (SEC_ERROR_BASE + 152),
506 "No new slot event is available at this time.")
failed
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification failed
Definition: SECerrs.h:183
library
security library failure security library
Definition: SECerrs.h:52
exist
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification too many signers or improper or corrupted data Cannot Fortezza card has not been properly initialized Please remove it and return it to your issuer No Fortezza card selected Personality not found Invalid Pin No KRL for this site s certificate has been found The KRL for this site s certificate has an invalid signature New KRL has an invalid format security The security card or token does not exist
Definition: SECerrs.h:242
initialized
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification too many signers or improper or corrupted data Cannot Fortezza card has not been properly initialized Please remove it and return it to your issuer No Fortezza card selected Personality not found Invalid Pin No KRL for this site s certificate has been found The KRL for this site s certificate has an invalid signature New KRL has an invalid format security The security card or token does not needs to be initialized
Definition: SECerrs.h:242
found
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification too many signers found
Definition: SECerrs.h:183
encrypted
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not encrypted
Definition: SECerrs.h:175
cert
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification too many signers or improper or corrupted data Cannot Fortezza card has not been properly initialized Please remove it and return it to your issuer No Fortezza card selected Personality not found Invalid Pin No KRL for this site s certificate has been found The KRL for this site s certificate has an invalid signature New KRL has an invalid format security The security card or token does not needs to be or has been removed No slot or token was selected A key with the same nickname already exists error while creating baggage object Couldn t delete the privilege Required algorithm is not allowed Error attempting to import certificates Unable to import Invalid MAC Incorrect password or corrupt file Unable to import Only password integrity and privacy modes supported Unable to import Encryption algorithm not supported Unable to import Incorrect privacy password The user pressed cancel Message not sent Certificate type not approved for application Unable to import Error attempting to import private key Unable to export Unable to locate certificate or key by nickname Unable to export Unable to write the export file Unable to export Key database corrupt or deleted Password entered is invalid Please pick a different one Certificate nickname already in use A sensitive key cannot be moved to the slot where it is needed Invalid module path filename Unable to delete module New CKL has different issuer than current CKL Delete current CKL The key revocation list for this certificate is not yet valid The requested certificate could not be found The location for the certificate status server has invalid format The OCSP server returned unexpected invalid HTTP data The OCSP server experienced an internal error The OCSP server requires a signature on this request The OCSP server returned an unrecognizable status You must enable OCSP before performing this operation The response from the OCSP server was corrupted or improperly formed The OCSP response is not yet The OCSP response contains out of date information The CMS or PKCS Could not decode ASN data Specified template was invalid You are attempting to import a cert with the same issuer serial as an existing cert
Definition: SECerrs.h:464
certificate
Unable to communicate securely Peer requires high grade encryption which is not supported Unable to find the certificate or key necessary for authentication The server has encountered bad data from the client Unsupported certificate type Client authentication Unable to communicate securely with Peer only supports SSL which is locally disabled SSL peer reports incorrect Message Authentication Code SSL peer rejected your certificate as revoked Cannot Cannot An unknown SSL cipher suite has been requested SSL received a record with bad block padding SSL attempted to send a record that exceeded the maximum permissible length SSL received a malformed Client Hello handshake message SSL received a malformed Certificate handshake message SSL received a malformed Certificate Request handshake message SSL received a malformed Certificate Verify handshake message SSL received a malformed Finished handshake message SSL received a malformed Alert record SSL received a malformed Application Data record SSL received an unexpected Client Hello handshake message SSL received an unexpected Certificate handshake message SSL received an unexpected Certificate Request handshake message SSL received an unexpected Certificate Verify handshake message SSL received an unexpected Finished handshake message SSL received an unexpected Alert record SSL received an unexpected Application Data record SSL received a handshake message with an unknown message type SSL peer has closed this connection SSL peer was unable to succesfully decompress an SSL record it received SSL peer rejected a handshake message for unacceptable content SSL peer had some unspecified issue with the certificate it received Unable to digitally sign data required to verify your certificate Unspecified failure while processing SSL Server Key Exchange handshake Bulk data encryption algorithm failed in selected cipher suite Attempt to write encrypted data to underlying socket failed SHA digest function failed Failure to create Symmetric Key context SSL Server attempted to use domestic grade public key with export cipher suite Failed to initialize the selected cipher suite Server has no key for the attempted key exchange algorithm No PKCS Cannot initiate another SSL handshake until current handshake is complete The certificate provided cannot be used with the selected key exchange algorithm Client s SSL session ID not found in server s session cache Peer received an SSL record that was longer than is permitted Peer received a valid certificate
Definition: SSLerrs.h:344
version
Unable to communicate securely Peer requires high grade encryption which is not supported Unable to find the certificate or key necessary for authentication The server has encountered bad data from the client Unsupported certificate type Client authentication Unable to communicate securely with Peer only supports SSL version
Definition: SSLerrs.h:82
ER3
ER3(SEC_ERROR_IO, SEC_ERROR_BASE+0, "An I/O error occurred during security authorization.") ER3(SEC_ERROR_LIBRARY_FAILURE
valid
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot or matching certificate and private key not found Signature verification too many signers or improper or corrupted data Cannot Fortezza card has not been properly initialized Please remove it and return it to your issuer No Fortezza card selected Personality not found Invalid Pin No KRL for this site s certificate has been found The KRL for this site s certificate has an invalid signature New KRL has an invalid format security The security card or token does not needs to be or has been removed No slot or token was selected A key with the same nickname already exists error while creating baggage object Couldn t delete the privilege Required algorithm is not allowed Error attempting to import certificates Unable to import Invalid MAC Incorrect password or corrupt file Unable to import Only password integrity and privacy modes supported Unable to import Encryption algorithm not supported Unable to import Incorrect privacy password The user pressed cancel Message not sent Certificate type not approved for application Unable to import Error attempting to import private key Unable to export Unable to locate certificate or key by nickname Unable to export Unable to write the export file Unable to export Key database corrupt or deleted Password entered is invalid Please pick a different one Certificate nickname already in use A sensitive key cannot be moved to the slot where it is needed Invalid module path filename Unable to delete module New CKL has different issuer than current CKL Delete current CKL The key revocation list for this certificate is not yet valid The requested certificate could not be found The location for the certificate status server has invalid format The OCSP server returned unexpected invalid HTTP data The OCSP server experienced an internal error The OCSP server requires a signature on this request The OCSP server returned an unrecognizable status You must enable OCSP before performing this operation The response from the OCSP server was corrupted or improperly formed The OCSP response is not yet valid(contains a date in the future).") ER3(SEC_ERROR_OCSP_OLD_RESPONSE
decrypt
security library failure security security library has experienced an input length error security security Improperly formatted time string Peer s certificate has an invalid signature Peer s Certificate has been revoked Peer s public key is invalid New password entered incorrectly Please try again security security Peer s certificate issuer has been marked as not trusted by the user Certificate already exists in your database Error adding certificate to database The private key for this certificate cannot be found in key database This certificate is not valid The certificate issuer s certificate has expired Check your system date and time The CRL for the certificate s issuer has an invalid signature Certificate extension value is invalid Issuer certificate is invalid Certificate usages field is invalid The key does not support the requested operation New CRL is not later than the current one Not Cannot decrypt
Definition: SECerrs.h:176
SEC_ERROR_BASE
SEC_ERROR_BASE
Definition: SECerrs.h:43