xref: /titanic_50/usr/src/lib/libldap5/sources/ldap/ssldap/secerrstrs.h (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate /*
2*7c478bd9Sstevel@tonic-gate  * Copyright (c) 2001 by Sun Microsystems, Inc.
3*7c478bd9Sstevel@tonic-gate  * All rights reserved.
4*7c478bd9Sstevel@tonic-gate  */
5*7c478bd9Sstevel@tonic-gate 
6*7c478bd9Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
7*7c478bd9Sstevel@tonic-gate 
8*7c478bd9Sstevel@tonic-gate /*
9*7c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the Netscape Public
10*7c478bd9Sstevel@tonic-gate  * License Version 1.1 (the "License"); you may not use this file
11*7c478bd9Sstevel@tonic-gate  * except in compliance with the License. You may obtain a copy of
12*7c478bd9Sstevel@tonic-gate  * the License at http://www.mozilla.org/NPL/
13*7c478bd9Sstevel@tonic-gate  *
14*7c478bd9Sstevel@tonic-gate  * Software distributed under the License is distributed on an "AS
15*7c478bd9Sstevel@tonic-gate  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
16*7c478bd9Sstevel@tonic-gate  * implied. See the License for the specific language governing
17*7c478bd9Sstevel@tonic-gate  * rights and limitations under the License.
18*7c478bd9Sstevel@tonic-gate  *
19*7c478bd9Sstevel@tonic-gate  * The Original Code is Mozilla Communicator client code, released
20*7c478bd9Sstevel@tonic-gate  * March 31, 1998.
21*7c478bd9Sstevel@tonic-gate  *
22*7c478bd9Sstevel@tonic-gate  * The Initial Developer of the Original Code is Netscape
23*7c478bd9Sstevel@tonic-gate  * Communications Corporation. Portions created by Netscape are
24*7c478bd9Sstevel@tonic-gate  * Copyright (C) 1998-1999 Netscape Communications Corporation. All
25*7c478bd9Sstevel@tonic-gate  * Rights Reserved.
26*7c478bd9Sstevel@tonic-gate  *
27*7c478bd9Sstevel@tonic-gate  * Contributor(s):
28*7c478bd9Sstevel@tonic-gate  */
29*7c478bd9Sstevel@tonic-gate 
30*7c478bd9Sstevel@tonic-gate /*
31*7c478bd9Sstevel@tonic-gate  * secerrstrs.h - map security errors to strings (used by errormap.c)
32*7c478bd9Sstevel@tonic-gate  *
33*7c478bd9Sstevel@tonic-gate  */
34*7c478bd9Sstevel@tonic-gate 
35*7c478bd9Sstevel@tonic-gate /*
36*7c478bd9Sstevel@tonic-gate  ****************************************************************************
37*7c478bd9Sstevel@tonic-gate  * The code below this point was provided by Nelson Bolyard <nelsonb> of the
38*7c478bd9Sstevel@tonic-gate  *	Netscape Certificate Server team on 27-March-1998.
39*7c478bd9Sstevel@tonic-gate  *	Taken from the file ns/security/cmd/lib/SECerrs.h on NSS_1_BRANCH.
40*7c478bd9Sstevel@tonic-gate  *	Last updated from there: 24-July-1998 by Mark Smith <mcs>
41*7c478bd9Sstevel@tonic-gate  *
42*7c478bd9Sstevel@tonic-gate  * All of the Directory Server specific changes are enclosed inside
43*7c478bd9Sstevel@tonic-gate  *	#ifdef NS_DIRECTORY.
44*7c478bd9Sstevel@tonic-gate  ****************************************************************************
45*7c478bd9Sstevel@tonic-gate  */
46*7c478bd9Sstevel@tonic-gate 
47*7c478bd9Sstevel@tonic-gate /* General security error codes  */
48*7c478bd9Sstevel@tonic-gate /* Caller must #include "secerr.h" */
49*7c478bd9Sstevel@tonic-gate 
50*7c478bd9Sstevel@tonic-gate 
51*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_IO,				SEC_ERROR_BASE + 0,
52*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
53*7c478bd9Sstevel@tonic-gate "An I/O error occurred during security authorization."))
54*7c478bd9Sstevel@tonic-gate 
55*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_LIBRARY_FAILURE,			SEC_ERROR_BASE + 1,
56*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
57*7c478bd9Sstevel@tonic-gate "security library failure."))
58*7c478bd9Sstevel@tonic-gate 
59*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_DATA,				SEC_ERROR_BASE + 2,
60*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
61*7c478bd9Sstevel@tonic-gate "security library: received bad data."))
62*7c478bd9Sstevel@tonic-gate 
63*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_OUTPUT_LEN,			SEC_ERROR_BASE + 3,
64*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
65*7c478bd9Sstevel@tonic-gate "security library: output length error."))
66*7c478bd9Sstevel@tonic-gate 
67*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INPUT_LEN,			SEC_ERROR_BASE + 4,
68*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
69*7c478bd9Sstevel@tonic-gate "security library has experienced an input length error."))
70*7c478bd9Sstevel@tonic-gate 
71*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INVALID_ARGS,			SEC_ERROR_BASE + 5,
72*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
73*7c478bd9Sstevel@tonic-gate "security library: invalid arguments."))
74*7c478bd9Sstevel@tonic-gate 
75*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INVALID_ALGORITHM,		SEC_ERROR_BASE + 6,
76*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
77*7c478bd9Sstevel@tonic-gate "security library: invalid algorithm."))
78*7c478bd9Sstevel@tonic-gate 
79*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INVALID_AVA,			SEC_ERROR_BASE + 7,
80*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
81*7c478bd9Sstevel@tonic-gate "security library: invalid AVA."))
82*7c478bd9Sstevel@tonic-gate 
83*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INVALID_TIME,			SEC_ERROR_BASE + 8,
84*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
85*7c478bd9Sstevel@tonic-gate "security library: invalid time."))
86*7c478bd9Sstevel@tonic-gate 
87*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_DER,				SEC_ERROR_BASE + 9,
88*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
89*7c478bd9Sstevel@tonic-gate "security library: improperly formatted DER-encoded message."))
90*7c478bd9Sstevel@tonic-gate 
91*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_SIGNATURE,			SEC_ERROR_BASE + 10,
92*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
93*7c478bd9Sstevel@tonic-gate "Peer's certificate has an invalid signature."))
94*7c478bd9Sstevel@tonic-gate 
95*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_EXPIRED_CERTIFICATE,		SEC_ERROR_BASE + 11,
96*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
97*7c478bd9Sstevel@tonic-gate "Peer's Certificate has expired."))
98*7c478bd9Sstevel@tonic-gate 
99*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_REVOKED_CERTIFICATE,		SEC_ERROR_BASE + 12,
100*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
101*7c478bd9Sstevel@tonic-gate "Peer's Certificate has been revoked."))
102*7c478bd9Sstevel@tonic-gate 
103*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_UNKNOWN_ISSUER,			SEC_ERROR_BASE + 13,
104*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
105*7c478bd9Sstevel@tonic-gate "Peer's Certificate issuer is not recognized."))
106*7c478bd9Sstevel@tonic-gate 
107*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_KEY,				SEC_ERROR_BASE + 14,
108*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
109*7c478bd9Sstevel@tonic-gate "Peer's public key is invalid."))
110*7c478bd9Sstevel@tonic-gate 
111*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_PASSWORD,			SEC_ERROR_BASE + 15,
112*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
113*7c478bd9Sstevel@tonic-gate "The security password entered is incorrect."))
114*7c478bd9Sstevel@tonic-gate 
115*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_RETRY_PASSWORD,			SEC_ERROR_BASE + 16,
116*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
117*7c478bd9Sstevel@tonic-gate "New password entered incorrectly.  Please try again."))
118*7c478bd9Sstevel@tonic-gate 
119*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_NODELOCK,			SEC_ERROR_BASE + 17,
120*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
121*7c478bd9Sstevel@tonic-gate "security library: no nodelock."))
122*7c478bd9Sstevel@tonic-gate 
123*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_DATABASE,			SEC_ERROR_BASE + 18,
124*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
125*7c478bd9Sstevel@tonic-gate "security library: bad database."))
126*7c478bd9Sstevel@tonic-gate 
127*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_MEMORY,			SEC_ERROR_BASE + 19,
128*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
129*7c478bd9Sstevel@tonic-gate "security library: memory allocation failure."))
130*7c478bd9Sstevel@tonic-gate 
131*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_UNTRUSTED_ISSUER,			SEC_ERROR_BASE + 20,
132*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
133*7c478bd9Sstevel@tonic-gate "Peer's certificate issuer has been marked as not trusted by the user."))
134*7c478bd9Sstevel@tonic-gate 
135*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_UNTRUSTED_CERT,			SEC_ERROR_BASE + 21,
136*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
137*7c478bd9Sstevel@tonic-gate "Peer's certificate has been marked as not trusted by the user."))
138*7c478bd9Sstevel@tonic-gate 
139*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_DUPLICATE_CERT,			(SEC_ERROR_BASE + 22),
140*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
141*7c478bd9Sstevel@tonic-gate "Certificate already exists in your database."))
142*7c478bd9Sstevel@tonic-gate 
143*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_DUPLICATE_CERT_NAME,		(SEC_ERROR_BASE + 23),
144*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
145*7c478bd9Sstevel@tonic-gate "Downloaded certificate's name duplicates one already in your database."))
146*7c478bd9Sstevel@tonic-gate 
147*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_ADDING_CERT,			(SEC_ERROR_BASE + 24),
148*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
149*7c478bd9Sstevel@tonic-gate "Error adding certificate to database."))
150*7c478bd9Sstevel@tonic-gate 
151*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_FILING_KEY,			(SEC_ERROR_BASE + 25),
152*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
153*7c478bd9Sstevel@tonic-gate "Error refiling the key for this certificate."))
154*7c478bd9Sstevel@tonic-gate 
155*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_KEY,				(SEC_ERROR_BASE + 26),
156*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
157*7c478bd9Sstevel@tonic-gate "The private key for this certificate cannot be found in key database"))
158*7c478bd9Sstevel@tonic-gate 
159*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_VALID,			(SEC_ERROR_BASE + 27),
160*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
161*7c478bd9Sstevel@tonic-gate "This certificate is valid."))
162*7c478bd9Sstevel@tonic-gate 
163*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_NOT_VALID,			(SEC_ERROR_BASE + 28),
164*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
165*7c478bd9Sstevel@tonic-gate "This certificate is not valid."))
166*7c478bd9Sstevel@tonic-gate 
167*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_NO_RESPONSE,			(SEC_ERROR_BASE + 29),
168*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
169*7c478bd9Sstevel@tonic-gate "Cert Library: No Response"))
170*7c478bd9Sstevel@tonic-gate 
171*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_EXPIRED_ISSUER_CERTIFICATE,	(SEC_ERROR_BASE + 30),
172*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
173*7c478bd9Sstevel@tonic-gate "The certificate issuer's certificate has expired.  Check your system date and time."))
174*7c478bd9Sstevel@tonic-gate 
175*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CRL_EXPIRED,			(SEC_ERROR_BASE + 31),
176*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
177*7c478bd9Sstevel@tonic-gate "The CRL for the certificate's issuer has expired.  Update it or check your system data and time."))
178*7c478bd9Sstevel@tonic-gate 
179*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CRL_BAD_SIGNATURE,		(SEC_ERROR_BASE + 32),
180*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
181*7c478bd9Sstevel@tonic-gate "The CRL for the certificate's issuer has an invalid signature."))
182*7c478bd9Sstevel@tonic-gate 
183*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CRL_INVALID,			(SEC_ERROR_BASE + 33),
184*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
185*7c478bd9Sstevel@tonic-gate "New CRL has an invalid format."))
186*7c478bd9Sstevel@tonic-gate 
187*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_EXTENSION_VALUE_INVALID,		(SEC_ERROR_BASE + 34),
188*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
189*7c478bd9Sstevel@tonic-gate "Certificate extension value is invalid."))
190*7c478bd9Sstevel@tonic-gate 
191*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_EXTENSION_NOT_FOUND,		(SEC_ERROR_BASE + 35),
192*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
193*7c478bd9Sstevel@tonic-gate "Certificate extension not found."))
194*7c478bd9Sstevel@tonic-gate 
195*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CA_CERT_INVALID,			(SEC_ERROR_BASE + 36),
196*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
197*7c478bd9Sstevel@tonic-gate "Issuer certificate is invalid."))
198*7c478bd9Sstevel@tonic-gate 
199*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PATH_LEN_CONSTRAINT_INVALID,	(SEC_ERROR_BASE + 37),
200*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
201*7c478bd9Sstevel@tonic-gate "Certificate path length constraint is invalid."))
202*7c478bd9Sstevel@tonic-gate 
203*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_USAGES_INVALID,		(SEC_ERROR_BASE + 38),
204*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
205*7c478bd9Sstevel@tonic-gate "Certificate usages field is invalid."))
206*7c478bd9Sstevel@tonic-gate 
207*7c478bd9Sstevel@tonic-gate ER3(SEC_INTERNAL_ONLY,				(SEC_ERROR_BASE + 39),
208*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
209*7c478bd9Sstevel@tonic-gate "**Internal ONLY module**"))
210*7c478bd9Sstevel@tonic-gate 
211*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INVALID_KEY,			(SEC_ERROR_BASE + 40),
212*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
213*7c478bd9Sstevel@tonic-gate "The key does not support the requested operation."))
214*7c478bd9Sstevel@tonic-gate 
215*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_UNKNOWN_CRITICAL_EXTENSION,	(SEC_ERROR_BASE + 41),
216*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
217*7c478bd9Sstevel@tonic-gate "Certificate contains unknown critical extension."))
218*7c478bd9Sstevel@tonic-gate 
219*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_OLD_CRL,				(SEC_ERROR_BASE + 42),
220*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
221*7c478bd9Sstevel@tonic-gate "New CRL is not later than the current one."))
222*7c478bd9Sstevel@tonic-gate 
223*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_EMAIL_CERT,			(SEC_ERROR_BASE + 43),
224*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
225*7c478bd9Sstevel@tonic-gate "Not encrypted or signed: you do not yet have an email certificate."))
226*7c478bd9Sstevel@tonic-gate 
227*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_RECIPIENT_CERTS_QUERY,		(SEC_ERROR_BASE + 44),
228*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
229*7c478bd9Sstevel@tonic-gate "Not encrypted: you do not have certificates for each of the recipients."))
230*7c478bd9Sstevel@tonic-gate 
231*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NOT_A_RECIPIENT,			(SEC_ERROR_BASE + 45),
232*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
233*7c478bd9Sstevel@tonic-gate "Cannot decrypt: you are not a recipient, or matching certificate and \
234*7c478bd9Sstevel@tonic-gate private key not found."))
235*7c478bd9Sstevel@tonic-gate 
236*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS7_KEYALG_MISMATCH,		(SEC_ERROR_BASE + 46),
237*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
238*7c478bd9Sstevel@tonic-gate "Cannot decrypt: key encryption algorithm does not match your certificate."))
239*7c478bd9Sstevel@tonic-gate 
240*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS7_BAD_SIGNATURE,		(SEC_ERROR_BASE + 47),
241*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
242*7c478bd9Sstevel@tonic-gate "Signature verification failed: no signer found, too many signers found, \
243*7c478bd9Sstevel@tonic-gate or improper or corrupted data."))
244*7c478bd9Sstevel@tonic-gate 
245*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_UNSUPPORTED_KEYALG,		(SEC_ERROR_BASE + 48),
246*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
247*7c478bd9Sstevel@tonic-gate "Unsupported or unknown key algorithm."))
248*7c478bd9Sstevel@tonic-gate 
249*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_DECRYPTION_DISALLOWED,		(SEC_ERROR_BASE + 49),
250*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
251*7c478bd9Sstevel@tonic-gate "Cannot decrypt: encrypted using a disallowed algorithm or key size."))
252*7c478bd9Sstevel@tonic-gate 
253*7c478bd9Sstevel@tonic-gate 
254*7c478bd9Sstevel@tonic-gate /* Fortezza Alerts */
255*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_BAD_CARD,			(SEC_ERROR_BASE + 50),
256*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
257*7c478bd9Sstevel@tonic-gate "Fortezza card has not been properly initialized.  \
258*7c478bd9Sstevel@tonic-gate Please remove it and return it to your issuer."))
259*7c478bd9Sstevel@tonic-gate 
260*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_NO_CARD,			(SEC_ERROR_BASE + 51),
261*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
262*7c478bd9Sstevel@tonic-gate "No Fortezza cards Found"))
263*7c478bd9Sstevel@tonic-gate 
264*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_NONE_SELECTED,		(SEC_ERROR_BASE + 52),
265*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
266*7c478bd9Sstevel@tonic-gate "No Fortezza card selected"))
267*7c478bd9Sstevel@tonic-gate 
268*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_MORE_INFO,			(SEC_ERROR_BASE + 53),
269*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
270*7c478bd9Sstevel@tonic-gate "Please select a personality to get more info on"))
271*7c478bd9Sstevel@tonic-gate 
272*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_PERSON_NOT_FOUND,		(SEC_ERROR_BASE + 54),
273*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
274*7c478bd9Sstevel@tonic-gate "Personality not found"))
275*7c478bd9Sstevel@tonic-gate 
276*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_NO_MORE_INFO,		(SEC_ERROR_BASE + 55),
277*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
278*7c478bd9Sstevel@tonic-gate "No more information on that Personality"))
279*7c478bd9Sstevel@tonic-gate 
280*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_BAD_PIN,			(SEC_ERROR_BASE + 56),
281*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
282*7c478bd9Sstevel@tonic-gate "Invalid Pin"))
283*7c478bd9Sstevel@tonic-gate 
284*7c478bd9Sstevel@tonic-gate ER3(XP_SEC_FORTEZZA_PERSON_ERROR,		(SEC_ERROR_BASE + 57),
285*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
286*7c478bd9Sstevel@tonic-gate "Couldn't initialize Fortezza personalities."))
287*7c478bd9Sstevel@tonic-gate /* end fortezza alerts. */
288*7c478bd9Sstevel@tonic-gate 
289*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_KRL,				(SEC_ERROR_BASE + 58),
290*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
291*7c478bd9Sstevel@tonic-gate "No KRL for this site's certificate has been found."))
292*7c478bd9Sstevel@tonic-gate 
293*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_KRL_EXPIRED,			(SEC_ERROR_BASE + 59),
294*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
295*7c478bd9Sstevel@tonic-gate "The KRL for this site's certificate has expired."))
296*7c478bd9Sstevel@tonic-gate 
297*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_KRL_BAD_SIGNATURE,		(SEC_ERROR_BASE + 60),
298*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
299*7c478bd9Sstevel@tonic-gate "The KRL for this site's certificate has an invalid signature."))
300*7c478bd9Sstevel@tonic-gate 
301*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_REVOKED_KEY,			(SEC_ERROR_BASE + 61),
302*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
303*7c478bd9Sstevel@tonic-gate "The key for this site's certificate has been revoked."))
304*7c478bd9Sstevel@tonic-gate 
305*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_KRL_INVALID,			(SEC_ERROR_BASE + 62),
306*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
307*7c478bd9Sstevel@tonic-gate "New KRL has an invalid format."))
308*7c478bd9Sstevel@tonic-gate 
309*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NEED_RANDOM,			(SEC_ERROR_BASE + 63),
310*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
311*7c478bd9Sstevel@tonic-gate "security library: need random data."))
312*7c478bd9Sstevel@tonic-gate 
313*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_MODULE,			(SEC_ERROR_BASE + 64),
314*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
315*7c478bd9Sstevel@tonic-gate "security library: no security module can perform the requested operation."))
316*7c478bd9Sstevel@tonic-gate 
317*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_TOKEN,				(SEC_ERROR_BASE + 65),
318*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
319*7c478bd9Sstevel@tonic-gate "The security card or token does not exist, needs to be initialized, or has been removed."))
320*7c478bd9Sstevel@tonic-gate 
321*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_READ_ONLY,			(SEC_ERROR_BASE + 66),
322*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
323*7c478bd9Sstevel@tonic-gate "security library: read-only database."))
324*7c478bd9Sstevel@tonic-gate 
325*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NO_SLOT_SELECTED,			(SEC_ERROR_BASE + 67),
326*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
327*7c478bd9Sstevel@tonic-gate "No slot or token was selected."))
328*7c478bd9Sstevel@tonic-gate 
329*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_NICKNAME_COLLISION,		(SEC_ERROR_BASE + 68),
330*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
331*7c478bd9Sstevel@tonic-gate "A certificate with the same nickname already exists."))
332*7c478bd9Sstevel@tonic-gate 
333*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_KEY_NICKNAME_COLLISION,		(SEC_ERROR_BASE + 69),
334*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
335*7c478bd9Sstevel@tonic-gate "A key with the same nickname already exists."))
336*7c478bd9Sstevel@tonic-gate 
337*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_SAFE_NOT_CREATED,			(SEC_ERROR_BASE + 70),
338*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
339*7c478bd9Sstevel@tonic-gate "error while creating safe object"))
340*7c478bd9Sstevel@tonic-gate 
341*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAGGAGE_NOT_CREATED,		(SEC_ERROR_BASE + 71),
342*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
343*7c478bd9Sstevel@tonic-gate "error while creating baggage object"))
344*7c478bd9Sstevel@tonic-gate 
345*7c478bd9Sstevel@tonic-gate ER3(XP_JAVA_REMOVE_PRINCIPAL_ERROR,		(SEC_ERROR_BASE + 72),
346*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
347*7c478bd9Sstevel@tonic-gate "Couldn't remove the principal"))
348*7c478bd9Sstevel@tonic-gate 
349*7c478bd9Sstevel@tonic-gate ER3(XP_JAVA_DELETE_PRIVILEGE_ERROR,		(SEC_ERROR_BASE + 73),
350*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
351*7c478bd9Sstevel@tonic-gate "Couldn't delete the privilege"))
352*7c478bd9Sstevel@tonic-gate 
353*7c478bd9Sstevel@tonic-gate ER3(XP_JAVA_CERT_NOT_EXISTS_ERROR,		(SEC_ERROR_BASE + 74),
354*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
355*7c478bd9Sstevel@tonic-gate "This principal doesn't have a certificate"))
356*7c478bd9Sstevel@tonic-gate 
357*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_EXPORT_ALGORITHM,		(SEC_ERROR_BASE + 75),
358*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
359*7c478bd9Sstevel@tonic-gate "Required algorithm is not allowed."))
360*7c478bd9Sstevel@tonic-gate 
361*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_EXPORTING_CERTIFICATES,		(SEC_ERROR_BASE + 76),
362*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
363*7c478bd9Sstevel@tonic-gate "Error attempting to export certificates."))
364*7c478bd9Sstevel@tonic-gate 
365*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_IMPORTING_CERTIFICATES,		(SEC_ERROR_BASE + 77),
366*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
367*7c478bd9Sstevel@tonic-gate "Error attempting to import certificates."))
368*7c478bd9Sstevel@tonic-gate 
369*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_DECODING_PFX,		(SEC_ERROR_BASE + 78),
370*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
371*7c478bd9Sstevel@tonic-gate "Unable to import.  Decoding error.  File not valid."))
372*7c478bd9Sstevel@tonic-gate 
373*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_INVALID_MAC,		(SEC_ERROR_BASE + 79),
374*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
375*7c478bd9Sstevel@tonic-gate "Unable to import.  Invalid MAC.  Incorrect password or corrupt file."))
376*7c478bd9Sstevel@tonic-gate 
377*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNSUPPORTED_MAC_ALGORITHM,	(SEC_ERROR_BASE + 80),
378*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
379*7c478bd9Sstevel@tonic-gate "Unable to import.  MAC algorithm not supported."))
380*7c478bd9Sstevel@tonic-gate 
381*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNSUPPORTED_TRANSPORT_MODE,(SEC_ERROR_BASE + 81),
382*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
383*7c478bd9Sstevel@tonic-gate "Unable to import.  Only password integrity and privacy modes supported."))
384*7c478bd9Sstevel@tonic-gate 
385*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_CORRUPT_PFX_STRUCTURE,	(SEC_ERROR_BASE + 82),
386*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
387*7c478bd9Sstevel@tonic-gate "Unable to import.  File structure is corrupt."))
388*7c478bd9Sstevel@tonic-gate 
389*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNSUPPORTED_PBE_ALGORITHM, (SEC_ERROR_BASE + 83),
390*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
391*7c478bd9Sstevel@tonic-gate "Unable to import.  Encryption algorithm not supported."))
392*7c478bd9Sstevel@tonic-gate 
393*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNSUPPORTED_VERSION,	(SEC_ERROR_BASE + 84),
394*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
395*7c478bd9Sstevel@tonic-gate "Unable to import.  File version not supported."))
396*7c478bd9Sstevel@tonic-gate 
397*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_PRIVACY_PASSWORD_INCORRECT,(SEC_ERROR_BASE + 85),
398*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
399*7c478bd9Sstevel@tonic-gate "Unable to import.  Incorrect privacy password."))
400*7c478bd9Sstevel@tonic-gate 
401*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_CERT_COLLISION,		(SEC_ERROR_BASE + 86),
402*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
403*7c478bd9Sstevel@tonic-gate "Unable to import.  Same nickname already exists in database."))
404*7c478bd9Sstevel@tonic-gate 
405*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_USER_CANCELLED,			(SEC_ERROR_BASE + 87),
406*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
407*7c478bd9Sstevel@tonic-gate "The user pressed cancel."))
408*7c478bd9Sstevel@tonic-gate 
409*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_DUPLICATE_DATA,		(SEC_ERROR_BASE + 88),
410*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
411*7c478bd9Sstevel@tonic-gate "Not imported, already in database."))
412*7c478bd9Sstevel@tonic-gate 
413*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_MESSAGE_SEND_ABORTED,		(SEC_ERROR_BASE + 89),
414*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
415*7c478bd9Sstevel@tonic-gate "Message not sent."))
416*7c478bd9Sstevel@tonic-gate 
417*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INADEQUATE_KEY_USAGE,		(SEC_ERROR_BASE + 90),
418*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
419*7c478bd9Sstevel@tonic-gate "Certificate key usage inadequate for attempted operation."))
420*7c478bd9Sstevel@tonic-gate 
421*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INADEQUATE_CERT_TYPE,		(SEC_ERROR_BASE + 91),
422*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
423*7c478bd9Sstevel@tonic-gate "Certificate type not approved for application."))
424*7c478bd9Sstevel@tonic-gate 
425*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_ADDR_MISMATCH,		(SEC_ERROR_BASE + 92),
426*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
427*7c478bd9Sstevel@tonic-gate "Address in signing certificate does not match address in message headers."))
428*7c478bd9Sstevel@tonic-gate 
429*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNABLE_TO_IMPORT_KEY,	(SEC_ERROR_BASE + 93),
430*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
431*7c478bd9Sstevel@tonic-gate "Unable to import.  Error attempting to import private key."))
432*7c478bd9Sstevel@tonic-gate 
433*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_IMPORTING_CERT_CHAIN,	(SEC_ERROR_BASE + 94),
434*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
435*7c478bd9Sstevel@tonic-gate "Unable to import.  Error attempting to import certificate chain."))
436*7c478bd9Sstevel@tonic-gate 
437*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNABLE_TO_LOCATE_OBJECT_BY_NAME, (SEC_ERROR_BASE + 95),
438*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
439*7c478bd9Sstevel@tonic-gate "Unable to export.  Unable to locate certificate or key by nickname."))
440*7c478bd9Sstevel@tonic-gate 
441*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNABLE_TO_EXPORT_KEY,	(SEC_ERROR_BASE + 96),
442*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
443*7c478bd9Sstevel@tonic-gate "Unable to export.  Private Key could not be located and exported."))
444*7c478bd9Sstevel@tonic-gate 
445*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNABLE_TO_WRITE, 		(SEC_ERROR_BASE + 97),
446*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
447*7c478bd9Sstevel@tonic-gate "Unable to export.  Unable to write the export file."))
448*7c478bd9Sstevel@tonic-gate 
449*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_UNABLE_TO_READ,		(SEC_ERROR_BASE + 98),
450*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
451*7c478bd9Sstevel@tonic-gate "Unable to import.  Unable to read the import file."))
452*7c478bd9Sstevel@tonic-gate 
453*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_PKCS12_KEY_DATABASE_NOT_INITIALIZED, (SEC_ERROR_BASE + 99),
454*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
455*7c478bd9Sstevel@tonic-gate "Unable to export.  Key database corrupt or deleted."))
456*7c478bd9Sstevel@tonic-gate 
457*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_KEYGEN_FAIL,			(SEC_ERROR_BASE + 100),
458*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
459*7c478bd9Sstevel@tonic-gate "Unable to generate public/private key pair."))
460*7c478bd9Sstevel@tonic-gate 
461*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_INVALID_PASSWORD,			(SEC_ERROR_BASE + 101),
462*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
463*7c478bd9Sstevel@tonic-gate "Password entered is invalid.  Please pick a different one."))
464*7c478bd9Sstevel@tonic-gate 
465*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_RETRY_OLD_PASSWORD,		(SEC_ERROR_BASE + 102),
466*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
467*7c478bd9Sstevel@tonic-gate "Old password entered incorrectly.  Please try again."))
468*7c478bd9Sstevel@tonic-gate 
469*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_BAD_NICKNAME,			(SEC_ERROR_BASE + 103),
470*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
471*7c478bd9Sstevel@tonic-gate "Certificate nickname already in use."))
472*7c478bd9Sstevel@tonic-gate 
473*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_NOT_FORTEZZA_ISSUER,       	(SEC_ERROR_BASE + 104),
474*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
475*7c478bd9Sstevel@tonic-gate "Peer FORTEZZA chain has a non-FORTEZZA Certificate."))
476*7c478bd9Sstevel@tonic-gate 
477*7c478bd9Sstevel@tonic-gate /* ER3(SEC_ERROR_UNKNOWN, 			(SEC_ERROR_BASE + 105), */
478*7c478bd9Sstevel@tonic-gate 
479*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_JS_INVALID_MODULE_NAME, 		(SEC_ERROR_BASE + 106),
480*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
481*7c478bd9Sstevel@tonic-gate "Invalid module name."))
482*7c478bd9Sstevel@tonic-gate 
483*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_JS_INVALID_DLL, 			(SEC_ERROR_BASE + 107),
484*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
485*7c478bd9Sstevel@tonic-gate "Invalid module path/filename"))
486*7c478bd9Sstevel@tonic-gate 
487*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_JS_ADD_MOD_FAILURE, 		(SEC_ERROR_BASE + 108),
488*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
489*7c478bd9Sstevel@tonic-gate "Unable to add module"))
490*7c478bd9Sstevel@tonic-gate 
491*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_JS_DEL_MOD_FAILURE, 		(SEC_ERROR_BASE + 109),
492*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
493*7c478bd9Sstevel@tonic-gate "Unable to delete module"))
494*7c478bd9Sstevel@tonic-gate 
495*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_OLD_KRL,	     			(SEC_ERROR_BASE + 110),
496*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
497*7c478bd9Sstevel@tonic-gate "New KRL is not later than the current one."))
498*7c478bd9Sstevel@tonic-gate 
499*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CKL_CONFLICT,	     		(SEC_ERROR_BASE + 111),
500*7c478bd9Sstevel@tonic-gate dgettext(TEXT_DOMAIN,
501*7c478bd9Sstevel@tonic-gate "New CKL has different issuer than current CKL.  Delete current CKL."))
502*7c478bd9Sstevel@tonic-gate 
503*7c478bd9Sstevel@tonic-gate #if 0 /* This was defined AFTER HCL 1.5 was released. */
504*7c478bd9Sstevel@tonic-gate ER3(SEC_ERROR_CERT_NOT_IN_NAME_SPACE, 		(SEC_ERROR_BASE + 112),
505*7c478bd9Sstevel@tonic-gate "The Certifying Authority for this certifcate is not permitted to issue a \
506*7c478bd9Sstevel@tonic-gate certifcate with this name."))
507*7c478bd9Sstevel@tonic-gate #endif
508*7c478bd9Sstevel@tonic-gate 
509*7c478bd9Sstevel@tonic-gate 
510*7c478bd9Sstevel@tonic-gate 
511