Use Tree Navigation
public class

Resources

extends ListResourceBundle
/*
 * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.  Oracle designates this
 * particular file as subject to the "Classpath" exception as provided
 * by Oracle in the LICENSE file that accompanied this code.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */


package sun.security.util;

/**
 * <p> This class represents the <code>ResourceBundle</code>
 * for javax.security.auth and sun.security.
 *
 */

public class Resources extends java.util.ListResourceBundle {

   
private static final Object[][] contents = {

       
// shared (from jarsigner)
       
{" ", " "},
       
{"  ", "  "},
       
{"      ", "      "},
       
{", ", ", "},
       
// shared (from keytool)
       
{"\n", "\n"},
       
{"*******************************************",
               
"*******************************************"},
       
{"*******************************************\n\n",
               
"*******************************************\n\n"},

       
// keytool
       
{"keytool error: ", "keytool error: "},
       
{"Illegal option:  ", "Illegal option:  "},
       
{"Try keytool -help","Try keytool -help"},
       
{"Command option <flag> needs an argument.", "Command option {0} needs an argument."},
       
{"Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified <command> value.",
               
"Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified {0} value."},
       
{"-keystore must be NONE if -storetype is {0}",
               
"-keystore must be NONE if -storetype is {0}"},
       
{"Too may retries, program terminated",
                 
"Too may retries, program terminated"},
       
{"-storepasswd and -keypasswd commands not supported if -storetype is {0}",
               
"-storepasswd and -keypasswd commands not supported if -storetype is {0}"},
       
{"-keypasswd commands not supported if -storetype is PKCS12",
               
"-keypasswd commands not supported if -storetype is PKCS12"},
       
{"-keypass and -new can not be specified if -storetype is {0}",
               
"-keypass and -new can not be specified if -storetype is {0}"},
       
{"if -protected is specified, then -storepass, -keypass, and -new must not be specified",
               
"if -protected is specified, then -storepass, -keypass, and -new must not be specified"},
       
{"if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified",
               
"if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified"},
       
{"if keystore is not password protected, then -storepass, -keypass, and -new must not be specified",
               
"if keystore is not password protected, then -storepass, -keypass, and -new must not be specified"},
       
{"if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified",
               
"if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified"},
       
{"Validity must be greater than zero",
               
"Validity must be greater than zero"},
       
{"provName not a provider", "{0} not a provider"},
       
{"Usage error: no command provided", "Usage error: no command provided"},
       
{"Usage error, <arg> is not a legal command", "Usage error, {0} is not a legal command"},
       
{"Source keystore file exists, but is empty: ", "Source keystore file exists, but is empty: "},
       
{"Please specify -srckeystore", "Please specify -srckeystore"},
       
{"Must not specify both -v and -rfc with 'list' command",
               
"Must not specify both -v and -rfc with 'list' command"},
       
{"Key password must be at least 6 characters",
               
"Key password must be at least 6 characters"},
       
{"New password must be at least 6 characters",
               
"New password must be at least 6 characters"},
       
{"Keystore file exists, but is empty: ",
               
"Keystore file exists, but is empty: "},
       
{"Keystore file does not exist: ",
               
"Keystore file does not exist: "},
       
{"Must specify destination alias", "Must specify destination alias"},
       
{"Must specify alias", "Must specify alias"},
       
{"Keystore password must be at least 6 characters",
               
"Keystore password must be at least 6 characters"},
       
{"Enter keystore password:  ", "Enter keystore password:  "},
       
{"Enter source keystore password:  ", "Enter source keystore password:  "},
       
{"Enter destination keystore password:  ", "Enter destination keystore password:  "},
       
{"Keystore password is too short - must be at least 6 characters",
         
"Keystore password is too short - must be at least 6 characters"},
       
{"Unknown Entry Type", "Unknown Entry Type"},
       
{"Too many failures. Alias not changed", "Too many failures. Alias not changed"},
       
{"Entry for alias <alias> successfully imported.",
                 
"Entry for alias {0} successfully imported."},
       
{"Entry for alias <alias> not imported.", "Entry for alias {0} not imported."},
       
{"Problem importing entry for alias <alias>: <exception>.\nEntry for alias <alias> not imported.",
                 
"Problem importing entry for alias {0}: {1}.\nEntry for alias {0} not imported."},
       
{"Import command completed:  <ok> entries successfully imported, <fail> entries failed or cancelled",
                 
"Import command completed:  {0} entries successfully imported, {1} entries failed or cancelled"},
       
{"Warning: Overwriting existing alias <alias> in destination keystore",
                 
"Warning: Overwriting existing alias {0} in destination keystore"},
       
{"Existing entry alias <alias> exists, overwrite? [no]:  ",
                 
"Existing entry alias {0} exists, overwrite? [no]:  "},
       
{"Too many failures - try later", "Too many failures - try later"},
       
{"Certification request stored in file <filename>",
               
"Certification request stored in file <{0}>"},
       
{"Submit this to your CA", "Submit this to your CA"},
       
{"if alias not specified, destalias, srckeypass, and destkeypass must not be specified",
           
"if alias not specified, destalias, srckeypass, and destkeypass must not be specified"},
       
{"Certificate stored in file <filename>",
               
"Certificate stored in file <{0}>"},
       
{"Certificate reply was installed in keystore",
               
"Certificate reply was installed in keystore"},
       
{"Certificate reply was not installed in keystore",
               
"Certificate reply was not installed in keystore"},
       
{"Certificate was added to keystore",
               
"Certificate was added to keystore"},
       
{"Certificate was not added to keystore",
               
"Certificate was not added to keystore"},
       
{"[Storing ksfname]", "[Storing {0}]"},
       
{"alias has no public key (certificate)",
               
"{0} has no public key (certificate)"},
       
{"Cannot derive signature algorithm",
               
"Cannot derive signature algorithm"},
       
{"Alias <alias> does not exist",
               
"Alias <{0}> does not exist"},
       
{"Alias <alias> has no certificate",
               
"Alias <{0}> has no certificate"},
       
{"Key pair not generated, alias <alias> already exists",
               
"Key pair not generated, alias <{0}> already exists"},
       
{"Cannot derive signature algorithm",
               
"Cannot derive signature algorithm"},
       
{"Generating keysize bit keyAlgName key pair and self-signed certificate (sigAlgName) with a validity of validality days\n\tfor: x500Name",
               
"Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
       
{"Enter key password for <alias>", "Enter key password for <{0}>"},
       
{"\t(RETURN if same as keystore password):  ",
               
"\t(RETURN if same as keystore password):  "},
       
{"Key password is too short - must be at least 6 characters",
               
"Key password is too short - must be at least 6 characters"},
       
{"Too many failures - key not added to keystore",
               
"Too many failures - key not added to keystore"},
       
{"Destination alias <dest> already exists",
               
"Destination alias <{0}> already exists"},
       
{"Password is too short - must be at least 6 characters",
               
"Password is too short - must be at least 6 characters"},
       
{"Too many failures. Key entry not cloned",
               
"Too many failures. Key entry not cloned"},
       
{"key password for <alias>", "key password for <{0}>"},
       
{"Keystore entry for <id.getName()> already exists",
               
"Keystore entry for <{0}> already exists"},
       
{"Creating keystore entry for <id.getName()> ...",
               
"Creating keystore entry for <{0}> ..."},
       
{"No entries from identity database added",
               
"No entries from identity database added"},
       
{"Alias name: alias", "Alias name: {0}"},
       
{"Creation date: keyStore.getCreationDate(alias)",
               
"Creation date: {0,date}"},
       
{"alias, keyStore.getCreationDate(alias), ",
               
"{0}, {1,date}, "},
       
{"alias, ", "{0}, "},
       
{"Entry type: <type>", "Entry type: {0}"},
       
{"Certificate chain length: ", "Certificate chain length: "},
       
{"Certificate[(i + 1)]:", "Certificate[{0,number,integer}]:"},
       
{"Certificate fingerprint (MD5): ", "Certificate fingerprint (MD5): "},
       
{"Entry type: trustedCertEntry\n", "Entry type: trustedCertEntry\n"},
       
{"trustedCertEntry,", "trustedCertEntry,"},
       
{"Keystore type: ", "Keystore type: "},
       
{"Keystore provider: ", "Keystore provider: "},
       
{"Your keystore contains keyStore.size() entry",
               
"Your keystore contains {0,number,integer} entry"},
       
{"Your keystore contains keyStore.size() entries",
               
"Your keystore contains {0,number,integer} entries"},
       
{"Failed to parse input", "Failed to parse input"},
       
{"Empty input", "Empty input"},
       
{"Not X.509 certificate", "Not X.509 certificate"},
       
{"Cannot derive signature algorithm",
               
"Cannot derive signature algorithm"},
       
{"alias has no public key", "{0} has no public key"},
       
{"alias has no X.509 certificate", "{0} has no X.509 certificate"},
       
{"New certificate (self-signed):", "New certificate (self-signed):"},
       
{"Reply has no certificates", "Reply has no certificates"},
       
{"Certificate not imported, alias <alias> already exists",
               
"Certificate not imported, alias <{0}> already exists"},
       
{"Input not an X.509 certificate", "Input not an X.509 certificate"},
       
{"Certificate already exists in keystore under alias <trustalias>",
               
"Certificate already exists in keystore under alias <{0}>"},
       
{"Do you still want to add it? [no]:  ",
               
"Do you still want to add it? [no]:  "},
       
{"Certificate already exists in system-wide CA keystore under alias <trustalias>",
               
"Certificate already exists in system-wide CA keystore under alias <{0}>"},
       
{"Do you still want to add it to your own keystore? [no]:  ",
               
"Do you still want to add it to your own keystore? [no]:  "},
       
{"Trust this certificate? [no]:  ", "Trust this certificate? [no]:  "},
       
{"YES", "YES"},
       
{"New prompt: ", "New {0}: "},
       
{"Passwords must differ", "Passwords must differ"},
       
{"Re-enter new prompt: ", "Re-enter new {0}: "},
       
{"Re-enter new password: ", "Re-enter new password: "},
       
{"They don't match. Try again", "They don't match. Try again"},
       
{"Enter prompt alias name:  ", "Enter {0} alias name:  "},
       
{"Enter new alias name\t(RETURN to cancel import for this entry):  ",
                 
"Enter new alias name\t(RETURN to cancel import for this entry):  "},
       
{"Enter alias name:  ", "Enter alias name:  "},
       
{"\t(RETURN if same as for <otherAlias>)",
               
"\t(RETURN if same as for <{0}>)"},
       
{"*PATTERN* printX509Cert",
               
"Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t MD5:  {5}\n\t SHA1: {6}\n\t Signature algorithm name: {7}\n\t Version: {8}"},
       
{"What is your first and last name?",
               
"What is your first and last name?"},
       
{"What is the name of your organizational unit?",
               
"What is the name of your organizational unit?"},
       
{"What is the name of your organization?",
               
"What is the name of your organization?"},
       
{"What is the name of your City or Locality?",
               
"What is the name of your City or Locality?"},
       
{"What is the name of your State or Province?",
               
"What is the name of your State or Province?"},
       
{"What is the two-letter country code for this unit?",
               
"What is the two-letter country code for this unit?"},
       
{"Is <name> correct?", "Is {0} correct?"},
       
{"no", "no"},
       
{"yes", "yes"},
       
{"y", "y"},
       
{"  [defaultValue]:  ", "  [{0}]:  "},
       
{"Alias <alias> has no key",
               
"Alias <{0}> has no key"},
       
{"Alias <alias> references an entry type that is not a private key entry.  The -keyclone command only supports cloning of private key entries",
                 
"Alias <{0}> references an entry type that is not a private key entry.  The -keyclone command only supports cloning of private key entries"},

       
{"*****************  WARNING WARNING WARNING  *****************",
           
"*****************  WARNING WARNING WARNING  *****************"},

       
// Translators of the following 5 pairs, ATTENTION:
       
// the next 5 string pairs are meant to be combined into 2 paragraphs,
       
// 1+3+4 and 2+3+5. make sure your translation also does.
       
{"* The integrity of the information stored in your keystore  *",
           
"* The integrity of the information stored in your keystore  *"},
       
{"* The integrity of the information stored in the srckeystore*",
           
"* The integrity of the information stored in the srckeystore*"},
       
{"* has NOT been verified!  In order to verify its integrity, *",
           
"* has NOT been verified!  In order to verify its integrity, *"},
       
{"* you must provide your keystore password.                  *",
           
"* you must provide your keystore password.                  *"},
       
{"* you must provide the srckeystore password.                *",
           
"* you must provide the srckeystore password.                *"},


       
{"Certificate reply does not contain public key for <alias>",
               
"Certificate reply does not contain public key for <{0}>"},
       
{"Incomplete certificate chain in reply",
               
"Incomplete certificate chain in reply"},
       
{"Certificate chain in reply does not verify: ",
               
"Certificate chain in reply does not verify: "},
       
{"Top-level certificate in reply:\n",
               
"Top-level certificate in reply:\n"},
       
{"... is not trusted. ", "... is not trusted. "},
       
{"Install reply anyway? [no]:  ", "Install reply anyway? [no]:  "},
       
{"NO", "NO"},
       
{"Public keys in reply and keystore don't match",
               
"Public keys in reply and keystore don't match"},
       
{"Certificate reply and certificate in keystore are identical",
               
"Certificate reply and certificate in keystore are identical"},
       
{"Failed to establish chain from reply",
               
"Failed to establish chain from reply"},
       
{"n", "n"},
       
{"Wrong answer, try again", "Wrong answer, try again"},
       
{"Secret key not generated, alias <alias> already exists",
               
"Secret Key not generated, alias <{0}> already exists"},
       
{"Please provide -keysize for secret key generation",
               
"Please provide -keysize for secret key generation"},
       
{"keytool usage:\n", "keytool usage:\n"},

       
{"Extensions: ", "Extensions: "},

       
{"-certreq     [-v] [-protected]",
               
"-certreq     [-v] [-protected]"},
       
{"\t     [-alias <alias>] [-sigalg <sigalg>]",
               
"\t     [-alias <alias>] [-sigalg <sigalg>]"},
       
{"\t     [-file <csr_file>] [-keypass <keypass>]",
               
"\t     [-file <csr_file>] [-keypass <keypass>]"},
       
{"\t     [-keystore <keystore>] [-storepass <storepass>]",
               
"\t     [-keystore <keystore>] [-storepass <storepass>]"},
       
{"\t     [-storetype <storetype>] [-providername <name>]",
               
"\t     [-storetype <storetype>] [-providername <name>]"},
       
{"\t     [-providerclass <provider_class_name> [-providerarg <arg>]] ...",
               
"\t     [-providerclass <provider_class_name> [-providerarg <arg>]] ..."},
       
{"\t     [-providerpath <pathlist>]",
               
"\t     [-providerpath <pathlist>]"},
       
{"-delete      [-v] [-protected] -alias <alias>",
               
"-delete      [-v] [-protected] -alias <alias>"},
       
/** rest is same as -certreq starting from -keystore **/

       
//{"-export      [-v] [-rfc] [-protected]",
       
//       "-export      [-v] [-rfc] [-protected]"},
       
{"-exportcert  [-v] [-rfc] [-protected]",
               
"-exportcert  [-v] [-rfc] [-protected]"},
       
{"\t     [-alias <alias>] [-file <cert_file>]",
               
"\t     [-alias <alias>] [-file <cert_file>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
//{"-genkey      [-v] [-protected]",
       
//        "-genkey      [-v] [-protected]"},
       
{"-genkeypair  [-v] [-protected]",
               
"-genkeypair  [-v] [-protected]"},
       
{"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
       
{"\t     [-keyalg <keyalg>] [-keysize <keysize>]",
               
"\t     [-keyalg <keyalg>] [-keysize <keysize>]"},
       
{"\t     [-sigalg <sigalg>] [-dname <dname>]",
               
"\t     [-sigalg <sigalg>] [-dname <dname>]"},
       
{"\t     [-validity <valDays>] [-keypass <keypass>]",
               
"\t     [-validity <valDays>] [-keypass <keypass>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-genseckey   [-v] [-protected]",
               
"-genseckey   [-v] [-protected]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-help", "-help"},
       
//{"-identitydb  [-v] [-protected]",
       
//      "-identitydb  [-v] [-protected]"},
       
//{"\t     [-file <idb_file>]", "\t     [-file <idb_file>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
//{"-import      [-v] [-noprompt] [-trustcacerts] [-protected]",
       
//       "-import      [-v] [-noprompt] [-trustcacerts] [-protected]"},
       
{"-importcert  [-v] [-noprompt] [-trustcacerts] [-protected]",
               
"-importcert  [-v] [-noprompt] [-trustcacerts] [-protected]"},
       
{"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
       
{"\t     [-alias <alias>] [-keypass <keypass>]",
           
"\t     [-alias <alias>] [-keypass <keypass>]"},
       
{"\t     [-file <cert_file>] [-keypass <keypass>]",
               
"\t     [-file <cert_file>] [-keypass <keypass>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-importkeystore [-v] ",
               
"-importkeystore [-v] "},
       
{"\t     [-srckeystore <srckeystore>] [-destkeystore <destkeystore>]",
               
"\t     [-srckeystore <srckeystore>] [-destkeystore <destkeystore>]"},
       
{"\t     [-srcstoretype <srcstoretype>] [-deststoretype <deststoretype>]",
               
"\t     [-srcstoretype <srcstoretype>] [-deststoretype <deststoretype>]"},
       
{"\t     [-srcprotected] [-destprotected]",
               
"\t     [-srcprotected] [-destprotected]"},
       
{"\t     [-srcstorepass <srcstorepass>] [-deststorepass <deststorepass>]",
               
"\t     [-srcstorepass <srcstorepass>] [-deststorepass <deststorepass>]"},
       
{"\t     [-srcprovidername <srcprovidername>]\n\t     [-destprovidername <destprovidername>]",  // line too long, split to 2
                 
"\t     [-srcprovidername <srcprovidername>]\n\t     [-destprovidername <destprovidername>]"},
       
{"\t     [-srcalias <srcalias> [-destalias <destalias>]",
               
"\t     [-srcalias <srcalias> [-destalias <destalias>]"},
       
{"\t       [-srckeypass <srckeypass>] [-destkeypass <destkeypass>]]",
               
"\t       [-srckeypass <srckeypass>] [-destkeypass <destkeypass>]]"},
       
{"\t     [-noprompt]", "\t     [-noprompt]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-changealias [-v] [-protected] -alias <alias> -destalias <destalias>",
               
"-changealias [-v] [-protected] -alias <alias> -destalias <destalias>"},
       
{"\t     [-keypass <keypass>]", "\t     [-keypass <keypass>]"},

       
//{"-keyclone    [-v] [-protected]",
       
//      "-keyclone    [-v] [-protected]"},
       
//{"\t     [-alias <alias>] -dest <dest_alias>",
       
//      "\t     [-alias <alias>] -dest <dest_alias>"},
       
//{"\t     [-keypass <keypass>] [-new <new_keypass>]",
       
//      "\t     [-keypass <keypass>] [-new <new_keypass>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-keypasswd   [-v] [-alias <alias>]",
               
"-keypasswd   [-v] [-alias <alias>]"},
       
{"\t     [-keypass <old_keypass>] [-new <new_keypass>]",
               
"\t     [-keypass <old_keypass>] [-new <new_keypass>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-list        [-v | -rfc] [-protected]",
               
"-list        [-v | -rfc] [-protected]"},
       
{"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-printcert   [-v] [-file <cert_file>]",
               
"-printcert   [-v] [-file <cert_file>]"},

       
//{"-selfcert    [-v] [-protected]",
       
//      "-selfcert    [-v] [-protected]"},
       
{"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
       
//{"\t     [-dname <dname>] [-validity <valDays>]",
       
//      "\t     [-dname <dname>] [-validity <valDays>]"},
       
//{"\t     [-keypass <keypass>] [-sigalg <sigalg>]",
       
//      "\t     [-keypass <keypass>] [-sigalg <sigalg>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
{"-storepasswd [-v] [-new <new_storepass>]",
               
"-storepasswd [-v] [-new <new_storepass>]"},
       
/** rest is same as -certreq starting from -keystore **/

       
// policytool
       
{"Warning: A public key for alias 'signers[i]' does not exist.  Make sure a KeyStore is properly configured.",
               
"Warning: A public key for alias {0} does not exist.  Make sure a KeyStore is properly configured."},
       
{"Warning: Class not found: class", "Warning: Class not found: {0}"},
       
{"Warning: Invalid argument(s) for constructor: arg",
               
"Warning: Invalid argument(s) for constructor: {0}"},
       
{"Illegal Principal Type: type", "Illegal Principal Type: {0}"},
       
{"Illegal option: option", "Illegal option: {0}"},
       
{"Usage: policytool [options]", "Usage: policytool [options]"},
       
{"  [-file <file>]    policy file location",
               
"  [-file <file>]    policy file location"},
       
{"New", "New"},
       
{"Open", "Open"},
       
{"Save", "Save"},
       
{"Save As", "Save As"},
       
{"View Warning Log", "View Warning Log"},
       
{"Exit", "Exit"},
       
{"Add Policy Entry", "Add Policy Entry"},
       
{"Edit Policy Entry", "Edit Policy Entry"},
       
{"Remove Policy Entry", "Remove Policy Entry"},
       
{"Edit", "Edit"},
       
{"Retain", "Retain"},

       
{"Warning: File name may include escaped backslash characters. " +
                       
"It is not necessary to escape backslash characters " +
                       
"(the tool escapes characters as necessary when writing " +
                       
"the policy contents to the persistent store).\n\n" +
                       
"Click on Retain to retain the entered name, or click on " +
                       
"Edit to edit the name.",
           
"Warning: File name may include escaped backslash characters. " +
                       
"It is not necessary to escape backslash characters " +
                       
"(the tool escapes characters as necessary when writing " +
                       
"the policy contents to the persistent store).\n\n" +
                       
"Click on Retain to retain the entered name, or click on " +
                       
"Edit to edit the name."},

       
{"Add Public Key Alias", "Add Public Key Alias"},
       
{"Remove Public Key Alias", "Remove Public Key Alias"},
       
{"File", "File"},
       
{"KeyStore", "KeyStore"},
       
{"Policy File:", "Policy File:"},
       
{"Could not open policy file: policyFile: e.toString()",
               
"Could not open policy file: {0}: {1}"},
       
{"Policy Tool", "Policy Tool"},
       
{"Errors have occurred while opening the policy configuration.  View the Warning Log for more information.",
               
"Errors have occurred while opening the policy configuration.  View the Warning Log for more information."},
       
{"Error", "Error"},
       
{"OK", "OK"},
       
{"Status", "Status"},
       
{"Warning", "Warning"},
       
{"Permission:                                                       ",
               
"Permission:                                                       "},
       
{"Principal Type:", "Principal Type:"},
       
{"Principal Name:", "Principal Name:"},
       
{"Target Name:                                                    ",
               
"Target Name:                                                    "},
       
{"Actions:                                                             ",
               
"Actions:                                                             "},
       
{"OK to overwrite existing file filename?",
               
"OK to overwrite existing file {0}?"},
       
{"Cancel", "Cancel"},
       
{"CodeBase:", "CodeBase:"},
       
{"SignedBy:", "SignedBy:"},
       
{"Add Principal", "Add Principal"},
       
{"Edit Principal", "Edit Principal"},
       
{"Remove Principal", "Remove Principal"},
       
{"Principals:", "Principals:"},
       
{"  Add Permission", "  Add Permission"},
       
{"  Edit Permission", "  Edit Permission"},
       
{"Remove Permission", "Remove Permission"},
       
{"Done", "Done"},
       
{"KeyStore URL:", "KeyStore URL:"},
       
{"KeyStore Type:", "KeyStore Type:"},
       
{"KeyStore Provider:", "KeyStore Provider:"},
       
{"KeyStore Password URL:", "KeyStore Password URL:"},
       
{"Principals", "Principals"},
       
{"  Edit Principal:", "  Edit Principal:"},
       
{"  Add New Principal:", "  Add New Principal:"},
       
{"Permissions", "Permissions"},
       
{"  Edit Permission:", "  Edit Permission:"},
       
{"  Add New Permission:", "  Add New Permission:"},
       
{"Signed By:", "Signed By:"},
       
{"Cannot Specify Principal with a Wildcard Class without a Wildcard Name",
           
"Cannot Specify Principal with a Wildcard Class without a Wildcard Name"},
       
{"Cannot Specify Principal without a Name",
           
"Cannot Specify Principal without a Name"},
       
{"Permission and Target Name must have a value",
               
"Permission and Target Name must have a value"},
       
{"Remove this Policy Entry?", "Remove this Policy Entry?"},
       
{"Overwrite File", "Overwrite File"},
       
{"Policy successfully written to filename",
               
"Policy successfully written to {0}"},
       
{"null filename", "null filename"},
       
{"Save changes?", "Save changes?"},
       
{"Yes", "Yes"},
       
{"No", "No"},
       
{"Policy Entry", "Policy Entry"},
       
{"Save Changes", "Save Changes"},
       
{"No Policy Entry selected", "No Policy Entry selected"},
       
{"Unable to open KeyStore: ex.toString()",
               
"Unable to open KeyStore: {0}"},
       
{"No principal selected", "No principal selected"},
       
{"No permission selected", "No permission selected"},
       
{"name", "name"},
       
{"configuration type", "configuration type"},
       
{"environment variable name", "environment variable name"},
       
{"library name", "library name"},
       
{"package name", "package name"},
       
{"policy type", "policy type"},
       
{"property name", "property name"},
       
{"provider name", "provider name"},
       
{"Principal List", "Principal List"},
       
{"Permission List", "Permission List"},
       
{"Code Base", "Code Base"},
       
{"KeyStore U R L:", "KeyStore U R L:"},
       
{"KeyStore Password U R L:", "KeyStore Password U R L:"},


       
// javax.security.auth.PrivateCredentialPermission
       
{"invalid null input(s)", "invalid null input(s)"},
       
{"actions can only be 'read'", "actions can only be 'read'"},
       
{"permission name [name] syntax invalid: ",
               
"permission name [{0}] syntax invalid: "},
       
{"Credential Class not followed by a Principal Class and Name",
               
"Credential Class not followed by a Principal Class and Name"},
       
{"Principal Class not followed by a Principal Name",
               
"Principal Class not followed by a Principal Name"},
       
{"Principal Name must be surrounded by quotes",
               
"Principal Name must be surrounded by quotes"},
       
{"Principal Name missing end quote",
               
"Principal Name missing end quote"},
       
{"PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value",
               
"PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value"},
       
{"CredOwner:\n\tPrincipal Class = class\n\tPrincipal Name = name",
               
"CredOwner:\n\tPrincipal Class = {0}\n\tPrincipal Name = {1}"},

       
// javax.security.auth.x500
       
{"provided null name", "provided null name"},
       
{"provided null keyword map", "provided null keyword map"},
       
{"provided null OID map", "provided null OID map"},

       
// javax.security.auth.Subject
       
{"invalid null AccessControlContext provided",
               
"invalid null AccessControlContext provided"},
       
{"invalid null action provided", "invalid null action provided"},
       
{"invalid null Class provided", "invalid null Class provided"},
       
{"Subject:\n", "Subject:\n"},
       
{"\tPrincipal: ", "\tPrincipal: "},
       
{"\tPublic Credential: ", "\tPublic Credential: "},
       
{"\tPrivate Credentials inaccessible\n",
               
"\tPrivate Credentials inaccessible\n"},
       
{"\tPrivate Credential: ", "\tPrivate Credential: "},
       
{"\tPrivate Credential inaccessible\n",
               
"\tPrivate Credential inaccessible\n"},
       
{"Subject is read-only", "Subject is read-only"},
       
{"attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set",
               
"attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set"},
       
{"attempting to add an object which is not an instance of class",
               
"attempting to add an object which is not an instance of {0}"},

       
// javax.security.auth.login.AppConfigurationEntry
       
{"LoginModuleControlFlag: ", "LoginModuleControlFlag: "},

       
// javax.security.auth.login.LoginContext
       
{"Invalid null input: name", "Invalid null input: name"},
       
{"No LoginModules configured for name",
         
"No LoginModules configured for {0}"},
       
{"invalid null Subject provided", "invalid null Subject provided"},
       
{"invalid null CallbackHandler provided",
               
"invalid null CallbackHandler provided"},
       
{"null subject - logout called before login",
               
"null subject - logout called before login"},
       
{"unable to instantiate LoginModule, module, because it does not provide a no-argument constructor",
               
"unable to instantiate LoginModule, {0}, because it does not provide a no-argument constructor"},
       
{"unable to instantiate LoginModule",
               
"unable to instantiate LoginModule"},
       
{"unable to instantiate LoginModule: ",
               
"unable to instantiate LoginModule: "},
       
{"unable to find LoginModule class: ",
               
"unable to find LoginModule class: "},
       
{"unable to access LoginModule: ",
               
"unable to access LoginModule: "},
       
{"Login Failure: all modules ignored",
               
"Login Failure: all modules ignored"},

       
// sun.security.provider.PolicyFile

       
{"java.security.policy: error parsing policy:\n\tmessage",
               
"java.security.policy: error parsing {0}:\n\t{1}"},
       
{"java.security.policy: error adding Permission, perm:\n\tmessage",
               
"java.security.policy: error adding Permission, {0}:\n\t{1}"},
       
{"java.security.policy: error adding Entry:\n\tmessage",
               
"java.security.policy: error adding Entry:\n\t{0}"},
       
{"alias name not provided (pe.name)", "alias name not provided ({0})"},
       
{"unable to perform substitution on alias, suffix",
               
"unable to perform substitution on alias, {0}"},
       
{"substitution value, prefix, unsupported",
               
"substitution value, {0}, unsupported"},
       
{"(", "("},
       
{")", ")"},
       
{"type can't be null","type can't be null"},

       
// sun.security.provider.PolicyParser
       
{"keystorePasswordURL can not be specified without also specifying keystore",
               
"keystorePasswordURL can not be specified without also specifying keystore"},
       
{"expected keystore type", "expected keystore type"},
       
{"expected keystore provider", "expected keystore provider"},
       
{"multiple Codebase expressions",
               
"multiple Codebase expressions"},
       
{"multiple SignedBy expressions","multiple SignedBy expressions"},
       
{"SignedBy has empty alias","SignedBy has empty alias"},
       
{"can not specify Principal with a wildcard class without a wildcard name",
               
"can not specify Principal with a wildcard class without a wildcard name"},
       
{"expected codeBase or SignedBy or Principal",
               
"expected codeBase or SignedBy or Principal"},
       
{"expected permission entry", "expected permission entry"},
       
{"number ", "number "},
       
{"expected [expect], read [end of file]",
               
"expected [{0}], read [end of file]"},
       
{"expected [;], read [end of file]",
               
"expected [;], read [end of file]"},
       
{"line number: msg", "line {0}: {1}"},
       
{"line number: expected [expect], found [actual]",
               
"line {0}: expected [{1}], found [{2}]"},
       
{"null principalClass or principalName",
               
"null principalClass or principalName"},

       
// sun.security.pkcs11.SunPKCS11
       
{"PKCS11 Token [providerName] Password: ",
               
"PKCS11 Token [{0}] Password: "},

       
/* --- DEPRECATED --- */
       
// javax.security.auth.Policy
       
{"unable to instantiate Subject-based policy",
               
"unable to instantiate Subject-based policy"}
   
};


   
/**
     * Returns the contents of this <code>ResourceBundle</code>.
     *
     * <p>
     *
     * @return the contents of this <code>ResourceBundle</code>.
     */

   
public Object[][] getContents() {
       
return contents;
   
}
}