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