Back to index

lightning-sunbird  0.9+nobinonly
SECerrs.h
Go to the documentation of this file.
00001 /* ***** BEGIN LICENSE BLOCK *****
00002  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00003  *
00004  * The contents of this file are subject to the Mozilla Public License Version
00005  * 1.1 (the "License"); you may not use this file except in compliance with
00006  * the License. You may obtain a copy of the License at
00007  * http://www.mozilla.org/MPL/
00008  *
00009  * Software distributed under the License is distributed on an "AS IS" basis,
00010  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00011  * for the specific language governing rights and limitations under the
00012  * License.
00013  *
00014  * The Original Code is the Netscape security libraries.
00015  *
00016  * The Initial Developer of the Original Code is
00017  * Netscape Communications Corporation.
00018  * Portions created by the Initial Developer are Copyright (C) 1994-2000
00019  * the Initial Developer. All Rights Reserved.
00020  *
00021  * Contributor(s):
00022  *
00023  * Alternatively, the contents of this file may be used under the terms of
00024  * either the GNU General Public License Version 2 or later (the "GPL"), or
00025  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00026  * in which case the provisions of the GPL or the LGPL are applicable instead
00027  * of those above. If you wish to allow use of your version of this file only
00028  * under the terms of either the GPL or the LGPL, and not to allow others to
00029  * use your version of this file under the terms of the MPL, indicate your
00030  * decision by deleting the provisions above and replace them with the notice
00031  * and other provisions required by the GPL or the LGPL. If you do not delete
00032  * the provisions above, a recipient may use your version of this file under
00033  * the terms of any one of the MPL, the GPL or the LGPL.
00034  *
00035  * ***** END LICENSE BLOCK ***** */
00036 
00037 /* General security error codes  */
00038 /* Caller must #include "secerr.h" */
00039 
00040 ER3(SEC_ERROR_IO,                         SEC_ERROR_BASE + 0,
00041 "An I/O error occurred during security authorization.")
00042 
00043 ER3(SEC_ERROR_LIBRARY_FAILURE,                   SEC_ERROR_BASE + 1,
00044 "security library failure.")
00045 
00046 ER3(SEC_ERROR_BAD_DATA,                          SEC_ERROR_BASE + 2,
00047 "security library: received bad data.")
00048 
00049 ER3(SEC_ERROR_OUTPUT_LEN,                 SEC_ERROR_BASE + 3,
00050 "security library: output length error.")
00051 
00052 ER3(SEC_ERROR_INPUT_LEN,                  SEC_ERROR_BASE + 4,
00053 "security library has experienced an input length error.")
00054 
00055 ER3(SEC_ERROR_INVALID_ARGS,               SEC_ERROR_BASE + 5,
00056 "security library: invalid arguments.")
00057 
00058 ER3(SEC_ERROR_INVALID_ALGORITHM,          SEC_ERROR_BASE + 6,
00059 "security library: invalid algorithm.")
00060 
00061 ER3(SEC_ERROR_INVALID_AVA,                SEC_ERROR_BASE + 7,
00062 "security library: invalid AVA.")
00063 
00064 ER3(SEC_ERROR_INVALID_TIME,               SEC_ERROR_BASE + 8,
00065 "Improperly formatted time string.")
00066 
00067 ER3(SEC_ERROR_BAD_DER,                           SEC_ERROR_BASE + 9,
00068 "security library: improperly formatted DER-encoded message.")
00069 
00070 ER3(SEC_ERROR_BAD_SIGNATURE,                     SEC_ERROR_BASE + 10,
00071 "Peer's certificate has an invalid signature.")
00072 
00073 ER3(SEC_ERROR_EXPIRED_CERTIFICATE,        SEC_ERROR_BASE + 11,
00074 "Peer's Certificate has expired.")
00075 
00076 ER3(SEC_ERROR_REVOKED_CERTIFICATE,        SEC_ERROR_BASE + 12,
00077 "Peer's Certificate has been revoked.")
00078 
00079 ER3(SEC_ERROR_UNKNOWN_ISSUER,                    SEC_ERROR_BASE + 13,
00080 "Peer's Certificate issuer is not recognized.")
00081 
00082 ER3(SEC_ERROR_BAD_KEY,                           SEC_ERROR_BASE + 14,
00083 "Peer's public key is invalid.")
00084 
00085 ER3(SEC_ERROR_BAD_PASSWORD,               SEC_ERROR_BASE + 15,
00086 "The security password entered is incorrect.")
00087 
00088 ER3(SEC_ERROR_RETRY_PASSWORD,                    SEC_ERROR_BASE + 16,
00089 "New password entered incorrectly.  Please try again.")
00090 
00091 ER3(SEC_ERROR_NO_NODELOCK,                SEC_ERROR_BASE + 17,
00092 "security library: no nodelock.")
00093 
00094 ER3(SEC_ERROR_BAD_DATABASE,               SEC_ERROR_BASE + 18,
00095 "security library: bad database.")
00096 
00097 ER3(SEC_ERROR_NO_MEMORY,                  SEC_ERROR_BASE + 19,
00098 "security library: memory allocation failure.")
00099 
00100 ER3(SEC_ERROR_UNTRUSTED_ISSUER,                  SEC_ERROR_BASE + 20,
00101 "Peer's certificate issuer has been marked as not trusted by the user.")
00102 
00103 ER3(SEC_ERROR_UNTRUSTED_CERT,                    SEC_ERROR_BASE + 21,
00104 "Peer's certificate has been marked as not trusted by the user.")
00105 
00106 ER3(SEC_ERROR_DUPLICATE_CERT,                    (SEC_ERROR_BASE + 22),
00107 "Certificate already exists in your database.")
00108 
00109 ER3(SEC_ERROR_DUPLICATE_CERT_NAME,        (SEC_ERROR_BASE + 23),
00110 "Downloaded certificate's name duplicates one already in your database.")
00111 
00112 ER3(SEC_ERROR_ADDING_CERT,                (SEC_ERROR_BASE + 24),
00113 "Error adding certificate to database.")
00114 
00115 ER3(SEC_ERROR_FILING_KEY,                 (SEC_ERROR_BASE + 25),
00116 "Error refiling the key for this certificate.")
00117 
00118 ER3(SEC_ERROR_NO_KEY,                            (SEC_ERROR_BASE + 26),
00119 "The private key for this certificate cannot be found in key database")
00120 
00121 ER3(SEC_ERROR_CERT_VALID,                 (SEC_ERROR_BASE + 27),
00122 "This certificate is valid.")
00123 
00124 ER3(SEC_ERROR_CERT_NOT_VALID,                    (SEC_ERROR_BASE + 28),
00125 "This certificate is not valid.")
00126 
00127 ER3(SEC_ERROR_CERT_NO_RESPONSE,                  (SEC_ERROR_BASE + 29),
00128 "Cert Library: No Response")
00129 
00130 ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE, (SEC_ERROR_BASE + 30),
00131 "The certificate issuer's certificate has expired.  Check your system date and time.")
00132 
00133 ER3(SEC_ERROR_CRL_EXPIRED,                (SEC_ERROR_BASE + 31),
00134 "The CRL for the certificate's issuer has expired.  Update it or check your system date and time.")
00135 
00136 ER3(SEC_ERROR_CRL_BAD_SIGNATURE,          (SEC_ERROR_BASE + 32),
00137 "The CRL for the certificate's issuer has an invalid signature.")
00138 
00139 ER3(SEC_ERROR_CRL_INVALID,                (SEC_ERROR_BASE + 33),
00140 "New CRL has an invalid format.")
00141 
00142 ER3(SEC_ERROR_EXTENSION_VALUE_INVALID,           (SEC_ERROR_BASE + 34),
00143 "Certificate extension value is invalid.")
00144 
00145 ER3(SEC_ERROR_EXTENSION_NOT_FOUND,        (SEC_ERROR_BASE + 35),
00146 "Certificate extension not found.")
00147 
00148 ER3(SEC_ERROR_CA_CERT_INVALID,                   (SEC_ERROR_BASE + 36),
00149 "Issuer certificate is invalid.")
00150    
00151 ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID,       (SEC_ERROR_BASE + 37),
00152 "Certificate path length constraint is invalid.")
00153 
00154 ER3(SEC_ERROR_CERT_USAGES_INVALID,        (SEC_ERROR_BASE + 38),
00155 "Certificate usages field is invalid.")
00156 
00157 ER3(SEC_INTERNAL_ONLY,                           (SEC_ERROR_BASE + 39),
00158 "**Internal ONLY module**")
00159 
00160 ER3(SEC_ERROR_INVALID_KEY,                (SEC_ERROR_BASE + 40),
00161 "The key does not support the requested operation.")
00162 
00163 ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION, (SEC_ERROR_BASE + 41),
00164 "Certificate contains unknown critical extension.")
00165 
00166 ER3(SEC_ERROR_OLD_CRL,                           (SEC_ERROR_BASE + 42),
00167 "New CRL is not later than the current one.")
00168 
00169 ER3(SEC_ERROR_NO_EMAIL_CERT,                     (SEC_ERROR_BASE + 43),
00170 "Not encrypted or signed: you do not yet have an email certificate.")
00171 
00172 ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY,          (SEC_ERROR_BASE + 44),
00173 "Not encrypted: you do not have certificates for each of the recipients.")
00174 
00175 ER3(SEC_ERROR_NOT_A_RECIPIENT,                   (SEC_ERROR_BASE + 45),
00176 "Cannot decrypt: you are not a recipient, or matching certificate and \
00177 private key not found.")
00178 
00179 ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH,             (SEC_ERROR_BASE + 46),
00180 "Cannot decrypt: key encryption algorithm does not match your certificate.")
00181 
00182 ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE,        (SEC_ERROR_BASE + 47),
00183 "Signature verification failed: no signer found, too many signers found, \
00184 or improper or corrupted data.")
00185 
00186 ER3(SEC_ERROR_UNSUPPORTED_KEYALG,         (SEC_ERROR_BASE + 48),
00187 "Unsupported or unknown key algorithm.")
00188 
00189 ER3(SEC_ERROR_DECRYPTION_DISALLOWED,             (SEC_ERROR_BASE + 49),
00190 "Cannot decrypt: encrypted using a disallowed algorithm or key size.")
00191 
00192 
00193 /* Fortezza Alerts */
00194 ER3(XP_SEC_FORTEZZA_BAD_CARD,                    (SEC_ERROR_BASE + 50),
00195 "Fortezza card has not been properly initialized.  \
00196 Please remove it and return it to your issuer.")
00197 
00198 ER3(XP_SEC_FORTEZZA_NO_CARD,                     (SEC_ERROR_BASE + 51),
00199 "No Fortezza cards Found")
00200 
00201 ER3(XP_SEC_FORTEZZA_NONE_SELECTED,        (SEC_ERROR_BASE + 52),
00202 "No Fortezza card selected")
00203 
00204 ER3(XP_SEC_FORTEZZA_MORE_INFO,                   (SEC_ERROR_BASE + 53),
00205 "Please select a personality to get more info on")
00206 
00207 ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND,            (SEC_ERROR_BASE + 54),
00208 "Personality not found")
00209 
00210 ER3(XP_SEC_FORTEZZA_NO_MORE_INFO,         (SEC_ERROR_BASE + 55),
00211 "No more information on that Personality")
00212 
00213 ER3(XP_SEC_FORTEZZA_BAD_PIN,                     (SEC_ERROR_BASE + 56),
00214 "Invalid Pin")
00215 
00216 ER3(XP_SEC_FORTEZZA_PERSON_ERROR,         (SEC_ERROR_BASE + 57),
00217 "Couldn't initialize Fortezza personalities.")
00218 /* end fortezza alerts. */
00219 
00220 ER3(SEC_ERROR_NO_KRL,                            (SEC_ERROR_BASE + 58),
00221 "No KRL for this site's certificate has been found.")
00222 
00223 ER3(SEC_ERROR_KRL_EXPIRED,                (SEC_ERROR_BASE + 59),
00224 "The KRL for this site's certificate has expired.")
00225 
00226 ER3(SEC_ERROR_KRL_BAD_SIGNATURE,          (SEC_ERROR_BASE + 60),
00227 "The KRL for this site's certificate has an invalid signature.")
00228 
00229 ER3(SEC_ERROR_REVOKED_KEY,                (SEC_ERROR_BASE + 61),
00230 "The key for this site's certificate has been revoked.")
00231 
00232 ER3(SEC_ERROR_KRL_INVALID,                (SEC_ERROR_BASE + 62),
00233 "New KRL has an invalid format.")
00234 
00235 ER3(SEC_ERROR_NEED_RANDOM,                (SEC_ERROR_BASE + 63),
00236 "security library: need random data.")
00237 
00238 ER3(SEC_ERROR_NO_MODULE,                  (SEC_ERROR_BASE + 64),
00239 "security library: no security module can perform the requested operation.")
00240 
00241 ER3(SEC_ERROR_NO_TOKEN,                          (SEC_ERROR_BASE + 65),
00242 "The security card or token does not exist, needs to be initialized, or has been removed.")
00243 
00244 ER3(SEC_ERROR_READ_ONLY,                  (SEC_ERROR_BASE + 66),
00245 "security library: read-only database.")
00246 
00247 ER3(SEC_ERROR_NO_SLOT_SELECTED,                  (SEC_ERROR_BASE + 67),
00248 "No slot or token was selected.")
00249 
00250 ER3(SEC_ERROR_CERT_NICKNAME_COLLISION,           (SEC_ERROR_BASE + 68),
00251 "A certificate with the same nickname already exists.")
00252 
00253 ER3(SEC_ERROR_KEY_NICKNAME_COLLISION,            (SEC_ERROR_BASE + 69),
00254 "A key with the same nickname already exists.")
00255 
00256 ER3(SEC_ERROR_SAFE_NOT_CREATED,                  (SEC_ERROR_BASE + 70),
00257 "error while creating safe object")
00258 
00259 ER3(SEC_ERROR_BAGGAGE_NOT_CREATED,        (SEC_ERROR_BASE + 71),
00260 "error while creating baggage object")
00261 
00262 ER3(XP_JAVA_REMOVE_PRINCIPAL_ERROR,              (SEC_ERROR_BASE + 72),
00263 "Couldn't remove the principal")
00264 
00265 ER3(XP_JAVA_DELETE_PRIVILEGE_ERROR,              (SEC_ERROR_BASE + 73),
00266 "Couldn't delete the privilege")
00267 
00268 ER3(XP_JAVA_CERT_NOT_EXISTS_ERROR,        (SEC_ERROR_BASE + 74),
00269 "This principal doesn't have a certificate")
00270 
00271 ER3(SEC_ERROR_BAD_EXPORT_ALGORITHM,              (SEC_ERROR_BASE + 75),
00272 "Required algorithm is not allowed.")
00273 
00274 ER3(SEC_ERROR_EXPORTING_CERTIFICATES,            (SEC_ERROR_BASE + 76),
00275 "Error attempting to export certificates.")
00276 
00277 ER3(SEC_ERROR_IMPORTING_CERTIFICATES,            (SEC_ERROR_BASE + 77),
00278 "Error attempting to import certificates.")
00279 
00280 ER3(SEC_ERROR_PKCS12_DECODING_PFX,        (SEC_ERROR_BASE + 78),
00281 "Unable to import.  Decoding error.  File not valid.")
00282 
00283 ER3(SEC_ERROR_PKCS12_INVALID_MAC,         (SEC_ERROR_BASE + 79),
00284 "Unable to import.  Invalid MAC.  Incorrect password or corrupt file.")
00285 
00286 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM,  (SEC_ERROR_BASE + 80),
00287 "Unable to import.  MAC algorithm not supported.")
00288 
00289 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE,(SEC_ERROR_BASE + 81),
00290 "Unable to import.  Only password integrity and privacy modes supported.")
00291 
00292 ER3(SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE,      (SEC_ERROR_BASE + 82),
00293 "Unable to import.  File structure is corrupt.")
00294 
00295 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, (SEC_ERROR_BASE + 83),
00296 "Unable to import.  Encryption algorithm not supported.")
00297 
00298 ER3(SEC_ERROR_PKCS12_UNSUPPORTED_VERSION, (SEC_ERROR_BASE + 84),
00299 "Unable to import.  File version not supported.")
00300 
00301 ER3(SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT,(SEC_ERROR_BASE + 85),
00302 "Unable to import.  Incorrect privacy password.")
00303 
00304 ER3(SEC_ERROR_PKCS12_CERT_COLLISION,             (SEC_ERROR_BASE + 86),
00305 "Unable to import.  Same nickname already exists in database.")
00306 
00307 ER3(SEC_ERROR_USER_CANCELLED,                    (SEC_ERROR_BASE + 87),
00308 "The user pressed cancel.")
00309 
00310 ER3(SEC_ERROR_PKCS12_DUPLICATE_DATA,             (SEC_ERROR_BASE + 88),
00311 "Not imported, already in database.")
00312 
00313 ER3(SEC_ERROR_MESSAGE_SEND_ABORTED,              (SEC_ERROR_BASE + 89),
00314 "Message not sent.")
00315 
00316 ER3(SEC_ERROR_INADEQUATE_KEY_USAGE,              (SEC_ERROR_BASE + 90),
00317 "Certificate key usage inadequate for attempted operation.")
00318 
00319 ER3(SEC_ERROR_INADEQUATE_CERT_TYPE,              (SEC_ERROR_BASE + 91),
00320 "Certificate type not approved for application.")
00321 
00322 ER3(SEC_ERROR_CERT_ADDR_MISMATCH,         (SEC_ERROR_BASE + 92),
00323 "Address in signing certificate does not match address in message headers.")
00324 
00325 ER3(SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY,       (SEC_ERROR_BASE + 93),
00326 "Unable to import.  Error attempting to import private key.")
00327 
00328 ER3(SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN,       (SEC_ERROR_BASE + 94),
00329 "Unable to import.  Error attempting to import certificate chain.")
00330 
00331 ER3(SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, (SEC_ERROR_BASE + 95),
00332 "Unable to export.  Unable to locate certificate or key by nickname.")
00333 
00334 ER3(SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY,       (SEC_ERROR_BASE + 96),
00335 "Unable to export.  Private Key could not be located and exported.")
00336 
00337 ER3(SEC_ERROR_PKCS12_UNABLE_TO_WRITE,            (SEC_ERROR_BASE + 97),
00338 "Unable to export.  Unable to write the export file.")
00339 
00340 ER3(SEC_ERROR_PKCS12_UNABLE_TO_READ,             (SEC_ERROR_BASE + 98),
00341 "Unable to import.  Unable to read the import file.")
00342 
00343 ER3(SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, (SEC_ERROR_BASE + 99),
00344 "Unable to export.  Key database corrupt or deleted.")
00345 
00346 ER3(SEC_ERROR_KEYGEN_FAIL,                (SEC_ERROR_BASE + 100),
00347 "Unable to generate public/private key pair.")
00348 
00349 ER3(SEC_ERROR_INVALID_PASSWORD,                  (SEC_ERROR_BASE + 101),
00350 "Password entered is invalid.  Please pick a different one.")
00351 
00352 ER3(SEC_ERROR_RETRY_OLD_PASSWORD,         (SEC_ERROR_BASE + 102),
00353 "Old password entered incorrectly.  Please try again.")
00354 
00355 ER3(SEC_ERROR_BAD_NICKNAME,               (SEC_ERROR_BASE + 103),
00356 "Certificate nickname already in use.")
00357 
00358 ER3(SEC_ERROR_NOT_FORTEZZA_ISSUER,        (SEC_ERROR_BASE + 104),
00359 "Peer FORTEZZA chain has a non-FORTEZZA Certificate.")
00360 
00361 ER3(SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY,  (SEC_ERROR_BASE + 105),
00362 "A sensitive key cannot be moved to the slot where it is needed.")
00363 
00364 ER3(SEC_ERROR_JS_INVALID_MODULE_NAME,            (SEC_ERROR_BASE + 106),
00365 "Invalid module name.")
00366 
00367 ER3(SEC_ERROR_JS_INVALID_DLL,                    (SEC_ERROR_BASE + 107),
00368 "Invalid module path/filename")
00369 
00370 ER3(SEC_ERROR_JS_ADD_MOD_FAILURE,         (SEC_ERROR_BASE + 108),
00371 "Unable to add module")
00372 
00373 ER3(SEC_ERROR_JS_DEL_MOD_FAILURE,         (SEC_ERROR_BASE + 109),
00374 "Unable to delete module")
00375 
00376 ER3(SEC_ERROR_OLD_KRL,                           (SEC_ERROR_BASE + 110),
00377 "New KRL is not later than the current one.")
00378  
00379 ER3(SEC_ERROR_CKL_CONFLICT,               (SEC_ERROR_BASE + 111),
00380 "New CKL has different issuer than current CKL.  Delete current CKL.")
00381 
00382 ER3(SEC_ERROR_CERT_NOT_IN_NAME_SPACE,            (SEC_ERROR_BASE + 112),
00383 "The Certifying Authority for this certificate is not permitted to issue a \
00384 certificate with this name.")
00385 
00386 ER3(SEC_ERROR_KRL_NOT_YET_VALID,          (SEC_ERROR_BASE + 113),
00387 "The key revocation list for this certificate is not yet valid.")
00388 
00389 ER3(SEC_ERROR_CRL_NOT_YET_VALID,          (SEC_ERROR_BASE + 114),
00390 "The certificate revocation list for this certificate is not yet valid.")
00391 
00392 ER3(SEC_ERROR_UNKNOWN_CERT,               (SEC_ERROR_BASE + 115),
00393 "The requested certificate could not be found.")
00394 
00395 ER3(SEC_ERROR_UNKNOWN_SIGNER,                    (SEC_ERROR_BASE + 116),
00396 "The signer's certificate could not be found.")
00397 
00398 ER3(SEC_ERROR_CERT_BAD_ACCESS_LOCATION,          (SEC_ERROR_BASE + 117),
00399 "The location for the certificate status server has invalid format.")
00400 
00401 ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE, (SEC_ERROR_BASE + 118),
00402 "The OCSP response cannot be fully decoded; it is of an unknown type.")
00403 
00404 ER3(SEC_ERROR_OCSP_BAD_HTTP_RESPONSE,            (SEC_ERROR_BASE + 119),
00405 "The OCSP server returned unexpected/invalid HTTP data.")
00406 
00407 ER3(SEC_ERROR_OCSP_MALFORMED_REQUEST,            (SEC_ERROR_BASE + 120),
00408 "The OCSP server found the request to be corrupted or improperly formed.")
00409 
00410 ER3(SEC_ERROR_OCSP_SERVER_ERROR,          (SEC_ERROR_BASE + 121),
00411 "The OCSP server experienced an internal error.")
00412 
00413 ER3(SEC_ERROR_OCSP_TRY_SERVER_LATER,             (SEC_ERROR_BASE + 122),
00414 "The OCSP server suggests trying again later.")
00415 
00416 ER3(SEC_ERROR_OCSP_REQUEST_NEEDS_SIG,            (SEC_ERROR_BASE + 123),
00417 "The OCSP server requires a signature on this request.")
00418 
00419 ER3(SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST,  (SEC_ERROR_BASE + 124),
00420 "The OCSP server has refused this request as unauthorized.")
00421 
00422 ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS,      (SEC_ERROR_BASE + 125),
00423 "The OCSP server returned an unrecognizable status.")
00424 
00425 ER3(SEC_ERROR_OCSP_UNKNOWN_CERT,          (SEC_ERROR_BASE + 126),
00426 "The OCSP server has no status for the certificate.")
00427 
00428 ER3(SEC_ERROR_OCSP_NOT_ENABLED,                  (SEC_ERROR_BASE + 127),
00429 "You must enable OCSP before performing this operation.")
00430 
00431 ER3(SEC_ERROR_OCSP_NO_DEFAULT_RESPONDER,  (SEC_ERROR_BASE + 128),
00432 "You must set the OCSP default responder before performing this operation.")
00433 
00434 ER3(SEC_ERROR_OCSP_MALFORMED_RESPONSE,           (SEC_ERROR_BASE + 129),
00435 "The response from the OCSP server was corrupted or improperly formed.")
00436 
00437 ER3(SEC_ERROR_OCSP_UNAUTHORIZED_RESPONSE, (SEC_ERROR_BASE + 130),
00438 "The signer of the OCSP response is not authorized to give status for \
00439 this certificate.")
00440 
00441 ER3(SEC_ERROR_OCSP_FUTURE_RESPONSE,              (SEC_ERROR_BASE + 131),
00442 "The OCSP response is not yet valid (contains a date in the future).")
00443 
00444 ER3(SEC_ERROR_OCSP_OLD_RESPONSE,          (SEC_ERROR_BASE + 132),
00445 "The OCSP response contains out-of-date information.")
00446 
00447 ER3(SEC_ERROR_DIGEST_NOT_FOUND,                  (SEC_ERROR_BASE + 133),
00448 "The CMS or PKCS #7 Digest was not found in signed message.")
00449 
00450 ER3(SEC_ERROR_UNSUPPORTED_MESSAGE_TYPE,          (SEC_ERROR_BASE + 134),
00451 "The CMS or PKCS #7 Message type is unsupported.")
00452 
00453 ER3(SEC_ERROR_MODULE_STUCK,               (SEC_ERROR_BASE + 135),
00454 "PKCS #11 module could not be removed because it is still in use.")
00455 
00456 ER3(SEC_ERROR_BAD_TEMPLATE,               (SEC_ERROR_BASE + 136),
00457 "Could not decode ASN.1 data. Specified template was invalid.")
00458 
00459 ER3(SEC_ERROR_CRL_NOT_FOUND,                     (SEC_ERROR_BASE + 137),
00460 "No matching CRL was found.")
00461 
00462 ER3(SEC_ERROR_REUSED_ISSUER_AND_SERIAL,        (SEC_ERROR_BASE + 138),
00463 "You are attempting to import a cert with the same issuer/serial as \
00464 an existing cert, but that is not the same cert.")
00465 
00466 ER3(SEC_ERROR_BUSY,                       (SEC_ERROR_BASE + 139),
00467 "NSS could not shutdown. Objects are still in use.")
00468 
00469 ER3(SEC_ERROR_EXTRA_INPUT,                (SEC_ERROR_BASE + 140),
00470 "DER-encoded message contained extra unused data.")
00471 
00472 ER3(SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE, (SEC_ERROR_BASE + 141),
00473 "Unsupported elliptic curve.")
00474 
00475 ER3(SEC_ERROR_UNSUPPORTED_EC_POINT_FORM,  (SEC_ERROR_BASE + 142),
00476 "Unsupported elliptic curve point form.")
00477 
00478 ER3(SEC_ERROR_UNRECOGNIZED_OID,                  (SEC_ERROR_BASE + 143),
00479 "Unrecognized Object Identifier.")
00480 
00481 ER3(SEC_ERROR_OCSP_INVALID_SIGNING_CERT,  (SEC_ERROR_BASE + 144),
00482 "Invalid OCSP signing certificate in OCSP response.")
00483 
00484 ER3(SEC_ERROR_REVOKED_CERTIFICATE_CRL,          (SEC_ERROR_BASE + 145),
00485 "Certificate is revoked in issuer's certificate revocation list.")
00486 
00487 ER3(SEC_ERROR_REVOKED_CERTIFICATE_OCSP,         (SEC_ERROR_BASE + 146),
00488 "Issuer's OCSP responder reports certificate is revoked.")
00489 
00490 ER3(SEC_ERROR_CRL_INVALID_VERSION,              (SEC_ERROR_BASE + 147),
00491 "Issuer's Certificate Revocation List has an unknown version number.")
00492 
00493 ER3(SEC_ERROR_CRL_V1_CRITICAL_EXTENSION,        (SEC_ERROR_BASE + 148),
00494 "Issuer's V1 Certificate Revocation List has a critical extension.")
00495 
00496 ER3(SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION,   (SEC_ERROR_BASE + 149),
00497 "Issuer's V2 Certificate Revocation List has an unknown critical extension.")
00498 
00499 ER3(SEC_ERROR_UNKNOWN_OBJECT_TYPE,         (SEC_ERROR_BASE + 150),
00500 "Unknown object type specified.")
00501 
00502 ER3(SEC_ERROR_INCOMPATIBLE_PKCS11,         (SEC_ERROR_BASE + 151),
00503 "PKCS #11 driver violates the spec in an incompatible way.")
00504 
00505 ER3(SEC_ERROR_NO_EVENT,                          (SEC_ERROR_BASE + 152),
00506 "No new slot event is available at this time.")
00507 
00508 ER3(SEC_ERROR_CRL_ALREADY_EXISTS,                (SEC_ERROR_BASE + 153),
00509 "CRL already exists.")
00510 
00511 ER3(SEC_ERROR_NOT_INITIALIZED,                   (SEC_ERROR_BASE + 154),
00512 "NSS is not initialized.")
00513 
00514 ER3(SEC_ERROR_TOKEN_NOT_LOGGED_IN,               (SEC_ERROR_BASE + 155),
00515 "The operation failed because the PKCS#11 token is not logged in.")
00516 
00517 ER3(SEC_ERROR_OCSP_RESPONDER_CERT_INVALID,       (SEC_ERROR_BASE + 156),
00518 "Configured OCSP responder's certificate is invalid.")
00519 
00520 ER3(SEC_ERROR_OCSP_BAD_SIGNATURE,                (SEC_ERROR_BASE + 157),
00521 "OCSP response has an invalid signature.")