⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 secerrs.h

📁 支持SSL v2/v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509v3证书等安全协议或标准的开发库编译用到NSPR
💻 H
📖 第 1 页 / 共 2 页
字号:
/* * The contents of this file are subject to the Mozilla 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/MPL/ *  * 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 the Netscape security libraries. *  * The Initial Developer of the Original Code is Netscape * Communications Corporation.  Portions created by Netscape are  * Copyright (C) 1994-2000 Netscape Communications Corporation.  All * Rights Reserved. *  * Contributor(s): *  * Alternatively, the contents of this file may be used under the * terms of the GNU General Public License Version 2 or later (the * "GPL"), in which case the provisions of the GPL are applicable  * instead of those above.  If you wish to allow use of your  * version of this file only under the terms of the GPL and not to * allow others to use your version of this file under the MPL, * indicate your decision by deleting the provisions above and * replace them with the notice and other provisions required by * the GPL.  If you do not delete the provisions above, a recipient * may use your version of this file under either the MPL or the * GPL. *//* General security error codes  *//* Caller must #include "secerr.h" */ER3(SEC_ERROR_IO,				SEC_ERROR_BASE + 0,"An I/O error occurred during security authorization.")ER3(SEC_ERROR_LIBRARY_FAILURE,			SEC_ERROR_BASE + 1,"security library failure.")ER3(SEC_ERROR_BAD_DATA,				SEC_ERROR_BASE + 2,"security library: received bad data.")ER3(SEC_ERROR_OUTPUT_LEN,			SEC_ERROR_BASE + 3,"security library: output length error.")ER3(SEC_ERROR_INPUT_LEN,			SEC_ERROR_BASE + 4,"security library has experienced an input length error.")ER3(SEC_ERROR_INVALID_ARGS,			SEC_ERROR_BASE + 5,"security library: invalid arguments.")ER3(SEC_ERROR_INVALID_ALGORITHM,		SEC_ERROR_BASE + 6,"security library: invalid algorithm.")ER3(SEC_ERROR_INVALID_AVA,			SEC_ERROR_BASE + 7,"security library: invalid AVA.")ER3(SEC_ERROR_INVALID_TIME,			SEC_ERROR_BASE + 8,"Improperly formatted time string.")ER3(SEC_ERROR_BAD_DER,				SEC_ERROR_BASE + 9,"security library: improperly formatted DER-encoded message.")ER3(SEC_ERROR_BAD_SIGNATURE,			SEC_ERROR_BASE + 10,"Peer's certificate has an invalid signature.")ER3(SEC_ERROR_EXPIRED_CERTIFICATE,		SEC_ERROR_BASE + 11,"Peer's Certificate has expired.")ER3(SEC_ERROR_REVOKED_CERTIFICATE,		SEC_ERROR_BASE + 12,"Peer's Certificate has been revoked.")ER3(SEC_ERROR_UNKNOWN_ISSUER,			SEC_ERROR_BASE + 13,"Peer's Certificate issuer is not recognized.")ER3(SEC_ERROR_BAD_KEY,				SEC_ERROR_BASE + 14,"Peer's public key is invalid.")ER3(SEC_ERROR_BAD_PASSWORD,			SEC_ERROR_BASE + 15,"The security password entered is incorrect.")ER3(SEC_ERROR_RETRY_PASSWORD,			SEC_ERROR_BASE + 16,"New password entered incorrectly.  Please try again.")ER3(SEC_ERROR_NO_NODELOCK,			SEC_ERROR_BASE + 17,"security library: no nodelock.")ER3(SEC_ERROR_BAD_DATABASE,			SEC_ERROR_BASE + 18,"security library: bad database.")ER3(SEC_ERROR_NO_MEMORY,			SEC_ERROR_BASE + 19,"security library: memory allocation failure.")ER3(SEC_ERROR_UNTRUSTED_ISSUER,			SEC_ERROR_BASE + 20,"Peer's certificate issuer has been marked as not trusted by the user.")ER3(SEC_ERROR_UNTRUSTED_CERT,			SEC_ERROR_BASE + 21,"Peer's certificate has been marked as not trusted by the user.")ER3(SEC_ERROR_DUPLICATE_CERT,			(SEC_ERROR_BASE + 22),"Certificate already exists in your database.")ER3(SEC_ERROR_DUPLICATE_CERT_NAME,		(SEC_ERROR_BASE + 23),"Downloaded certificate's name duplicates one already in your database.")ER3(SEC_ERROR_ADDING_CERT,			(SEC_ERROR_BASE + 24),"Error adding certificate to database.")ER3(SEC_ERROR_FILING_KEY,			(SEC_ERROR_BASE + 25),"Error refiling the key for this certificate.")ER3(SEC_ERROR_NO_KEY,				(SEC_ERROR_BASE + 26),"The private key for this certificate cannot be found in key database")ER3(SEC_ERROR_CERT_VALID,			(SEC_ERROR_BASE + 27),"This certificate is valid.")ER3(SEC_ERROR_CERT_NOT_VALID,			(SEC_ERROR_BASE + 28),"This certificate is not valid.")ER3(SEC_ERROR_CERT_NO_RESPONSE,			(SEC_ERROR_BASE + 29),"Cert Library: No Response")ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE,	(SEC_ERROR_BASE + 30),"The certificate issuer's certificate has expired.  Check your system date and time.")ER3(SEC_ERROR_CRL_EXPIRED,			(SEC_ERROR_BASE + 31),"The CRL for the certificate's issuer has expired.  Update it or check your system data and time.")ER3(SEC_ERROR_CRL_BAD_SIGNATURE,		(SEC_ERROR_BASE + 32),"The CRL for the certificate's issuer has an invalid signature.")ER3(SEC_ERROR_CRL_INVALID,			(SEC_ERROR_BASE + 33),"New CRL has an invalid format.")ER3(SEC_ERROR_EXTENSION_VALUE_INVALID,		(SEC_ERROR_BASE + 34),"Certificate extension value is invalid.")ER3(SEC_ERROR_EXTENSION_NOT_FOUND,		(SEC_ERROR_BASE + 35),"Certificate extension not found.")ER3(SEC_ERROR_CA_CERT_INVALID,			(SEC_ERROR_BASE + 36),"Issuer certificate is invalid.")   ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID,	(SEC_ERROR_BASE + 37),"Certificate path length constraint is invalid.")ER3(SEC_ERROR_CERT_USAGES_INVALID,		(SEC_ERROR_BASE + 38),"Certificate usages field is invalid.")ER3(SEC_INTERNAL_ONLY,				(SEC_ERROR_BASE + 39),"**Internal ONLY module**")ER3(SEC_ERROR_INVALID_KEY,			(SEC_ERROR_BASE + 40),"The key does not support the requested operation.")ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION,	(SEC_ERROR_BASE + 41),"Certificate contains unknown critical extension.")ER3(SEC_ERROR_OLD_CRL,				(SEC_ERROR_BASE + 42),"New CRL is not later than the current one.")ER3(SEC_ERROR_NO_EMAIL_CERT,			(SEC_ERROR_BASE + 43),"Not encrypted or signed: you do not yet have an email certificate.")ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY,		(SEC_ERROR_BASE + 44),"Not encrypted: you do not have certificates for each of the recipients.")ER3(SEC_ERROR_NOT_A_RECIPIENT,			(SEC_ERROR_BASE + 45),"Cannot decrypt: you are not a recipient, or matching certificate and \private key not found.")ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH,		(SEC_ERROR_BASE + 46),"Cannot decrypt: key encryption algorithm does not match your certificate.")ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE,		(SEC_ERROR_BASE + 47),"Signature verification failed: no signer found, too many signers found, \or improper or corrupted data.")ER3(SEC_ERROR_UNSUPPORTED_KEYALG,		(SEC_ERROR_BASE + 48),"Unsupported or unknown key algorithm.")ER3(SEC_ERROR_DECRYPTION_DISALLOWED,		(SEC_ERROR_BASE + 49),"Cannot decrypt: encrypted using a disallowed algorithm or key size.")/* Fortezza Alerts */ER3(XP_SEC_FORTEZZA_BAD_CARD,			(SEC_ERROR_BASE + 50),"Fortezza card has not been properly initialized.  \Please remove it and return it to your issuer.")ER3(XP_SEC_FORTEZZA_NO_CARD,			(SEC_ERROR_BASE + 51),"No Fortezza cards Found")ER3(XP_SEC_FORTEZZA_NONE_SELECTED,		(SEC_ERROR_BASE + 52),"No Fortezza card selected")ER3(XP_SEC_FORTEZZA_MORE_INFO,			(SEC_ERROR_BASE + 53),"Please select a personality to get more info on")ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND,		(SEC_ERROR_BASE + 54),"Personality not found")ER3(XP_SEC_FORTEZZA_NO_MORE_INFO,		(SEC_ERROR_BASE + 55),"No more information on that Personality")ER3(XP_SEC_FORTEZZA_BAD_PIN,			(SEC_ERROR_BASE + 56),"Invalid Pin")ER3(XP_SEC_FORTEZZA_PERSON_ERROR,		(SEC_ERROR_BASE + 57),"Couldn't initialize Fortezza personalities.")/* end fortezza alerts. */ER3(SEC_ERROR_NO_KRL,				(SEC_ERROR_BASE + 58),"No KRL for this site's certificate has been found.")ER3(SEC_ERROR_KRL_EXPIRED,			(SEC_ERROR_BASE + 59),"The KRL for this site's certificate has expired.")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -