1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2008 by Sun Microsystems, Inc.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * $RCSfile: securityenvironment_nssimpl.cxx,v $
10*cdf0e10cSrcweir  * $Revision: 1.23 $
11*cdf0e10cSrcweir  *
12*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
13*cdf0e10cSrcweir  *
14*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
15*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
16*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
17*cdf0e10cSrcweir  *
18*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
19*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
22*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
23*cdf0e10cSrcweir  *
24*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
25*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
26*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
27*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
28*cdf0e10cSrcweir  *
29*cdf0e10cSrcweir  ************************************************************************/
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir 
32*cdf0e10cSrcweir {SEC_ERROR_IO, "An I/O error occurred during security authorization."},
33*cdf0e10cSrcweir 
34*cdf0e10cSrcweir {SEC_ERROR_LIBRARY_FAILURE, "security library failure."},
35*cdf0e10cSrcweir 
36*cdf0e10cSrcweir {SEC_ERROR_BAD_DATA, "security library: received bad data."},
37*cdf0e10cSrcweir 
38*cdf0e10cSrcweir {SEC_ERROR_OUTPUT_LEN, "security library: output length error."},
39*cdf0e10cSrcweir 
40*cdf0e10cSrcweir {SEC_ERROR_INPUT_LEN, "security library has experienced an input length error."},
41*cdf0e10cSrcweir 
42*cdf0e10cSrcweir {SEC_ERROR_INVALID_ARGS, "security library: invalid arguments."},
43*cdf0e10cSrcweir 
44*cdf0e10cSrcweir {SEC_ERROR_INVALID_ALGORITHM, "security library: invalid algorithm."},
45*cdf0e10cSrcweir 
46*cdf0e10cSrcweir {SEC_ERROR_INVALID_AVA, "security library: invalid AVA."},
47*cdf0e10cSrcweir 
48*cdf0e10cSrcweir {SEC_ERROR_INVALID_TIME, "Improperly formatted time string."},
49*cdf0e10cSrcweir 
50*cdf0e10cSrcweir {SEC_ERROR_BAD_DER, "security library: improperly formatted DER-encoded message."},
51*cdf0e10cSrcweir 
52*cdf0e10cSrcweir {SEC_ERROR_BAD_SIGNATURE, "Peer's certificate has an invalid signature."},
53*cdf0e10cSrcweir 
54*cdf0e10cSrcweir {SEC_ERROR_EXPIRED_CERTIFICATE, "Peer's Certificate has expired."},
55*cdf0e10cSrcweir 
56*cdf0e10cSrcweir {SEC_ERROR_REVOKED_CERTIFICATE, "Peer's Certificate has been revoked."},
57*cdf0e10cSrcweir 
58*cdf0e10cSrcweir {SEC_ERROR_UNKNOWN_ISSUER, "Peer's Certificate issuer is not recognized."},
59*cdf0e10cSrcweir 
60*cdf0e10cSrcweir {SEC_ERROR_BAD_KEY, "Peer's public key is invalid."},
61*cdf0e10cSrcweir 
62*cdf0e10cSrcweir {SEC_ERROR_BAD_PASSWORD, "The security password entered is incorrect."},
63*cdf0e10cSrcweir 
64*cdf0e10cSrcweir {SEC_ERROR_RETRY_PASSWORD, "New password entered incorrectly.  Please try again."},
65*cdf0e10cSrcweir 
66*cdf0e10cSrcweir {SEC_ERROR_NO_NODELOCK, "security library: no nodelock."},
67*cdf0e10cSrcweir 
68*cdf0e10cSrcweir {SEC_ERROR_BAD_DATABASE, "security library: bad database."},
69*cdf0e10cSrcweir 
70*cdf0e10cSrcweir {SEC_ERROR_NO_MEMORY, "security library: memory allocation failure."},
71*cdf0e10cSrcweir 
72*cdf0e10cSrcweir {SEC_ERROR_UNTRUSTED_ISSUER, "Peer's certificate issuer has been marked as not trusted by the user."},
73*cdf0e10cSrcweir 
74*cdf0e10cSrcweir {SEC_ERROR_UNTRUSTED_CERT, "Peer's certificate has been marked as not trusted by the user."},
75*cdf0e10cSrcweir 
76*cdf0e10cSrcweir {SEC_ERROR_DUPLICATE_CERT, "Certificate already exists in your database."},
77*cdf0e10cSrcweir 
78*cdf0e10cSrcweir {SEC_ERROR_DUPLICATE_CERT_NAME, "Downloaded certificate's name duplicates one already in your database."},
79*cdf0e10cSrcweir 
80*cdf0e10cSrcweir {SEC_ERROR_ADDING_CERT, "Error adding certificate to database."},
81*cdf0e10cSrcweir 
82*cdf0e10cSrcweir {SEC_ERROR_FILING_KEY, "Error refiling the key for this certificate."},
83*cdf0e10cSrcweir 
84*cdf0e10cSrcweir {SEC_ERROR_NO_KEY, "The private key for this certificate cannot be found in key database"},
85*cdf0e10cSrcweir 
86*cdf0e10cSrcweir {SEC_ERROR_CERT_VALID, "This certificate is valid."},
87*cdf0e10cSrcweir 
88*cdf0e10cSrcweir {SEC_ERROR_CERT_NOT_VALID, "This certificate is not valid."},
89*cdf0e10cSrcweir 
90*cdf0e10cSrcweir {SEC_ERROR_CERT_NO_RESPONSE, "Cert Library: No Response"},
91*cdf0e10cSrcweir 
92*cdf0e10cSrcweir {SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE, "The certificate issuer's certificate has expired.  Check your system date and time."},
93*cdf0e10cSrcweir 
94*cdf0e10cSrcweir {SEC_ERROR_CRL_EXPIRED, "The CRL for the certificate's issuer has expired.  Update it or check your system date and time."},
95*cdf0e10cSrcweir 
96*cdf0e10cSrcweir {SEC_ERROR_CRL_BAD_SIGNATURE, "The CRL for the certificate's issuer has an invalid signature."},
97*cdf0e10cSrcweir 
98*cdf0e10cSrcweir {SEC_ERROR_CRL_INVALID, "New CRL has an invalid format."},
99*cdf0e10cSrcweir 
100*cdf0e10cSrcweir {SEC_ERROR_EXTENSION_VALUE_INVALID, "Certificate extension value is invalid."},
101*cdf0e10cSrcweir 
102*cdf0e10cSrcweir {SEC_ERROR_EXTENSION_NOT_FOUND, "Certificate extension not found."},
103*cdf0e10cSrcweir 
104*cdf0e10cSrcweir {SEC_ERROR_CA_CERT_INVALID, "Issuer certificate is invalid."},
105*cdf0e10cSrcweir 
106*cdf0e10cSrcweir {SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID,	"Certificate path length constraint is invalid."},
107*cdf0e10cSrcweir 
108*cdf0e10cSrcweir {SEC_ERROR_CERT_USAGES_INVALID, "Certificate usages field is invalid."},
109*cdf0e10cSrcweir 
110*cdf0e10cSrcweir {SEC_INTERNAL_ONLY, "**Internal ONLY module**"},
111*cdf0e10cSrcweir 
112*cdf0e10cSrcweir {SEC_ERROR_INVALID_KEY, "The key does not support the requested operation."},
113*cdf0e10cSrcweir 
114*cdf0e10cSrcweir {SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION, "Certificate contains unknown critical extension."},
115*cdf0e10cSrcweir 
116*cdf0e10cSrcweir {SEC_ERROR_OLD_CRL, "New CRL is not later than the current one."},
117*cdf0e10cSrcweir 
118*cdf0e10cSrcweir {SEC_ERROR_NO_EMAIL_CERT, "Not encrypted or signed: you do not yet have an email certificate."},
119*cdf0e10cSrcweir 
120*cdf0e10cSrcweir {SEC_ERROR_NO_RECIPIENT_CERTS_QUERY, "Not encrypted: you do not have certificates for each of the recipients."},
121*cdf0e10cSrcweir 
122*cdf0e10cSrcweir {SEC_ERROR_NOT_A_RECIPIENT, "Cannot decrypt: you are not a recipient, or matching certificate and \
123*cdf0e10cSrcweir private key not found."},
124*cdf0e10cSrcweir 
125*cdf0e10cSrcweir {SEC_ERROR_PKCS7_KEYALG_MISMATCH, "Cannot decrypt: key encryption algorithm does not match your certificate."},
126*cdf0e10cSrcweir 
127*cdf0e10cSrcweir {SEC_ERROR_PKCS7_BAD_SIGNATURE, "Signature verification failed: no signer found, too many signers found, \
128*cdf0e10cSrcweir or improper or corrupted data."},
129*cdf0e10cSrcweir 
130*cdf0e10cSrcweir {SEC_ERROR_UNSUPPORTED_KEYALG, "Unsupported or unknown key algorithm."},
131*cdf0e10cSrcweir 
132*cdf0e10cSrcweir {SEC_ERROR_DECRYPTION_DISALLOWED, "Cannot decrypt: encrypted using a disallowed algorithm or key size."},
133*cdf0e10cSrcweir 
134*cdf0e10cSrcweir 
135*cdf0e10cSrcweir /* Fortezza Alerts */
136*cdf0e10cSrcweir {XP_SEC_FORTEZZA_BAD_CARD, "Fortezza card has not been properly initialized.  \
137*cdf0e10cSrcweir Please remove it and return it to your issuer."},
138*cdf0e10cSrcweir 
139*cdf0e10cSrcweir {XP_SEC_FORTEZZA_NO_CARD, "No Fortezza cards Found"},
140*cdf0e10cSrcweir 
141*cdf0e10cSrcweir {XP_SEC_FORTEZZA_NONE_SELECTED,	"No Fortezza card selected"},
142*cdf0e10cSrcweir 
143*cdf0e10cSrcweir {XP_SEC_FORTEZZA_MORE_INFO, "Please select a personality to get more info on"},
144*cdf0e10cSrcweir 
145*cdf0e10cSrcweir {XP_SEC_FORTEZZA_PERSON_NOT_FOUND, "Personality not found"},
146*cdf0e10cSrcweir 
147*cdf0e10cSrcweir {XP_SEC_FORTEZZA_NO_MORE_INFO, "No more information on that Personality"},
148*cdf0e10cSrcweir 
149*cdf0e10cSrcweir {XP_SEC_FORTEZZA_BAD_PIN, "Invalid Pin"},
150*cdf0e10cSrcweir 
151*cdf0e10cSrcweir {XP_SEC_FORTEZZA_PERSON_ERROR, "Couldn't initialize Fortezza personalities."},
152*cdf0e10cSrcweir /* end fortezza alerts. */
153*cdf0e10cSrcweir 
154*cdf0e10cSrcweir {SEC_ERROR_NO_KRL, "No KRL for this site's certificate has been found."},
155*cdf0e10cSrcweir 
156*cdf0e10cSrcweir {SEC_ERROR_KRL_EXPIRED, "The KRL for this site's certificate has expired."},
157*cdf0e10cSrcweir 
158*cdf0e10cSrcweir {SEC_ERROR_KRL_BAD_SIGNATURE, "The KRL for this site's certificate has an invalid signature."},
159*cdf0e10cSrcweir 
160*cdf0e10cSrcweir {SEC_ERROR_REVOKED_KEY, "The key for this site's certificate has been revoked."},
161*cdf0e10cSrcweir 
162*cdf0e10cSrcweir {SEC_ERROR_KRL_INVALID, "New KRL has an invalid format."},
163*cdf0e10cSrcweir 
164*cdf0e10cSrcweir {SEC_ERROR_NEED_RANDOM, "security library: need random data."},
165*cdf0e10cSrcweir 
166*cdf0e10cSrcweir {SEC_ERROR_NO_MODULE, "security library: no security module can perform the requested operation."},
167*cdf0e10cSrcweir 
168*cdf0e10cSrcweir {SEC_ERROR_NO_TOKEN, "The security card or token does not exist, needs to be initialized, or has been removed."},
169*cdf0e10cSrcweir 
170*cdf0e10cSrcweir {SEC_ERROR_READ_ONLY, "security library: read-only database."},
171*cdf0e10cSrcweir 
172*cdf0e10cSrcweir {SEC_ERROR_NO_SLOT_SELECTED, "No slot or token was selected."},
173*cdf0e10cSrcweir 
174*cdf0e10cSrcweir {SEC_ERROR_CERT_NICKNAME_COLLISION, "A certificate with the same nickname already exists."},
175*cdf0e10cSrcweir 
176*cdf0e10cSrcweir {SEC_ERROR_KEY_NICKNAME_COLLISION, "A key with the same nickname already exists."},
177*cdf0e10cSrcweir 
178*cdf0e10cSrcweir {SEC_ERROR_SAFE_NOT_CREATED, "error while creating safe object"},
179*cdf0e10cSrcweir 
180*cdf0e10cSrcweir {SEC_ERROR_BAGGAGE_NOT_CREATED, "error while creating baggage object"},
181*cdf0e10cSrcweir 
182*cdf0e10cSrcweir {XP_JAVA_REMOVE_PRINCIPAL_ERROR, "Couldn't remove the principal"},
183*cdf0e10cSrcweir 
184*cdf0e10cSrcweir {XP_JAVA_DELETE_PRIVILEGE_ERROR, "Couldn't delete the privilege"},
185*cdf0e10cSrcweir 
186*cdf0e10cSrcweir {XP_JAVA_CERT_NOT_EXISTS_ERROR, "This principal doesn't have a certificate"},
187*cdf0e10cSrcweir 
188*cdf0e10cSrcweir {SEC_ERROR_BAD_EXPORT_ALGORITHM, "Required algorithm is not allowed."},
189*cdf0e10cSrcweir 
190*cdf0e10cSrcweir {SEC_ERROR_EXPORTING_CERTIFICATES, "Error attempting to export certificates."},
191*cdf0e10cSrcweir 
192*cdf0e10cSrcweir {SEC_ERROR_IMPORTING_CERTIFICATES, "Error attempting to import certificates."},
193*cdf0e10cSrcweir 
194*cdf0e10cSrcweir {SEC_ERROR_PKCS12_DECODING_PFX, "Unable to import.  Decoding error.  File not valid."},
195*cdf0e10cSrcweir 
196*cdf0e10cSrcweir {SEC_ERROR_PKCS12_INVALID_MAC, "Unable to import.  Invalid MAC.  Incorrect password or corrupt file."},
197*cdf0e10cSrcweir 
198*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM, "Unable to import.  MAC algorithm not supported."},
199*cdf0e10cSrcweir 
200*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE, "Unable to import.  Only password integrity and privacy modes supported."},
201*cdf0e10cSrcweir 
202*cdf0e10cSrcweir {SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE, "Unable to import.  File structure is corrupt."},
203*cdf0e10cSrcweir 
204*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, "Unable to import.  Encryption algorithm not supported."},
205*cdf0e10cSrcweir 
206*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNSUPPORTED_VERSION, "Unable to import.  File version not supported."},
207*cdf0e10cSrcweir 
208*cdf0e10cSrcweir {SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT, "Unable to import.  Incorrect privacy password."},
209*cdf0e10cSrcweir 
210*cdf0e10cSrcweir {SEC_ERROR_PKCS12_CERT_COLLISION, "Unable to import.  Same nickname already exists in database."},
211*cdf0e10cSrcweir 
212*cdf0e10cSrcweir {SEC_ERROR_USER_CANCELLED, "The user pressed cancel."},
213*cdf0e10cSrcweir 
214*cdf0e10cSrcweir {SEC_ERROR_PKCS12_DUPLICATE_DATA, "Not imported, already in database."},
215*cdf0e10cSrcweir 
216*cdf0e10cSrcweir {SEC_ERROR_MESSAGE_SEND_ABORTED, "Message not sent."},
217*cdf0e10cSrcweir 
218*cdf0e10cSrcweir {SEC_ERROR_INADEQUATE_KEY_USAGE, "Certificate key usage inadequate for attempted operation."},
219*cdf0e10cSrcweir 
220*cdf0e10cSrcweir {SEC_ERROR_INADEQUATE_CERT_TYPE, "Certificate type not approved for application."},
221*cdf0e10cSrcweir 
222*cdf0e10cSrcweir {SEC_ERROR_CERT_ADDR_MISMATCH, "Address in signing certificate does not match address in message headers."},
223*cdf0e10cSrcweir 
224*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY,	"Unable to import.  Error attempting to import private key."},
225*cdf0e10cSrcweir 
226*cdf0e10cSrcweir {SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN,	"Unable to import.  Error attempting to import certificate chain."},
227*cdf0e10cSrcweir 
228*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, "Unable to export.  Unable to locate certificate or key by nickname."},
229*cdf0e10cSrcweir 
230*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY,	"Unable to export.  Private Key could not be located and exported."},
231*cdf0e10cSrcweir 
232*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNABLE_TO_WRITE, "Unable to export.  Unable to write the export file."},
233*cdf0e10cSrcweir 
234*cdf0e10cSrcweir {SEC_ERROR_PKCS12_UNABLE_TO_READ, "Unable to import.  Unable to read the import file."},
235*cdf0e10cSrcweir 
236*cdf0e10cSrcweir {SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, "Unable to export.  Key database corrupt or deleted."},
237*cdf0e10cSrcweir 
238*cdf0e10cSrcweir {SEC_ERROR_KEYGEN_FAIL, "Unable to generate public/private key pair."},
239*cdf0e10cSrcweir 
240*cdf0e10cSrcweir {SEC_ERROR_INVALID_PASSWORD, "Password entered is invalid.  Please pick a different one."},
241*cdf0e10cSrcweir 
242*cdf0e10cSrcweir {SEC_ERROR_RETRY_OLD_PASSWORD, "Old password entered incorrectly.  Please try again."},
243*cdf0e10cSrcweir 
244*cdf0e10cSrcweir {SEC_ERROR_BAD_NICKNAME, "Certificate nickname already in use."},
245*cdf0e10cSrcweir 
246*cdf0e10cSrcweir {SEC_ERROR_NOT_FORTEZZA_ISSUER, "Peer FORTEZZA chain has a non-FORTEZZA Certificate."},
247*cdf0e10cSrcweir 
248*cdf0e10cSrcweir {SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY, "A sensitive key cannot be moved to the slot where it is needed."},
249*cdf0e10cSrcweir 
250*cdf0e10cSrcweir {SEC_ERROR_JS_INVALID_MODULE_NAME, "Invalid module name."},
251*cdf0e10cSrcweir 
252*cdf0e10cSrcweir {SEC_ERROR_JS_INVALID_DLL, "Invalid module path/filename"},
253*cdf0e10cSrcweir 
254*cdf0e10cSrcweir {SEC_ERROR_JS_ADD_MOD_FAILURE, "Unable to add module"},
255*cdf0e10cSrcweir 
256*cdf0e10cSrcweir {SEC_ERROR_JS_DEL_MOD_FAILURE, "Unable to delete module"},
257*cdf0e10cSrcweir 
258*cdf0e10cSrcweir {SEC_ERROR_OLD_KRL, "New KRL is not later than the current one."},
259*cdf0e10cSrcweir 
260*cdf0e10cSrcweir {SEC_ERROR_CKL_CONFLICT, "New CKL has different issuer than current CKL.  Delete current CKL."},
261*cdf0e10cSrcweir 
262*cdf0e10cSrcweir {SEC_ERROR_CERT_NOT_IN_NAME_SPACE, "The Certifying Authority for this certificate is not permitted to issue a \
263*cdf0e10cSrcweir certificate with this name."},
264*cdf0e10cSrcweir 
265*cdf0e10cSrcweir {SEC_ERROR_KRL_NOT_YET_VALID, "The key revocation list for this certificate is not yet valid."},
266*cdf0e10cSrcweir 
267*cdf0e10cSrcweir {SEC_ERROR_CRL_NOT_YET_VALID, "The certificate revocation list for this certificate is not yet valid."},
268*cdf0e10cSrcweir 
269*cdf0e10cSrcweir {SEC_ERROR_UNKNOWN_CERT, "The requested certificate could not be found."},
270*cdf0e10cSrcweir 
271*cdf0e10cSrcweir {SEC_ERROR_UNKNOWN_SIGNER, "The signer's certificate could not be found."},
272*cdf0e10cSrcweir 
273*cdf0e10cSrcweir {SEC_ERROR_CERT_BAD_ACCESS_LOCATION, "The location for the certificate status server has invalid format."},
274*cdf0e10cSrcweir 
275*cdf0e10cSrcweir {SEC_ERROR_OCSP_UNKNOWN_RESPONSE_TYPE, "The OCSP response cannot be fully decoded; it is of an unknown type."},
276*cdf0e10cSrcweir 
277*cdf0e10cSrcweir {SEC_ERROR_OCSP_BAD_HTTP_RESPONSE, "The OCSP server returned unexpected/invalid HTTP data."},
278*cdf0e10cSrcweir 
279*cdf0e10cSrcweir {SEC_ERROR_OCSP_MALFORMED_REQUEST, "The OCSP server found the request to be corrupted or improperly formed."},
280*cdf0e10cSrcweir 
281*cdf0e10cSrcweir {SEC_ERROR_OCSP_SERVER_ERROR, "The OCSP server experienced an internal error."},
282*cdf0e10cSrcweir 
283*cdf0e10cSrcweir {SEC_ERROR_OCSP_TRY_SERVER_LATER, "The OCSP server suggests trying again later."},
284*cdf0e10cSrcweir 
285*cdf0e10cSrcweir {SEC_ERROR_OCSP_REQUEST_NEEDS_SIG, "The OCSP server requires a signature on this request."},
286*cdf0e10cSrcweir 
287*cdf0e10cSrcweir {SEC_ERROR_OCSP_UNAUTHORIZED_REQUEST, "The OCSP server has refused this request as unauthorized."},
288*cdf0e10cSrcweir 
289*cdf0e10cSrcweir {SEC_ERROR_OCSP_UNKNOWN_RESPONSE_STATUS, "The OCSP server returned an unrecognizable status."},
290*cdf0e10cSrcweir 
291*cdf0e10cSrcweir {SEC_ERROR_OCSP_UNKNOWN_CERT, "The OCSP server has no status for the certificate."},
292*cdf0e10cSrcweir 
293*cdf0e10cSrcweir {SEC_ERROR_OCSP_NOT_ENABLED, "You must enable OCSP before performing this operation."},
294*cdf0e10cSrcweir 
295*cdf0e10cSrcweir {SEC_ERROR_OCSP_NO_DEFAULT_RESPONDER, "You must set the OCSP default responder before performing this operation."},
296*cdf0e10cSrcweir 
297*cdf0e10cSrcweir {SEC_ERROR_OCSP_MALFORMED_RESPONSE, "The response from the OCSP server was corrupted or improperly formed."},
298*cdf0e10cSrcweir 
299*cdf0e10cSrcweir {SEC_ERROR_OCSP_UNAUTHORIZED_RESPONSE, "The signer of the OCSP response is not authorized to give status for \
300*cdf0e10cSrcweir this certificate."},
301*cdf0e10cSrcweir 
302*cdf0e10cSrcweir {SEC_ERROR_OCSP_FUTURE_RESPONSE, "The OCSP response is not yet valid (contains a date in the future},."},
303*cdf0e10cSrcweir 
304*cdf0e10cSrcweir {SEC_ERROR_OCSP_OLD_RESPONSE, "The OCSP response contains out-of-date information."},
305*cdf0e10cSrcweir 
306*cdf0e10cSrcweir {SEC_ERROR_DIGEST_NOT_FOUND, "The CMS or PKCS #7 Digest was not found in signed message."},
307*cdf0e10cSrcweir 
308*cdf0e10cSrcweir {SEC_ERROR_UNSUPPORTED_MESSAGE_TYPE, "The CMS or PKCS #7 Message type is unsupported."},
309*cdf0e10cSrcweir 
310*cdf0e10cSrcweir {SEC_ERROR_MODULE_STUCK, "PKCS #11 module could not be removed because it is still in use."},
311*cdf0e10cSrcweir 
312*cdf0e10cSrcweir {SEC_ERROR_BAD_TEMPLATE, "Could not decode ASN.1 data. Specified template was invalid."},
313*cdf0e10cSrcweir 
314*cdf0e10cSrcweir {SEC_ERROR_CRL_NOT_FOUND, "No matching CRL was found."},
315*cdf0e10cSrcweir 
316*cdf0e10cSrcweir {SEC_ERROR_REUSED_ISSUER_AND_SERIAL, "You are attempting to import a cert with the same issuer/serial as \
317*cdf0e10cSrcweir an existing cert, but that is not the same cert."},
318*cdf0e10cSrcweir 
319*cdf0e10cSrcweir {SEC_ERROR_BUSY, "NSS could not shutdown. Objects are still in use."},
320*cdf0e10cSrcweir 
321*cdf0e10cSrcweir {SEC_ERROR_EXTRA_INPUT, "DER-encoded message contained extra unused data."},
322*cdf0e10cSrcweir 
323*cdf0e10cSrcweir {SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE, "Unsupported elliptic curve."},
324*cdf0e10cSrcweir 
325*cdf0e10cSrcweir {SEC_ERROR_UNSUPPORTED_EC_POINT_FORM, "Unsupported elliptic curve point form."},
326*cdf0e10cSrcweir 
327*cdf0e10cSrcweir {SEC_ERROR_UNRECOGNIZED_OID, "Unrecognized Object Identifier."},
328*cdf0e10cSrcweir 
329*cdf0e10cSrcweir {SEC_ERROR_OCSP_INVALID_SIGNING_CERT, "Invalid OCSP signing certificate in OCSP response."},
330*cdf0e10cSrcweir 
331*cdf0e10cSrcweir {SEC_ERROR_REVOKED_CERTIFICATE_CRL, "Certificate is revoked in issuer's certificate revocation list."},
332*cdf0e10cSrcweir 
333*cdf0e10cSrcweir {SEC_ERROR_REVOKED_CERTIFICATE_OCSP, "Issuer's OCSP responder reports certificate is revoked."},
334*cdf0e10cSrcweir 
335*cdf0e10cSrcweir {SEC_ERROR_CRL_INVALID_VERSION, "Issuer's Certificate Revocation List has an unknown version number."},
336*cdf0e10cSrcweir 
337*cdf0e10cSrcweir {SEC_ERROR_CRL_V1_CRITICAL_EXTENSION, "Issuer's V1 Certificate Revocation List has a critical extension."},
338*cdf0e10cSrcweir 
339*cdf0e10cSrcweir {SEC_ERROR_CRL_UNKNOWN_CRITICAL_EXTENSION, "Issuer's V2 Certificate Revocation List has an unknown critical extension."},
340*cdf0e10cSrcweir 
341*cdf0e10cSrcweir {SEC_ERROR_UNKNOWN_OBJECT_TYPE,	"Unknown object type specified."},
342*cdf0e10cSrcweir 
343*cdf0e10cSrcweir {SEC_ERROR_INCOMPATIBLE_PKCS11,	"PKCS #11 driver violates the spec in an incompatible way."},
344*cdf0e10cSrcweir 
345*cdf0e10cSrcweir {SEC_ERROR_NO_EVENT, "No new slot event is available at this time."},
346*cdf0e10cSrcweir 
347*cdf0e10cSrcweir {SEC_ERROR_CRL_ALREADY_EXISTS, "CRL already exists."},
348*cdf0e10cSrcweir 
349*cdf0e10cSrcweir {SEC_ERROR_NOT_INITIALIZED, "NSS is not initialized."},
350*cdf0e10cSrcweir 
351*cdf0e10cSrcweir {SEC_ERROR_TOKEN_NOT_LOGGED_IN, "The operation failed because the PKCS#11 token is not logged in."},
352*cdf0e10cSrcweir 
353*cdf0e10cSrcweir {SEC_ERROR_OCSP_RESPONDER_CERT_INVALID, "Configured OCSP responder's certificate is invalid."},
354*cdf0e10cSrcweir 
355*cdf0e10cSrcweir {SEC_ERROR_OCSP_BAD_SIGNATURE, "OCSP response has an invalid signature."},
356*cdf0e10cSrcweir 
357*cdf0e10cSrcweir {SEC_ERROR_OUT_OF_SEARCH_LIMITS, "Cert validation search is out of search limits"},
358*cdf0e10cSrcweir 
359*cdf0e10cSrcweir {SEC_ERROR_INVALID_POLICY_MAPPING, "Policy mapping contains anypolicy"},
360*cdf0e10cSrcweir 
361*cdf0e10cSrcweir {SEC_ERROR_POLICY_VALIDATION_FAILED, "Cert chain fails policy validation"},
362*cdf0e10cSrcweir 
363*cdf0e10cSrcweir {SEC_ERROR_UNKNOWN_AIA_LOCATION_TYPE, "Unknown location type in cert AIA extension"},
364*cdf0e10cSrcweir 
365*cdf0e10cSrcweir {SEC_ERROR_BAD_HTTP_RESPONSE, "Server returned bad HTTP response"},
366*cdf0e10cSrcweir 
367*cdf0e10cSrcweir {SEC_ERROR_BAD_LDAP_RESPONSE, "Server returned bad LDAP response"},
368*cdf0e10cSrcweir 
369*cdf0e10cSrcweir {SEC_ERROR_FAILED_TO_ENCODE_DATA, "Failed to encode data with ASN1 encoder"},
370*cdf0e10cSrcweir 
371*cdf0e10cSrcweir {SEC_ERROR_BAD_INFO_ACCESS_LOCATION, "Bad information access location in cert extension"},
372*cdf0e10cSrcweir 
373*cdf0e10cSrcweir {SEC_ERROR_LIBPKIX_INTERNAL, "Libpkix internal error occured during cert validation."},
374*cdf0e10cSrcweir 
375*cdf0e10cSrcweir {SEC_ERROR_PKCS11_GENERAL_ERROR, "A PKCS #11 module returned CKR_GENERAL_ERROR, indicating that an unrecoverable error has occurred."},
376*cdf0e10cSrcweir 
377*cdf0e10cSrcweir {SEC_ERROR_PKCS11_FUNCTION_FAILED, "A PKCS #11 module returned CKR_FUNCTION_FAILED, indicating that the requested function could not be performed.  Trying the same operation again might succeed."},
378*cdf0e10cSrcweir 
379*cdf0e10cSrcweir {SEC_ERROR_PKCS11_DEVICE_ERROR, "A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot."},
380*cdf0e10cSrcweir 
381*cdf0e10cSrcweir {SEC_ERROR_BAD_INFO_ACCESS_METHOD, "Unknown information access method in certificate extension."},
382*cdf0e10cSrcweir 
383*cdf0e10cSrcweir {SEC_ERROR_CRL_IMPORT_FAILED, "Error attempting to import a CRL."},
384*cdf0e10cSrcweir 
385