secerrstrs.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (c) 2001 by Sun Microsystems, Inc.
* All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-1999 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
/*
* secerrstrs.h - map security errors to strings (used by errormap.c)
*
*/
/*
****************************************************************************
* The code below this point was provided by Nelson Bolyard <nelsonb> of the
* Netscape Certificate Server team on 27-March-1998.
* Last updated from there: 24-July-1998 by Mark Smith <mcs>
*
* All of the Directory Server specific changes are enclosed inside
* #ifdef NS_DIRECTORY.
****************************************************************************
*/
/* General security error codes */
/* Caller must #include "secerr.h" */
"An I/O error occurred during security authorization."))
"security library failure."))
"security library: received bad data."))
"security library: output length error."))
"security library has experienced an input length error."))
"security library: invalid arguments."))
"security library: invalid algorithm."))
"security library: invalid AVA."))
"security library: invalid time."))
"security library: improperly formatted DER-encoded message."))
"Peer's certificate has an invalid signature."))
"Peer's Certificate has expired."))
"Peer's Certificate has been revoked."))
"Peer's Certificate issuer is not recognized."))
"Peer's public key is invalid."))
"The security password entered is incorrect."))
"New password entered incorrectly. Please try again."))
"security library: no nodelock."))
"security library: bad database."))
"security library: memory allocation failure."))
"Peer's certificate issuer has been marked as not trusted by the user."))
"Peer's certificate has been marked as not trusted by the user."))
"Certificate already exists in your database."))
"Downloaded certificate's name duplicates one already in your database."))
"Error adding certificate to database."))
"Error refiling the key for this certificate."))
"The private key for this certificate cannot be found in key database"))
"This certificate is valid."))
"This certificate is not valid."))
"Cert Library: No Response"))
"The certificate issuer's certificate has expired. Check your system date and time."))
"The CRL for the certificate's issuer has expired. Update it or check your system data and time."))
"The CRL for the certificate's issuer has an invalid signature."))
"New CRL has an invalid format."))
"Certificate extension value is invalid."))
"Certificate extension not found."))
"Issuer certificate is invalid."))
"Certificate path length constraint is invalid."))
"Certificate usages field is invalid."))
"**Internal ONLY module**"))
"The key does not support the requested operation."))
"Certificate contains unknown critical extension."))
"New CRL is not later than the current one."))
"Not encrypted or signed: you do not yet have an email certificate."))
"Not encrypted: you do not have certificates for each of the recipients."))
"Cannot decrypt: you are not a recipient, or matching certificate and \
private key not found."))
"Cannot decrypt: key encryption algorithm does not match your certificate."))
"Signature verification failed: no signer found, too many signers found, \
or improper or corrupted data."))
"Unsupported or unknown key algorithm."))
"Cannot decrypt: encrypted using a disallowed algorithm or key size."))
/* Fortezza Alerts */
"Fortezza card has not been properly initialized. \
Please remove it and return it to your issuer."))
"No Fortezza cards Found"))
"No Fortezza card selected"))
"Please select a personality to get more info on"))
"Personality not found"))
"No more information on that Personality"))
"Invalid Pin"))
"Couldn't initialize Fortezza personalities."))
/* end fortezza alerts. */
"No KRL for this site's certificate has been found."))
"The KRL for this site's certificate has expired."))
"The KRL for this site's certificate has an invalid signature."))
"The key for this site's certificate has been revoked."))
"New KRL has an invalid format."))
"security library: need random data."))
"security library: no security module can perform the requested operation."))
"The security card or token does not exist, needs to be initialized, or has been removed."))
"security library: read-only database."))
"No slot or token was selected."))
"A certificate with the same nickname already exists."))
"A key with the same nickname already exists."))
"error while creating safe object"))
"error while creating baggage object"))
"Couldn't remove the principal"))
"Couldn't delete the privilege"))
"This principal doesn't have a certificate"))
"Required algorithm is not allowed."))
"Error attempting to export certificates."))
"Error attempting to import certificates."))
"Unable to import. Decoding error. File not valid."))
"Unable to import. Invalid MAC. Incorrect password or corrupt file."))
"Unable to import. MAC algorithm not supported."))
"Unable to import. Only password integrity and privacy modes supported."))
"Unable to import. File structure is corrupt."))
"Unable to import. Encryption algorithm not supported."))
"Unable to import. File version not supported."))
"Unable to import. Incorrect privacy password."))
"Unable to import. Same nickname already exists in database."))
"The user pressed cancel."))
"Not imported, already in database."))
"Message not sent."))
"Certificate key usage inadequate for attempted operation."))
"Certificate type not approved for application."))
"Address in signing certificate does not match address in message headers."))
"Unable to import. Error attempting to import private key."))
"Unable to import. Error attempting to import certificate chain."))
"Unable to export. Unable to locate certificate or key by nickname."))
"Unable to export. Private Key could not be located and exported."))
"Unable to export. Unable to write the export file."))
"Unable to import. Unable to read the import file."))
"Unable to export. Key database corrupt or deleted."))
"Password entered is invalid. Please pick a different one."))
"Old password entered incorrectly. Please try again."))
"Certificate nickname already in use."))
"Peer FORTEZZA chain has a non-FORTEZZA Certificate."))
/* ER3(SEC_ERROR_UNKNOWN, (SEC_ERROR_BASE + 105), */
"Invalid module name."))
"Unable to add module"))
"Unable to delete module"))
"New KRL is not later than the current one."))
"New CKL has different issuer than current CKL. Delete current CKL."))
#if 0 /* This was defined AFTER HCL 1.5 was released. */
"The Certifying Authority for this certifcate is not permitted to issue a \
certifcate with this name."))
#endif