os/security/cryptoservices/filebasedcertificateandkeystores/test/keytool/keytool.rls
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 rls_string STRING_r_keytool_shortName "Symbian OS KeyTool"
    19 rls_string STRING_r_keytool_name "Symbian OS KeyStore Manipulation Tool"
    20 rls_string STRING_r_keytool_copyright "Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved."
    21 rls_string STRING_r_keytool_done "Press any key to continue..."
    22 
    23 // Usage
    24 rls_string STRING_r_keytool_usage "Usage: keytool \t[{-list -l} {-liststores -ls} {-import -i} {-remove -r} "
    25 rls_string STRING_r_keytool_usage2 "\t\t {-page -p } {-help -h} {-setuser -s} {-setallusers -a} {-removeuser -ru} {-setmanager -m}] {KeyLabel}"
    26 #ifdef SYMBIAN_AUTH_SERVER
    27 rls_string STRING_r_keytool_usage5 "\t\t or [ {-migratestore} old key file name ]"
    28 #endif // SYMBIAN_AUTH_SERVER
    29 rls_string STRING_r_keytool_usage3 "Type keytool -h {CommandName} for details on a particular command."
    30 
    31 rls_string STRING_r_keytool_usage4 "Type keytool -h noninteractive for details on how to run the commands in noninteractive mode."
    32 
    33 rls_string STRING_r_keytool_usage_noninteractive "To run the tool in Non-interactive mode give command as keytool inputfile outputfile"
    34 rls_string STRING_r_keytool_usage_noninteractive1 "where the inputfile and outputfile should contain filename with path."
    35 
    36 rls_string STRING_r_keytool_usage_liststores "-liststores | -ls List the keystore implementations available on the device."
    37 rls_string STRING_r_keytool_usage_list "-list | -l [-store idx] [-details -d] {KeyLabel}  Lists the content of the keystore."
    38 rls_string STRING_r_keytool_usage_list2 "If a label is specified, details about the corresponding keys are shown.  e.g -list abc where abc is key label."
    39 rls_string STRING_r_keytool_usage_list3 "If a keystore implementation is specified using -store, then only its contents are shown  (e.g -store 0 -list). If not it lists everything."
    40 rls_string STRING_r_keytool_usage_list4 "If a details tag is specified using -details, then it displays all the details about the key"
    41 
    42 rls_string STRING_r_keytool_usage_page "if any command specified with -page option, then it displays Screen Full of Records and wait for key input."
    43 rls_string STRING_r_keytool_usage_page2 "-page option is ignored in Non-Interactive Mode"
    44 
    45 
    46 rls_string STRING_r_keytool_usage_import " [-store idx] [-label labelname] -import | -i [-usage KeyUsage | -access keyAccess | -expiry Date] {KeyFile} Imports a private key from the specified pkcs#8 file. See -usage and -access for details."
    47 rls_string STRING_r_keytool_usage_import2 "The key is added to the first store implementation found."
    48 rls_string STRING_r_keytool_usage_import3 "If a key implementation is specified using -store, then it is added to the one specified with -store."
    49 rls_string STRING_r_keytool_usage_import4 "If a key label is specified using -label, then it is added with specified label otherwise the key file name is taken as label."
    50 
    51 rls_string STRING_r_keytool_usage_remove "-remove KeyLabel  Removes the specified key from the keystore."
    52 
    53 rls_string STRING_r_keytool_usage_setuser "-setuser uid KeyLabel Sets the given UID as the user of the specified key. UID is interpreted as hexadecimal number."
    54 rls_string STRING_r_keytool_usage_setmanager "-setmanager KeyLabel Sets the WriteDeviceData cabability as the owner of the specified key. Any Process having the WriteDeviceData will act as a owner for the specified key."
    55 rls_string STRING_r_keytool_usage_setallusers "-setallusers KeyLabel Sets the usability of the specified key to be allowed to all users."
    56 rls_string STRING_r_keytool_usage_removeuser "-removeuser KeyLabel Remove the current user UID from the user of the specified key. And Set the keytool as the default user of the key."
    57 
    58 rls_string STRING_r_keytool_usage_help "-help | -h   Displays tool usage"
    59 rls_string STRING_r_keytool_usage_keyusage "-usage Used only with -import. It specifies the key usage."
    60 rls_string STRING_r_keytool_usage_keyusages "Possible usages: AllUsage, NoUsage, Decrypt, Sign, SignRecover, Unwrap, NonRepudiation."
    61 rls_string STRING_r_keytool_usage_keyaccess "-access  Displays tool usage"
    62 rls_string STRING_r_keytool_usage_keyaccesses "Possible access restrictions are: Extractable, Sensitive."
    63 
    64 #ifdef SYMBIAN_AUTH_SERVER
    65 
    66 rls_string STRING_r_keytool_usage_migrate 	"-migrate OldKeyFile Passphrase [-new NewKeyFile] [-expr AuthExpression] [-freshness Freshness]."
    67 rls_string STRING_r_keytool_usage_migrate1 	"Migrates the old key file to the new format. If new key file name"
    68 rls_string STRING_r_keytool_usage_migrate2 	"is provided then it is saved using that name otherwise it is saved"
    69 rls_string STRING_r_keytool_usage_migrate3 	"as newkeys.dat in the system drive. Every key store in old implementation was encrypted" 
    70 rls_string STRING_r_keytool_usage_migrate4 	"with a passphrase, this should be supplied for successful porting."
    71 rls_string STRING_r_keytool_usage_migrate5 	"If authexpression is not provided it uses the system wide default plugin. "
    72 rls_string STRING_r_keytool_usage_migrate6 	"If freshness is not provided then it uses 0 as the default freshness which" 
    73 rls_string STRING_r_keytool_usage_migrate7 	"means always authenticate the user. The supplied auth expression and freshness "
    74 rls_string STRING_r_keytool_usage_migrate8 	"would be used to determine whether to use the current authenticated identity" 
    75 rls_string STRING_r_keytool_usage_migrate9 	"if available or to authenticate the user again."
    76 
    77 #endif // SYMBIAN_AUTH_SERVER
    78 
    79 // Errors
    80 rls_string STRING_r_keytool_err_command "Invalid Command."
    81 rls_string STRING_r_keytool_err_unknown "An unknown error occured."
    82 rls_string STRING_r_keytool_err_notfound "Cannot find the specified key."
    83 rls_string STRING_r_keytool_err_notexist "The specified keystore implementation does not exist."
    84 rls_string STRING_r_keytool_err_empty "Empty keystore."
    85 
    86 rls_string STRING_r_keytool_err_keyfile "No key file specified."
    87 rls_string STRING_r_keytool_err_import "An error occured during key import."
    88 rls_string STRING_r_keytool_err_corrupt "The specified key file appears to be corrupted."
    89 rls_string STRING_r_keytool_err_corruptlong "The specified key file appears to be corrupted or its encryption scheme is not supported."
    90 rls_string STRING_r_keytool_err_openfail "Cannot open key file."
    91 rls_string STRING_r_keytool_err_emptyfile "The specified key file appears to be empty."
    92 rls_string STRING_r_keytool_err_dh "The Symbian OS keystore does not support Diffie-Hellman keys.."
    93 rls_string STRING_r_keytool_err_notsupported "Unsupported key type."
    94 rls_string STRING_r_keytool_err_pkcs8 "The specified key file does not contain a valid PKCS#8 key."
    95 rls_string STRING_r_keytool_err_importsuccess "Key imported successfully."
    96 rls_string STRING_r_keytool_err_passphrase "Wrong passphrase."
    97 rls_string STRING_r_keytool_err_weak "Your keystore does not support strong cryptography. The key provided is big."
    98 rls_string STRING_r_keytool_err_usage "The given usage is not supported by the specified key."
    99 
   100 rls_string STRING_r_keytool_err_access "Cannot access the specified key."
   101 
   102 rls_string STRING_r_keytool_err_list "Error during list!"
   103 rls_string STRING_r_keytool_err_listfail "Key Listing Failed..."
   104 
   105 rls_string STRING_r_keytool_err_deletesuccess "Key deleted successfully."
   106 rls_string STRING_r_keytool_err_rusersuccess "User removed successfully."
   107 rls_string STRING_r_keytool_err_salluserssuccess "Users set successfully."
   108 rls_string STRING_r_keytool_err_susersuccess "User set successfully."
   109 rls_string STRING_r_keytool_err_smanagersuccess "Manager set successfully."
   110 
   111 rls_string STRING_r_keytool_err_deletefail "Key deletion failed."
   112 rls_string STRING_r_keytool_err_ruserfail "Users removal failed."
   113 rls_string STRING_r_keytool_err_suserfail "User set failed."
   114 rls_string STRING_r_keytool_err_sallusersfail "AllUsers set failed."
   115 rls_string STRING_r_keytool_err_smanagerfail "Manager set failed."
   116 
   117 rls_string STRING_r_keytool_err_remove "Key to remove not specified."
   118 
   119 rls_string STRING_r_keytool_err_nousers "No users specified."
   120 rls_string STRING_r_keytool_err_nokey "No key specified."
   121 
   122 #ifdef SYMBIAN_AUTH_SERVER
   123 rls_string STRING_r_keytool_err_migrationfail "Key Migration Failed..."
   124 rls_string STRING_r_keytool_usage_oldkey_absent "Key file to be migrated not provided."
   125 rls_string STRING_r_keytool_usage_passphrase_absent "Passphrase absent."
   126 #endif // SYMBIAN_AUTH_SERVER