1*af101e7fSchristos /*
2*af101e7fSchristos  * The Initial Developer of the Original Code is International
3*af101e7fSchristos  * Business Machines Corporation. Portions created by IBM
4*af101e7fSchristos  * Corporation are Copyright (C) 2005 International Business
5*af101e7fSchristos  * Machines Corporation. All Rights Reserved.
6*af101e7fSchristos  *
7*af101e7fSchristos  * This program is free software; you can redistribute it and/or modify
8*af101e7fSchristos  * it under the terms of the Common Public License as published by
9*af101e7fSchristos  * IBM Corporation; either version 1 of the License, or (at your option)
10*af101e7fSchristos  * any later version.
11*af101e7fSchristos  *
12*af101e7fSchristos  * This program is distributed in the hope that it will be useful,
13*af101e7fSchristos  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14*af101e7fSchristos  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*af101e7fSchristos  * Common Public License for more details.
16*af101e7fSchristos  *
17*af101e7fSchristos  * You should have received a copy of the Common Public License
18*af101e7fSchristos  * along with this program; if not, a copy can be viewed at
19*af101e7fSchristos  * http://www.opensource.org/licenses/cpl1.0.php.
20*af101e7fSchristos  */
21*af101e7fSchristos 
22*af101e7fSchristos #ifndef __DATA_IMPORT_H
23*af101e7fSchristos #define __DATA_IMPORT_H
24*af101e7fSchristos 
25*af101e7fSchristos #define TOKEN_ID_X509_CERT	_("X509 Public Key Certificate")
26*af101e7fSchristos #define TOKEN_ID_RSA_PUBKEY	_("RSA Public Key")
27*af101e7fSchristos #define TOKEN_ID_RSA_KEY	_("RSA Public/Private Key")
28*af101e7fSchristos 
29*af101e7fSchristos #define TOKEN_ID_MISSING_PROMPT	_("The subject name and key identifier can not be obtained.\n" \
30*af101e7fSchristos 				"Certificate to key association may not be possible after " \
31*af101e7fSchristos 				"the import is complete.  If the key does not correspond " \
32*af101e7fSchristos 				"to a certficate or the key can be associated with the " \
33*af101e7fSchristos 				"certificate in another way this may not be an issue.\n" \
34*af101e7fSchristos 				"Import the object? [y/N]: ")
35*af101e7fSchristos #define TOKEN_ID_PROMPT		_("One or more %s objects matching the subject name and key " \
36*af101e7fSchristos 				"identifier already exist.  Importing this object will replace " \
37*af101e7fSchristos 				"all of these matching objects.\n" \
38*af101e7fSchristos 				"Import the object? [y/N]: ")
39*af101e7fSchristos #define TOKEN_ID_YES		_("y")
40*af101e7fSchristos #define TOKEN_ID_NO		_("n")
41*af101e7fSchristos 
42*af101e7fSchristos #define TOKEN_FILE_ERROR	_("Error, an import file must be specified\n")
43*af101e7fSchristos #define TOKEN_RSA_KEY_ERROR	_("Error, the X509 certificate does not contain an RSA key\n")
44*af101e7fSchristos #define TOKEN_OBJECT_ERROR	_("Error, no objects were found that could be imported\n")
45*af101e7fSchristos #define TOKEN_ID_ERROR		_("Error, unable to obtain the required subject and id attributes\n")
46*af101e7fSchristos 
47*af101e7fSchristos #endif
48