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