Blame SOURCES/SECerrs.h

b76ddc
/* ***** BEGIN LICENSE BLOCK *****
b76ddc
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
b76ddc
 *
b76ddc
 * The contents of this file are subject to the Mozilla Public License Version
b76ddc
 * 1.1 (the "License"); you may not use this file except in compliance with
b76ddc
 * the License. You may obtain a copy of the License at
b76ddc
 * http://www.mozilla.org/MPL/
b76ddc
 *
b76ddc
 * Software distributed under the License is distributed on an "AS IS" basis,
b76ddc
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
b76ddc
 * for the specific language governing rights and limitations under the
b76ddc
 * License.
b76ddc
 *
b76ddc
 * The Original Code is the Netscape security libraries.
b76ddc
 *
b76ddc
 * The Initial Developer of the Original Code is
b76ddc
 * Netscape Communications Corporation.
b76ddc
 * Portions created by the Initial Developer are Copyright (C) 1994-2000
b76ddc
 * the Initial Developer. All Rights Reserved.
b76ddc
 *
b76ddc
 * Contributor(s):
b76ddc
 *
b76ddc
 * Alternatively, the contents of this file may be used under the terms of
b76ddc
 * either the GNU General Public License Version 2 or later (the "GPL"), or
b76ddc
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
b76ddc
 * in which case the provisions of the GPL or the LGPL are applicable instead
b76ddc
 * of those above. If you wish to allow use of your version of this file only
b76ddc
 * under the terms of either the GPL or the LGPL, and not to allow others to
b76ddc
 * use your version of this file under the terms of the MPL, indicate your
b76ddc
 * decision by deleting the provisions above and replace them with the notice
b76ddc
 * and other provisions required by the GPL or the LGPL. If you do not delete
b76ddc
 * the provisions above, a recipient may use your version of this file under
b76ddc
 * the terms of any one of the MPL, the GPL or the LGPL.
b76ddc
 *
b76ddc
 * ***** END LICENSE BLOCK ***** */
b76ddc
b76ddc
/* General security error codes  */
b76ddc
/* Caller must #include <secerr.h> */
b76ddc
b76ddc
ER3(SEC_ERROR_IO,                       SEC_ERROR_BASE + 0,
b76ddc
"An I/O error occurred during security authorization.")
b76ddc
b76ddc
ER3(SEC_ERROR_LIBRARY_FAILURE,          SEC_ERROR_BASE + 1,
b76ddc
"security library failure.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_DATA,                 SEC_ERROR_BASE + 2,
b76ddc
"security library: received bad data.")
b76ddc
b76ddc
ER3(SEC_ERROR_OUTPUT_LEN,               SEC_ERROR_BASE + 3,
b76ddc
"security library: output length error.")
b76ddc
b76ddc
ER3(SEC_ERROR_INPUT_LEN,                SEC_ERROR_BASE + 4,
b76ddc
"security library has experienced an input length error.")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_ARGS,             SEC_ERROR_BASE + 5,
b76ddc
"security library: invalid arguments.")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_ALGORITHM,        SEC_ERROR_BASE + 6,
b76ddc
"security library: invalid algorithm.")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_AVA,              SEC_ERROR_BASE + 7,
b76ddc
"security library: invalid AVA.")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_TIME,             SEC_ERROR_BASE + 8,
b76ddc
"Improperly formatted time string.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_DER,                  SEC_ERROR_BASE + 9,
b76ddc
"security library: improperly formatted DER-encoded message.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_SIGNATURE,            SEC_ERROR_BASE + 10,
b76ddc
"Peer's certificate has an invalid signature.")
b76ddc
b76ddc
ER3(SEC_ERROR_EXPIRED_CERTIFICATE,      SEC_ERROR_BASE + 11,
b76ddc
"Peer's Certificate has expired.")
b76ddc
b76ddc
ER3(SEC_ERROR_REVOKED_CERTIFICATE,      SEC_ERROR_BASE + 12,
b76ddc
"Peer's Certificate has been revoked.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNKNOWN_ISSUER,           SEC_ERROR_BASE + 13,
b76ddc
"Peer's Certificate issuer is not recognized.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_KEY,                  SEC_ERROR_BASE + 14,
b76ddc
"Peer's public key is invalid.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_PASSWORD,             SEC_ERROR_BASE + 15,
b76ddc
"The security password entered is incorrect.")
b76ddc
b76ddc
ER3(SEC_ERROR_RETRY_PASSWORD,           SEC_ERROR_BASE + 16,
b76ddc
"New password entered incorrectly.  Please try again.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_NODELOCK,              SEC_ERROR_BASE + 17,
b76ddc
"security library: no nodelock.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_DATABASE,             SEC_ERROR_BASE + 18,
b76ddc
"security library: bad database.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_MEMORY,                SEC_ERROR_BASE + 19,
b76ddc
"security library: memory allocation failure.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNTRUSTED_ISSUER,         SEC_ERROR_BASE + 20,
b76ddc
"Peer's certificate issuer has been marked as not trusted by the user.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNTRUSTED_CERT,           SEC_ERROR_BASE + 21,
b76ddc
"Peer's certificate has been marked as not trusted by the user.")
b76ddc
b76ddc
ER3(SEC_ERROR_DUPLICATE_CERT,           (SEC_ERROR_BASE + 22),
b76ddc
"Certificate already exists in your database.")
b76ddc
b76ddc
ER3(SEC_ERROR_DUPLICATE_CERT_NAME,      (SEC_ERROR_BASE + 23),
b76ddc
"Downloaded certificate's name duplicates one already in your database.")
b76ddc
b76ddc
ER3(SEC_ERROR_ADDING_CERT,              (SEC_ERROR_BASE + 24),
b76ddc
"Error adding certificate to database.")
b76ddc
b76ddc
ER3(SEC_ERROR_FILING_KEY,               (SEC_ERROR_BASE + 25),
b76ddc
"Error refiling the key for this certificate.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_KEY,                   (SEC_ERROR_BASE + 26),
b76ddc
"The private key for this certificate cannot be found in key database")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_VALID,               (SEC_ERROR_BASE + 27),
b76ddc
"This certificate is valid.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_NOT_VALID,           (SEC_ERROR_BASE + 28),
b76ddc
"This certificate is not valid.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_NO_RESPONSE,         (SEC_ERROR_BASE + 29),
b76ddc
"Cert Library: No Response")
b76ddc
b76ddc
ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE,   (SEC_ERROR_BASE + 30),
b76ddc
"The certificate issuer's certificate has expired.  Check your system date and time.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_EXPIRED,              (SEC_ERROR_BASE + 31),
b76ddc
"The CRL for the certificate's issuer has expired.  Update it or check your system date and time.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_BAD_SIGNATURE,        (SEC_ERROR_BASE + 32),
b76ddc
"The CRL for the certificate's issuer has an invalid signature.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_INVALID,              (SEC_ERROR_BASE + 33),
b76ddc
"New CRL has an invalid format.")
b76ddc
b76ddc
ER3(SEC_ERROR_EXTENSION_VALUE_INVALID,      (SEC_ERROR_BASE + 34),
b76ddc
"Certificate extension value is invalid.")
b76ddc
b76ddc
ER3(SEC_ERROR_EXTENSION_NOT_FOUND,      (SEC_ERROR_BASE + 35),
b76ddc
"Certificate extension not found.")
b76ddc
b76ddc
ER3(SEC_ERROR_CA_CERT_INVALID,          (SEC_ERROR_BASE + 36),
b76ddc
"Issuer certificate is invalid.")
b76ddc
   
b76ddc
ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID,  (SEC_ERROR_BASE + 37),
b76ddc
"Certificate path length constraint is invalid.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_USAGES_INVALID,      (SEC_ERROR_BASE + 38),
b76ddc
"Certificate usages field is invalid.")
b76ddc
b76ddc
ER3(SEC_INTERNAL_ONLY,              (SEC_ERROR_BASE + 39),
b76ddc
"**Internal ONLY module**")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_KEY,          (SEC_ERROR_BASE + 40),
b76ddc
"The key does not support the requested operation.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION,   (SEC_ERROR_BASE + 41),
b76ddc
"Certificate contains unknown critical extension.")
b76ddc
b76ddc
ER3(SEC_ERROR_OLD_CRL,              (SEC_ERROR_BASE + 42),
b76ddc
"New CRL is not later than the current one.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_EMAIL_CERT,            (SEC_ERROR_BASE + 43),
b76ddc
"Not encrypted or signed: you do not yet have an email certificate.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY,     (SEC_ERROR_BASE + 44),
b76ddc
"Not encrypted: you do not have certificates for each of the recipients.")
b76ddc
b76ddc
ER3(SEC_ERROR_NOT_A_RECIPIENT,          (SEC_ERROR_BASE + 45),
b76ddc
"Cannot decrypt: you are not a recipient, or matching certificate and \
b76ddc
private key not found.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH,        (SEC_ERROR_BASE + 46),
b76ddc
"Cannot decrypt: key encryption algorithm does not match your certificate.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE,      (SEC_ERROR_BASE + 47),
b76ddc
"Signature verification failed: no signer found, too many signers found, \
b76ddc
or improper or corrupted data.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNSUPPORTED_KEYALG,       (SEC_ERROR_BASE + 48),
b76ddc
"Unsupported or unknown key algorithm.")
b76ddc
b76ddc
ER3(SEC_ERROR_DECRYPTION_DISALLOWED,        (SEC_ERROR_BASE + 49),
b76ddc
"Cannot decrypt: encrypted using a disallowed algorithm or key size.")
b76ddc
b76ddc
b76ddc
/* Fortezza Alerts */
b76ddc
ER3(XP_SEC_FORTEZZA_BAD_CARD,           (SEC_ERROR_BASE + 50),
b76ddc
"Fortezza card has not been properly initialized.  \
b76ddc
Please remove it and return it to your issuer.")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_NO_CARD,            (SEC_ERROR_BASE + 51),
b76ddc
"No Fortezza cards Found")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_NONE_SELECTED,      (SEC_ERROR_BASE + 52),
b76ddc
"No Fortezza card selected")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_MORE_INFO,          (SEC_ERROR_BASE + 53),
b76ddc
"Please select a personality to get more info on")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND,       (SEC_ERROR_BASE + 54),
b76ddc
"Personality not found")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_NO_MORE_INFO,       (SEC_ERROR_BASE + 55),
b76ddc
"No more information on that Personality")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_BAD_PIN,            (SEC_ERROR_BASE + 56),
b76ddc
"Invalid Pin")
b76ddc
b76ddc
ER3(XP_SEC_FORTEZZA_PERSON_ERROR,       (SEC_ERROR_BASE + 57),
b76ddc
"Couldn't initialize Fortezza personalities.")
b76ddc
/* end fortezza alerts. */
b76ddc
b76ddc
ER3(SEC_ERROR_NO_KRL,               (SEC_ERROR_BASE + 58),
b76ddc
"No KRL for this site's certificate has been found.")
b76ddc
b76ddc
ER3(SEC_ERROR_KRL_EXPIRED,          (SEC_ERROR_BASE + 59),
b76ddc
"The KRL for this site's certificate has expired.")
b76ddc
b76ddc
ER3(SEC_ERROR_KRL_BAD_SIGNATURE,        (SEC_ERROR_BASE + 60),
b76ddc
"The KRL for this site's certificate has an invalid signature.")
b76ddc
b76ddc
ER3(SEC_ERROR_REVOKED_KEY,          (SEC_ERROR_BASE + 61),
b76ddc
"The key for this site's certificate has been revoked.")
b76ddc
b76ddc
ER3(SEC_ERROR_KRL_INVALID,          (SEC_ERROR_BASE + 62),
b76ddc
"New KRL has an invalid format.")
b76ddc
b76ddc
ER3(SEC_ERROR_NEED_RANDOM,          (SEC_ERROR_BASE + 63),
b76ddc
"security library: need random data.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_MODULE,            (SEC_ERROR_BASE + 64),
b76ddc
"security library: no security module can perform the requested operation.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_TOKEN,             (SEC_ERROR_BASE + 65),
b76ddc
"The security card or token does not exist, needs to be initialized, or has been removed.")
b76ddc
b76ddc
ER3(SEC_ERROR_READ_ONLY,            (SEC_ERROR_BASE + 66),
b76ddc
"security library: read-only database.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_SLOT_SELECTED,         (SEC_ERROR_BASE + 67),
b76ddc
"No slot or token was selected.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_NICKNAME_COLLISION,      (SEC_ERROR_BASE + 68),
b76ddc
"A certificate with the same nickname already exists.")
b76ddc
b76ddc
ER3(SEC_ERROR_KEY_NICKNAME_COLLISION,       (SEC_ERROR_BASE + 69),
b76ddc
"A key with the same nickname already exists.")
b76ddc
b76ddc
ER3(SEC_ERROR_SAFE_NOT_CREATED,         (SEC_ERROR_BASE + 70),
b76ddc
"error while creating safe object")
b76ddc
b76ddc
ER3(SEC_ERROR_BAGGAGE_NOT_CREATED,      (SEC_ERROR_BASE + 71),
b76ddc
"error while creating baggage object")
b76ddc
b76ddc
ER3(XP_JAVA_REMOVE_PRINCIPAL_ERROR,     (SEC_ERROR_BASE + 72),
b76ddc
"Couldn't remove the principal")
b76ddc
b76ddc
ER3(XP_JAVA_DELETE_PRIVILEGE_ERROR,     (SEC_ERROR_BASE + 73),
b76ddc
"Couldn't delete the privilege")
b76ddc
b76ddc
ER3(XP_JAVA_CERT_NOT_EXISTS_ERROR,      (SEC_ERROR_BASE + 74),
b76ddc
"This principal doesn't have a certificate")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_EXPORT_ALGORITHM,     (SEC_ERROR_BASE + 75),
b76ddc
"Required algorithm is not allowed.")
b76ddc
b76ddc
ER3(SEC_ERROR_EXPORTING_CERTIFICATES,       (SEC_ERROR_BASE + 76),
b76ddc
"Error attempting to export certificates.")
b76ddc
b76ddc
ER3(SEC_ERROR_IMPORTING_CERTIFICATES,       (SEC_ERROR_BASE + 77),
b76ddc
"Error attempting to import certificates.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_DECODING_PFX,      (SEC_ERROR_BASE + 78),
b76ddc
"Unable to import.  Decoding error.  File not valid.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_INVALID_MAC,       (SEC_ERROR_BASE + 79),
b76ddc
"Unable to import.  Invalid MAC.  Incorrect password or corrupt file.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM, (SEC_ERROR_BASE + 80),
b76ddc
"Unable to import.  MAC algorithm not supported.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE,(SEC_ERROR_BASE + 81),
b76ddc
"Unable to import.  Only password integrity and privacy modes supported.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE, (SEC_ERROR_BASE + 82),
b76ddc
"Unable to import.  File structure is corrupt.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, (SEC_ERROR_BASE + 83),
b76ddc
"Unable to import.  Encryption algorithm not supported.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNSUPPORTED_VERSION,   (SEC_ERROR_BASE + 84),
b76ddc
"Unable to import.  File version not supported.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT,(SEC_ERROR_BASE + 85),
b76ddc
"Unable to import.  Incorrect privacy password.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_CERT_COLLISION,        (SEC_ERROR_BASE + 86),
b76ddc
"Unable to import.  Same nickname already exists in database.")
b76ddc
b76ddc
ER3(SEC_ERROR_USER_CANCELLED,           (SEC_ERROR_BASE + 87),
b76ddc
"The user pressed cancel.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_DUPLICATE_DATA,        (SEC_ERROR_BASE + 88),
b76ddc
"Not imported, already in database.")
b76ddc
b76ddc
ER3(SEC_ERROR_MESSAGE_SEND_ABORTED,     (SEC_ERROR_BASE + 89),
b76ddc
"Message not sent.")
b76ddc
b76ddc
ER3(SEC_ERROR_INADEQUATE_KEY_USAGE,     (SEC_ERROR_BASE + 90),
b76ddc
"Certificate key usage inadequate for attempted operation.")
b76ddc
b76ddc
ER3(SEC_ERROR_INADEQUATE_CERT_TYPE,     (SEC_ERROR_BASE + 91),
b76ddc
"Certificate type not approved for application.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_ADDR_MISMATCH,       (SEC_ERROR_BASE + 92),
b76ddc
"Address in signing certificate does not match address in message headers.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY,  (SEC_ERROR_BASE + 93),
b76ddc
"Unable to import.  Error attempting to import private key.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN,  (SEC_ERROR_BASE + 94),
b76ddc
"Unable to import.  Error attempting to import certificate chain.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, (SEC_ERROR_BASE + 95),
b76ddc
"Unable to export.  Unable to locate certificate or key by nickname.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY,  (SEC_ERROR_BASE + 96),
b76ddc
"Unable to export.  Private Key could not be located and exported.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNABLE_TO_WRITE,       (SEC_ERROR_BASE + 97),
b76ddc
"Unable to export.  Unable to write the export file.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_UNABLE_TO_READ,        (SEC_ERROR_BASE + 98),
b76ddc
"Unable to import.  Unable to read the import file.")
b76ddc
b76ddc
ER3(SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, (SEC_ERROR_BASE + 99),
b76ddc
"Unable to export.  Key database corrupt or deleted.")
b76ddc
b76ddc
ER3(SEC_ERROR_KEYGEN_FAIL,          (SEC_ERROR_BASE + 100),
b76ddc
"Unable to generate public/private key pair.")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_PASSWORD,         (SEC_ERROR_BASE + 101),
b76ddc
"Password entered is invalid.  Please pick a different one.")
b76ddc
b76ddc
ER3(SEC_ERROR_RETRY_OLD_PASSWORD,       (SEC_ERROR_BASE + 102),
b76ddc
"Old password entered incorrectly.  Please try again.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_NICKNAME,         (SEC_ERROR_BASE + 103),
b76ddc
"Certificate nickname already in use.")
b76ddc
b76ddc
ER3(SEC_ERROR_NOT_FORTEZZA_ISSUER,          (SEC_ERROR_BASE + 104),
b76ddc
"Peer FORTEZZA chain has a non-FORTEZZA Certificate.")
b76ddc
b76ddc
ER3(SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY,    (SEC_ERROR_BASE + 105),
b76ddc
"A sensitive key cannot be moved to the slot where it is needed.")
b76ddc
b76ddc
ER3(SEC_ERROR_JS_INVALID_MODULE_NAME,       (SEC_ERROR_BASE + 106),
b76ddc
"Invalid module name.")
b76ddc
b76ddc
ER3(SEC_ERROR_JS_INVALID_DLL,           (SEC_ERROR_BASE + 107),
b76ddc
"Invalid module path/filename")
b76ddc
b76ddc
ER3(SEC_ERROR_JS_ADD_MOD_FAILURE,       (SEC_ERROR_BASE + 108),
b76ddc
"Unable to add module")
b76ddc
b76ddc
ER3(SEC_ERROR_JS_DEL_MOD_FAILURE,       (SEC_ERROR_BASE + 109),
b76ddc
"Unable to delete module")
b76ddc
b76ddc
ER3(SEC_ERROR_OLD_KRL,                  (SEC_ERROR_BASE + 110),
b76ddc
"New KRL is not later than the current one.")
b76ddc
 
b76ddc
ER3(SEC_ERROR_CKL_CONFLICT,             (SEC_ERROR_BASE + 111),
b76ddc
"New CKL has different issuer than current CKL.  Delete current CKL.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_NOT_IN_NAME_SPACE,       (SEC_ERROR_BASE + 112),
b76ddc
"The Certifying Authority for this certificate is not permitted to issue a \
b76ddc
certificate with this name.")
b76ddc
b76ddc
ER3(SEC_ERROR_KRL_NOT_YET_VALID,        (SEC_ERROR_BASE + 113),
b76ddc
"The key revocation list for this certificate is not yet valid.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_NOT_YET_VALID,        (SEC_ERROR_BASE + 114),
b76ddc
"The certificate revocation list for this certificate is not yet valid.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNKNOWN_CERT,         (SEC_ERROR_BASE + 115),
b76ddc
"The requested certificate could not be found.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNKNOWN_SIGNER,           (SEC_ERROR_BASE + 116),
b76ddc
"The signer's certificate could not be found.")
b76ddc
b76ddc
ER3(SEC_ERROR_CERT_BAD_ACCESS_LOCATION,     (SEC_ERROR_BASE + 117),
b76ddc
"The location for the certificate status server has invalid format.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE,   (SEC_ERROR_BASE + 118),
b76ddc
"The OCSP response cannot be fully decoded; it is of an unknown type.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_BAD_HTTP_RESPONSE,       (SEC_ERROR_BASE + 119),
b76ddc
"The OCSP server returned unexpected/invalid HTTP data.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_MALFORMED_REQUEST,       (SEC_ERROR_BASE + 120),
b76ddc
"The OCSP server found the request to be corrupted or improperly formed.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_SERVER_ERROR,        (SEC_ERROR_BASE + 121),
b76ddc
"The OCSP server experienced an internal error.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_TRY_SERVER_LATER,        (SEC_ERROR_BASE + 122),
b76ddc
"The OCSP server suggests trying again later.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_REQUEST_NEEDS_SIG,       (SEC_ERROR_BASE + 123),
b76ddc
"The OCSP server requires a signature on this request.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST,    (SEC_ERROR_BASE + 124),
b76ddc
"The OCSP server has refused this request as unauthorized.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS, (SEC_ERROR_BASE + 125),
b76ddc
"The OCSP server returned an unrecognizable status.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_UNKNOWN_CERT,        (SEC_ERROR_BASE + 126),
b76ddc
"The OCSP server has no status for the certificate.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_NOT_ENABLED,         (SEC_ERROR_BASE + 127),
b76ddc
"You must enable OCSP before performing this operation.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_NO_DEFAULT_RESPONDER,    (SEC_ERROR_BASE + 128),
b76ddc
"You must set the OCSP default responder before performing this operation.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_MALFORMED_RESPONSE,      (SEC_ERROR_BASE + 129),
b76ddc
"The response from the OCSP server was corrupted or improperly formed.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_UNAUTHORIZED_RESPONSE,   (SEC_ERROR_BASE + 130),
b76ddc
"The signer of the OCSP response is not authorized to give status for \
b76ddc
this certificate.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_FUTURE_RESPONSE,     (SEC_ERROR_BASE + 131),
b76ddc
"The OCSP response is not yet valid (contains a date in the future).")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_OLD_RESPONSE,        (SEC_ERROR_BASE + 132),
b76ddc
"The OCSP response contains out-of-date information.")
b76ddc
b76ddc
ER3(SEC_ERROR_DIGEST_NOT_FOUND,         (SEC_ERROR_BASE + 133),
b76ddc
"The CMS or PKCS #7 Digest was not found in signed message.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNSUPPORTED_MESSAGE_TYPE,     (SEC_ERROR_BASE + 134),
b76ddc
"The CMS or PKCS #7 Message type is unsupported.")
b76ddc
b76ddc
ER3(SEC_ERROR_MODULE_STUCK,         (SEC_ERROR_BASE + 135),
b76ddc
"PKCS #11 module could not be removed because it is still in use.")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_TEMPLATE,         (SEC_ERROR_BASE + 136),
b76ddc
"Could not decode ASN.1 data. Specified template was invalid.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_NOT_FOUND,            (SEC_ERROR_BASE + 137),
b76ddc
"No matching CRL was found.")
b76ddc
b76ddc
ER3(SEC_ERROR_REUSED_ISSUER_AND_SERIAL,        (SEC_ERROR_BASE + 138),
b76ddc
"You are attempting to import a cert with the same issuer/serial as \
b76ddc
an existing cert, but that is not the same cert.")
b76ddc
b76ddc
ER3(SEC_ERROR_BUSY,             (SEC_ERROR_BASE + 139),
b76ddc
"NSS could not shutdown. Objects are still in use.")
b76ddc
b76ddc
ER3(SEC_ERROR_EXTRA_INPUT,          (SEC_ERROR_BASE + 140),
b76ddc
"DER-encoded message contained extra unused data.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE,   (SEC_ERROR_BASE + 141),
b76ddc
"Unsupported elliptic curve.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNSUPPORTED_EC_POINT_FORM,    (SEC_ERROR_BASE + 142),
b76ddc
"Unsupported elliptic curve point form.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNRECOGNIZED_OID,         (SEC_ERROR_BASE + 143),
b76ddc
"Unrecognized Object Identifier.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_INVALID_SIGNING_CERT,    (SEC_ERROR_BASE + 144),
b76ddc
"Invalid OCSP signing certificate in OCSP response.")
b76ddc
b76ddc
ER3(SEC_ERROR_REVOKED_CERTIFICATE_CRL,          (SEC_ERROR_BASE + 145),
b76ddc
"Certificate is revoked in issuer's certificate revocation list.")
b76ddc
b76ddc
ER3(SEC_ERROR_REVOKED_CERTIFICATE_OCSP,         (SEC_ERROR_BASE + 146),
b76ddc
"Issuer's OCSP responder reports certificate is revoked.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_INVALID_VERSION,              (SEC_ERROR_BASE + 147),
b76ddc
"Issuer's Certificate Revocation List has an unknown version number.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_V1_CRITICAL_EXTENSION,        (SEC_ERROR_BASE + 148),
b76ddc
"Issuer's V1 Certificate Revocation List has a critical extension.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION,   (SEC_ERROR_BASE + 149),
b76ddc
"Issuer's V2 Certificate Revocation List has an unknown critical extension.")
b76ddc
b76ddc
ER3(SEC_ERROR_UNKNOWN_OBJECT_TYPE,          (SEC_ERROR_BASE + 150),
b76ddc
"Unknown object type specified.")
b76ddc
b76ddc
ER3(SEC_ERROR_INCOMPATIBLE_PKCS11,          (SEC_ERROR_BASE + 151),
b76ddc
"PKCS #11 driver violates the spec in an incompatible way.")
b76ddc
b76ddc
ER3(SEC_ERROR_NO_EVENT,                 (SEC_ERROR_BASE + 152),
b76ddc
"No new slot event is available at this time.")
b76ddc
b76ddc
ER3(SEC_ERROR_CRL_ALREADY_EXISTS,           (SEC_ERROR_BASE + 153),
b76ddc
"CRL already exists.")
b76ddc
b76ddc
ER3(SEC_ERROR_NOT_INITIALIZED,              (SEC_ERROR_BASE + 154),
b76ddc
"NSS is not initialized.")
b76ddc
b76ddc
ER3(SEC_ERROR_TOKEN_NOT_LOGGED_IN,          (SEC_ERROR_BASE + 155),
b76ddc
"The operation failed because the PKCS#11 token is not logged in.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_RESPONDER_CERT_INVALID,      (SEC_ERROR_BASE + 156),
b76ddc
"Configured OCSP responder's certificate is invalid.")
b76ddc
b76ddc
ER3(SEC_ERROR_OCSP_BAD_SIGNATURE,           (SEC_ERROR_BASE + 157),
b76ddc
"OCSP response has an invalid signature.")
b76ddc
b76ddc
ER3(SEC_ERROR_OUT_OF_SEARCH_LIMITS,             (SEC_ERROR_BASE + 158),
b76ddc
"Cert validation search is out of search limits")
b76ddc
b76ddc
ER3(SEC_ERROR_INVALID_POLICY_MAPPING,           (SEC_ERROR_BASE + 159),
b76ddc
"Policy mapping contains anypolicy")
b76ddc
b76ddc
ER3(SEC_ERROR_POLICY_VALIDATION_FAILED,         (SEC_ERROR_BASE + 160),
b76ddc
"Cert chain fails policy validation")
b76ddc
b76ddc
ER3(SEC_ERROR_UNKNOWN_AIA_LOCATION_TYPE,            (SEC_ERROR_BASE + 161),
b76ddc
"Unknown location type in cert AIA extension")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_HTTP_RESPONSE,            (SEC_ERROR_BASE + 162),
b76ddc
"Server returned bad HTTP response")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_LDAP_RESPONSE,            (SEC_ERROR_BASE + 163),
b76ddc
"Server returned bad LDAP response")
b76ddc
b76ddc
ER3(SEC_ERROR_FAILED_TO_ENCODE_DATA,            (SEC_ERROR_BASE + 164),
b76ddc
"Failed to encode data with ASN1 encoder")
b76ddc
b76ddc
ER3(SEC_ERROR_BAD_INFO_ACCESS_LOCATION,         (SEC_ERROR_BASE + 165),
b76ddc
"Bad information access location in cert extension")
b76ddc
b76ddc
ER3(SEC_ERROR_LIBPKIX_INTERNAL,             (SEC_ERROR_BASE + 166),
b76ddc
"Libpkix internal error occured during cert validation.")