jdk/src/share/classes/sun/security/util/Resources.java
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 904 eadc9fa4b700
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
 * Copyright 2000-2005 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 * have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package sun.security.util;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * <p> This class represents the <code>ResourceBundle</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * for javax.security.auth and sun.security.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
public class Resources extends java.util.ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    private static final Object[][] contents = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
        // shared (from jarsigner)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
        {" ", " "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
        {"  ", "  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
        {"      ", "      "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
        {", ", ", "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
        // shared (from keytool)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
        {"\n", "\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
        {"*******************************************",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
                "*******************************************"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
        {"*******************************************\n\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
                "*******************************************\n\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
        // keytool
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
        {"keytool error: ", "keytool error: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
        {"Illegal option:  ", "Illegal option:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
        {"Try keytool -help","Try keytool -help"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        {"Command option <flag> needs an argument.", "Command option {0} needs an argument."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        {"Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified <command> value.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                "Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified {0} value."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        {"-keystore must be NONE if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
                "-keystore must be NONE if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        {"Too may retries, program terminated",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
                 "Too may retries, program terminated"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
        {"-storepasswd and -keypasswd commands not supported if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                "-storepasswd and -keypasswd commands not supported if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
        {"-keypasswd commands not supported if -storetype is PKCS12",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
                "-keypasswd commands not supported if -storetype is PKCS12"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
        {"-keypass and -new can not be specified if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                "-keypass and -new can not be specified if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
        {"if -protected is specified, then -storepass, -keypass, and -new must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
                "if -protected is specified, then -storepass, -keypass, and -new must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
        {"if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
                "if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
        {"if keystore is not password protected, then -storepass, -keypass, and -new must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                "if keystore is not password protected, then -storepass, -keypass, and -new must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
        {"if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
                "if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
        {"Illegal startdate value", "Illegal startdate value"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        {"Validity must be greater than zero",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
                "Validity must be greater than zero"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
        {"provName not a provider", "{0} not a provider"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        {"Usage error: no command provided", "Usage error: no command provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        {"Usage error, <arg> is not a legal command", "Usage error, {0} is not a legal command"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        {"Source keystore file exists, but is empty: ", "Source keystore file exists, but is empty: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        {"Please specify -srckeystore", "Please specify -srckeystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        {"Must not specify both -v and -rfc with 'list' command",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
                "Must not specify both -v and -rfc with 'list' command"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        {"Key password must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
                "Key password must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        {"New password must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                "New password must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        {"Keystore file exists, but is empty: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
                "Keystore file exists, but is empty: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
        {"Keystore file does not exist: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
                "Keystore file does not exist: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
        {"Must specify destination alias", "Must specify destination alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        {"Must specify alias", "Must specify alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
        {"Keystore password must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                "Keystore password must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
        {"Enter keystore password:  ", "Enter keystore password:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        {"Enter source keystore password:  ", "Enter source keystore password:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
        {"Enter destination keystore password:  ", "Enter destination keystore password:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
        {"Keystore password is too short - must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
         "Keystore password is too short - must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        {"Unknown Entry Type", "Unknown Entry Type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        {"Too many failures. Alias not changed", "Too many failures. Alias not changed"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        {"Entry for alias <alias> successfully imported.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                 "Entry for alias {0} successfully imported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        {"Entry for alias <alias> not imported.", "Entry for alias {0} not imported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
        {"Problem importing entry for alias <alias>: <exception>.\nEntry for alias <alias> not imported.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
                 "Problem importing entry for alias {0}: {1}.\nEntry for alias {0} not imported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        {"Import command completed:  <ok> entries successfully imported, <fail> entries failed or cancelled",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
                 "Import command completed:  {0} entries successfully imported, {1} entries failed or cancelled"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
        {"Warning: Overwriting existing alias <alias> in destination keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
                 "Warning: Overwriting existing alias {0} in destination keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        {"Existing entry alias <alias> exists, overwrite? [no]:  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
                 "Existing entry alias {0} exists, overwrite? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        {"Too many failures - try later", "Too many failures - try later"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        {"Certification request stored in file <filename>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
                "Certification request stored in file <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
        {"Submit this to your CA", "Submit this to your CA"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
        {"if alias not specified, destalias, srckeypass, and destkeypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
            "if alias not specified, destalias, srckeypass, and destkeypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        {"Certificate stored in file <filename>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
                "Certificate stored in file <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        {"Certificate reply was installed in keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
                "Certificate reply was installed in keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
        {"Certificate reply was not installed in keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
                "Certificate reply was not installed in keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
        {"Certificate was added to keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
                "Certificate was added to keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        {"Certificate was not added to keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
                "Certificate was not added to keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
        {"[Storing ksfname]", "[Storing {0}]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
        {"alias has no public key (certificate)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                "{0} has no public key (certificate)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
        {"Cannot derive signature algorithm",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
                "Cannot derive signature algorithm"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        {"Alias <alias> does not exist",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
                "Alias <{0}> does not exist"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        {"Alias <alias> has no certificate",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
                "Alias <{0}> has no certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        {"Key pair not generated, alias <alias> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
                "Key pair not generated, alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
        {"Cannot derive signature algorithm",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
                "Cannot derive signature algorithm"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
        {"Generating keysize bit keyAlgName key pair and self-signed certificate (sigAlgName) with a validity of validality days\n\tfor: x500Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
                "Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
        {"Enter key password for <alias>", "Enter key password for <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
        {"\t(RETURN if same as keystore password):  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
                "\t(RETURN if same as keystore password):  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
        {"Key password is too short - must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
                "Key password is too short - must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
        {"Too many failures - key not added to keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
                "Too many failures - key not added to keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
        {"Destination alias <dest> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
                "Destination alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
        {"Password is too short - must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
                "Password is too short - must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
        {"Too many failures. Key entry not cloned",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
                "Too many failures. Key entry not cloned"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
        {"key password for <alias>", "key password for <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
        {"Keystore entry for <id.getName()> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
                "Keystore entry for <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
        {"Creating keystore entry for <id.getName()> ...",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
                "Creating keystore entry for <{0}> ..."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
        {"No entries from identity database added",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                "No entries from identity database added"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
        {"Alias name: alias", "Alias name: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
        {"Creation date: keyStore.getCreationDate(alias)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
                "Creation date: {0,date}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        {"alias, keyStore.getCreationDate(alias), ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
                "{0}, {1,date}, "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
        {"alias, ", "{0}, "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        {"Entry type: <type>", "Entry type: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
        {"Certificate chain length: ", "Certificate chain length: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
        {"Certificate[(i + 1)]:", "Certificate[{0,number,integer}]:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
        {"Certificate fingerprint (MD5): ", "Certificate fingerprint (MD5): "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
        {"Entry type: trustedCertEntry\n", "Entry type: trustedCertEntry\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
        {"trustedCertEntry,", "trustedCertEntry,"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
        {"Keystore type: ", "Keystore type: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
        {"Keystore provider: ", "Keystore provider: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
        {"Your keystore contains keyStore.size() entry",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
                "Your keystore contains {0,number,integer} entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        {"Your keystore contains keyStore.size() entries",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
                "Your keystore contains {0,number,integer} entries"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        {"Failed to parse input", "Failed to parse input"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
        {"Empty input", "Empty input"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        {"Not X.509 certificate", "Not X.509 certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
        {"Cannot derive signature algorithm",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
                "Cannot derive signature algorithm"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        {"alias has no public key", "{0} has no public key"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
        {"alias has no X.509 certificate", "{0} has no X.509 certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
        {"New certificate (self-signed):", "New certificate (self-signed):"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
        {"Reply has no certificates", "Reply has no certificates"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
        {"Certificate not imported, alias <alias> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
                "Certificate not imported, alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
        {"Input not an X.509 certificate", "Input not an X.509 certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
        {"Certificate already exists in keystore under alias <trustalias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
                "Certificate already exists in keystore under alias <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        {"Do you still want to add it? [no]:  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
                "Do you still want to add it? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
        {"Certificate already exists in system-wide CA keystore under alias <trustalias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
                "Certificate already exists in system-wide CA keystore under alias <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
        {"Do you still want to add it to your own keystore? [no]:  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
                "Do you still want to add it to your own keystore? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
        {"Trust this certificate? [no]:  ", "Trust this certificate? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
        {"YES", "YES"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        {"New prompt: ", "New {0}: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        {"Passwords must differ", "Passwords must differ"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        {"Re-enter new prompt: ", "Re-enter new {0}: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
        {"Re-enter new password: ", "Re-enter new password: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
        {"They don't match. Try again", "They don't match. Try again"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        {"Enter prompt alias name:  ", "Enter {0} alias name:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
        {"Enter new alias name\t(RETURN to cancel import for this entry):  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
                 "Enter new alias name\t(RETURN to cancel import for this entry):  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
        {"Enter alias name:  ", "Enter alias name:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
        {"\t(RETURN if same as for <otherAlias>)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
                "\t(RETURN if same as for <{0}>)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
        {"*PATTERN* printX509Cert",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
                "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}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
        {"What is your first and last name?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
                "What is your first and last name?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        {"What is the name of your organizational unit?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
                "What is the name of your organizational unit?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
        {"What is the name of your organization?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
                "What is the name of your organization?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        {"What is the name of your City or Locality?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
                "What is the name of your City or Locality?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
        {"What is the name of your State or Province?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
                "What is the name of your State or Province?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
        {"What is the two-letter country code for this unit?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
                "What is the two-letter country code for this unit?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
        {"Is <name> correct?", "Is {0} correct?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
        {"no", "no"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
        {"yes", "yes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
        {"y", "y"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
        {"  [defaultValue]:  ", "  [{0}]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
        {"Alias <alias> has no key",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
                "Alias <{0}> has no key"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
        {"Alias <alias> references an entry type that is not a private key entry.  The -keyclone command only supports cloning of private key entries",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
                 "Alias <{0}> references an entry type that is not a private key entry.  The -keyclone command only supports cloning of private key entries"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
        {"*****************  WARNING WARNING WARNING  *****************",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
            "*****************  WARNING WARNING WARNING  *****************"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
        // Translators of the following 5 pairs, ATTENTION:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
        // the next 5 string pairs are meant to be combined into 2 paragraphs,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
        // 1+3+4 and 2+3+5. make sure your translation also does.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
        {"* The integrity of the information stored in your keystore  *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
            "* The integrity of the information stored in your keystore  *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
        {"* The integrity of the information stored in the srckeystore*",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
            "* The integrity of the information stored in the srckeystore*"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
        {"* has NOT been verified!  In order to verify its integrity, *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
            "* has NOT been verified!  In order to verify its integrity, *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
        {"* you must provide your keystore password.                  *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
            "* you must provide your keystore password.                  *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
        {"* you must provide the srckeystore password.                *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
            "* you must provide the srckeystore password.                *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
        {"Certificate reply does not contain public key for <alias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
                "Certificate reply does not contain public key for <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
        {"Incomplete certificate chain in reply",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
                "Incomplete certificate chain in reply"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
        {"Certificate chain in reply does not verify: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
                "Certificate chain in reply does not verify: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
        {"Top-level certificate in reply:\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
                "Top-level certificate in reply:\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
        {"... is not trusted. ", "... is not trusted. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
        {"Install reply anyway? [no]:  ", "Install reply anyway? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
        {"NO", "NO"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
        {"Public keys in reply and keystore don't match",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
                "Public keys in reply and keystore don't match"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
        {"Certificate reply and certificate in keystore are identical",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
                "Certificate reply and certificate in keystore are identical"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
        {"Failed to establish chain from reply",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
                "Failed to establish chain from reply"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
        {"n", "n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   276
        {"Wrong answer, try again", "Wrong answer, try again"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   277
        {"Secret key not generated, alias <alias> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
                "Secret Key not generated, alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
        {"Please provide -keysize for secret key generation",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
                "Please provide -keysize for secret key generation"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
        {"keytool usage:\n", "keytool usage:\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
        {"Extensions: ", "Extensions: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
        {"-certreq     [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
                "-certreq     [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
        {"\t     [-alias <alias>] [-sigalg <sigalg>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
                "\t     [-alias <alias>] [-sigalg <sigalg>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
        {"\t     [-file <csr_file>] [-keypass <keypass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
                "\t     [-file <csr_file>] [-keypass <keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
        {"\t     [-keystore <keystore>] [-storepass <storepass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
                "\t     [-keystore <keystore>] [-storepass <storepass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
        {"\t     [-storetype <storetype>] [-providername <name>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
                "\t     [-storetype <storetype>] [-providername <name>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
        {"\t     [-providerclass <provider_class_name> [-providerarg <arg>]] ...",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
                "\t     [-providerclass <provider_class_name> [-providerarg <arg>]] ..."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
        {"\t     [-providerpath <pathlist>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
                "\t     [-providerpath <pathlist>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
        {"-delete      [-v] [-protected] -alias <alias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
                "-delete      [-v] [-protected] -alias <alias>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
        //{"-export      [-v] [-rfc] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
        //       "-export      [-v] [-rfc] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
        {"-exportcert  [-v] [-rfc] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   306
                "-exportcert  [-v] [-rfc] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
        {"\t     [-alias <alias>] [-file <cert_file>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
                "\t     [-alias <alias>] [-file <cert_file>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
        //{"-genkey      [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
        //        "-genkey      [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
        {"-genkeypair  [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
                "-genkeypair  [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
        {"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
        {"\t     [-keyalg <keyalg>] [-keysize <keysize>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
                "\t     [-keyalg <keyalg>] [-keysize <keysize>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
        {"\t     [-sigalg <sigalg>] [-dname <dname>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
                "\t     [-sigalg <sigalg>] [-dname <dname>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
        {"\t     [-startdate <startdate>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
                "\t     [-startdate <startdate>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
        {"\t     [-validity <valDays>] [-keypass <keypass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
                "\t     [-validity <valDays>] [-keypass <keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
        {"-genseckey   [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
                "-genseckey   [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
        {"-help", "-help"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
        //{"-identitydb  [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
        //      "-identitydb  [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
        //{"\t     [-file <idb_file>]", "\t     [-file <idb_file>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
        //{"-import      [-v] [-noprompt] [-trustcacerts] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
        //       "-import      [-v] [-noprompt] [-trustcacerts] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
        {"-importcert  [-v] [-noprompt] [-trustcacerts] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
                "-importcert  [-v] [-noprompt] [-trustcacerts] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
        {"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
        {"\t     [-alias <alias>] [-keypass <keypass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
            "\t     [-alias <alias>] [-keypass <keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
        {"\t     [-file <cert_file>] [-keypass <keypass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
                "\t     [-file <cert_file>] [-keypass <keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
90ce3da70b43 Initial load
duke
parents:
diff changeset
   347
        {"-importkeystore [-v] ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
                "-importkeystore [-v] "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
        {"\t     [-srckeystore <srckeystore>] [-destkeystore <destkeystore>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
                "\t     [-srckeystore <srckeystore>] [-destkeystore <destkeystore>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
        {"\t     [-srcstoretype <srcstoretype>] [-deststoretype <deststoretype>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
                "\t     [-srcstoretype <srcstoretype>] [-deststoretype <deststoretype>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
        {"\t     [-srcprotected] [-destprotected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
                "\t     [-srcprotected] [-destprotected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
        {"\t     [-srcstorepass <srcstorepass>] [-deststorepass <deststorepass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
                "\t     [-srcstorepass <srcstorepass>] [-deststorepass <deststorepass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
        {"\t     [-srcprovidername <srcprovidername>]\n\t     [-destprovidername <destprovidername>]",  // line too long, split to 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
                 "\t     [-srcprovidername <srcprovidername>]\n\t     [-destprovidername <destprovidername>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
        {"\t     [-srcalias <srcalias> [-destalias <destalias>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
                "\t     [-srcalias <srcalias> [-destalias <destalias>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
        {"\t       [-srckeypass <srckeypass>] [-destkeypass <destkeypass>]]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
                "\t       [-srckeypass <srckeypass>] [-destkeypass <destkeypass>]]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
        {"\t     [-noprompt]", "\t     [-noprompt]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
        {"-changealias [-v] [-protected] -alias <alias> -destalias <destalias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
                "-changealias [-v] [-protected] -alias <alias> -destalias <destalias>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   368
        {"\t     [-keypass <keypass>]", "\t     [-keypass <keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   369
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
        //{"-keyclone    [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
        //      "-keyclone    [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   372
        //{"\t     [-alias <alias>] -dest <dest_alias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   373
        //      "\t     [-alias <alias>] -dest <dest_alias>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   374
        //{"\t     [-keypass <keypass>] [-new <new_keypass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   375
        //      "\t     [-keypass <keypass>] [-new <new_keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   376
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   377
90ce3da70b43 Initial load
duke
parents:
diff changeset
   378
        {"-keypasswd   [-v] [-alias <alias>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   379
                "-keypasswd   [-v] [-alias <alias>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
        {"\t     [-keypass <old_keypass>] [-new <new_keypass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
                "\t     [-keypass <old_keypass>] [-new <new_keypass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
        {"-list        [-v | -rfc] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
                "-list        [-v | -rfc] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
        {"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
        {"-printcert   [-v] [-file <cert_file>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
                "-printcert   [-v] [-file <cert_file>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
        //{"-selfcert    [-v] [-protected]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
        //      "-selfcert    [-v] [-protected]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
        {"\t     [-alias <alias>]", "\t     [-alias <alias>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
        //{"\t     [-dname <dname>] [-validity <valDays>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
        //      "\t     [-dname <dname>] [-validity <valDays>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
        //{"\t     [-keypass <keypass>] [-sigalg <sigalg>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
        //      "\t     [-keypass <keypass>] [-sigalg <sigalg>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
        {"-storepasswd [-v] [-new <new_storepass>]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
                "-storepasswd [-v] [-new <new_storepass>]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
        /** rest is same as -certreq starting from -keystore **/
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
        // policytool
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
        {"Warning: A public key for alias 'signers[i]' does not exist.  Make sure a KeyStore is properly configured.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
                "Warning: A public key for alias {0} does not exist.  Make sure a KeyStore is properly configured."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
        {"Warning: Class not found: class", "Warning: Class not found: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
        {"Warning: Invalid argument(s) for constructor: arg",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
                "Warning: Invalid argument(s) for constructor: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
        {"Illegal Principal Type: type", "Illegal Principal Type: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
        {"Illegal option: option", "Illegal option: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
        {"Usage: policytool [options]", "Usage: policytool [options]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
        {"  [-file <file>]    policy file location",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
                "  [-file <file>]    policy file location"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
        {"New", "New"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
        {"Open", "Open"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
        {"Save", "Save"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
        {"Save As", "Save As"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
        {"View Warning Log", "View Warning Log"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   421
        {"Exit", "Exit"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   422
        {"Add Policy Entry", "Add Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   423
        {"Edit Policy Entry", "Edit Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   424
        {"Remove Policy Entry", "Remove Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   425
        {"Edit", "Edit"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   426
        {"Retain", "Retain"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   427
90ce3da70b43 Initial load
duke
parents:
diff changeset
   428
        {"Warning: File name may include escaped backslash characters. " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   429
                        "It is not necessary to escape backslash characters " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   430
                        "(the tool escapes characters as necessary when writing " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   431
                        "the policy contents to the persistent store).\n\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   432
                        "Click on Retain to retain the entered name, or click on " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   433
                        "Edit to edit the name.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   434
            "Warning: File name may include escaped backslash characters. " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   435
                        "It is not necessary to escape backslash characters " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
                        "(the tool escapes characters as necessary when writing " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
                        "the policy contents to the persistent store).\n\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
                        "Click on Retain to retain the entered name, or click on " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   439
                        "Edit to edit the name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
        {"Add Public Key Alias", "Add Public Key Alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
        {"Remove Public Key Alias", "Remove Public Key Alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
        {"File", "File"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
        {"KeyStore", "KeyStore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
        {"Policy File:", "Policy File:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
        {"Could not open policy file: policyFile: e.toString()",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
                "Could not open policy file: {0}: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
        {"Policy Tool", "Policy Tool"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
        {"Errors have occurred while opening the policy configuration.  View the Warning Log for more information.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
                "Errors have occurred while opening the policy configuration.  View the Warning Log for more information."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
        {"Error", "Error"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
        {"OK", "OK"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
        {"Status", "Status"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
        {"Warning", "Warning"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
        {"Permission:                                                       ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
                "Permission:                                                       "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
        {"Principal Type:", "Principal Type:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
        {"Principal Name:", "Principal Name:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
        {"Target Name:                                                    ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
                "Target Name:                                                    "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
        {"Actions:                                                             ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
                "Actions:                                                             "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
        {"OK to overwrite existing file filename?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
                "OK to overwrite existing file {0}?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
        {"Cancel", "Cancel"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
        {"CodeBase:", "CodeBase:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
        {"SignedBy:", "SignedBy:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
        {"Add Principal", "Add Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
        {"Edit Principal", "Edit Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
        {"Remove Principal", "Remove Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
        {"Principals:", "Principals:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
        {"  Add Permission", "  Add Permission"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
        {"  Edit Permission", "  Edit Permission"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
        {"Remove Permission", "Remove Permission"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
        {"Done", "Done"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
        {"KeyStore URL:", "KeyStore URL:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
        {"KeyStore Type:", "KeyStore Type:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
        {"KeyStore Provider:", "KeyStore Provider:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
        {"KeyStore Password URL:", "KeyStore Password URL:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
        {"Principals", "Principals"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
        {"  Edit Principal:", "  Edit Principal:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
        {"  Add New Principal:", "  Add New Principal:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
        {"Permissions", "Permissions"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
        {"  Edit Permission:", "  Edit Permission:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
        {"  Add New Permission:", "  Add New Permission:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
        {"Signed By:", "Signed By:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
        {"Cannot Specify Principal with a Wildcard Class without a Wildcard Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
            "Cannot Specify Principal with a Wildcard Class without a Wildcard Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
        {"Cannot Specify Principal without a Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
            "Cannot Specify Principal without a Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
        {"Permission and Target Name must have a value",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
                "Permission and Target Name must have a value"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
        {"Remove this Policy Entry?", "Remove this Policy Entry?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
        {"Overwrite File", "Overwrite File"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
        {"Policy successfully written to filename",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
                "Policy successfully written to {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
        {"null filename", "null filename"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
        {"Save changes?", "Save changes?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
        {"Yes", "Yes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
        {"No", "No"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
        {"Policy Entry", "Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
        {"Save Changes", "Save Changes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
        {"No Policy Entry selected", "No Policy Entry selected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
        {"Unable to open KeyStore: ex.toString()",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
                "Unable to open KeyStore: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
        {"No principal selected", "No principal selected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
        {"No permission selected", "No permission selected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
        {"name", "name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
        {"configuration type", "configuration type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
        {"environment variable name", "environment variable name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
        {"library name", "library name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
        {"package name", "package name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
        {"policy type", "policy type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
        {"property name", "property name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
        {"provider name", "provider name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
        {"Principal List", "Principal List"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
        {"Permission List", "Permission List"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
        {"Code Base", "Code Base"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
        {"KeyStore U R L:", "KeyStore U R L:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
        {"KeyStore Password U R L:", "KeyStore Password U R L:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
        // javax.security.auth.PrivateCredentialPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
        {"invalid null input(s)", "invalid null input(s)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
        {"actions can only be 'read'", "actions can only be 'read'"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
        {"permission name [name] syntax invalid: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
                "permission name [{0}] syntax invalid: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
        {"Credential Class not followed by a Principal Class and Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
                "Credential Class not followed by a Principal Class and Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
        {"Principal Class not followed by a Principal Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
                "Principal Class not followed by a Principal Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
        {"Principal Name must be surrounded by quotes",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
                "Principal Name must be surrounded by quotes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
        {"Principal Name missing end quote",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
                "Principal Name missing end quote"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
        {"PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
                "PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
        {"CredOwner:\n\tPrincipal Class = class\n\tPrincipal Name = name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
                "CredOwner:\n\tPrincipal Class = {0}\n\tPrincipal Name = {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
        // javax.security.auth.x500
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
        {"provided null name", "provided null name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
        {"provided null keyword map", "provided null keyword map"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
        {"provided null OID map", "provided null OID map"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
        // javax.security.auth.Subject
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
        {"invalid null AccessControlContext provided",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
                "invalid null AccessControlContext provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
        {"invalid null action provided", "invalid null action provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
        {"invalid null Class provided", "invalid null Class provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
        {"Subject:\n", "Subject:\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
        {"\tPrincipal: ", "\tPrincipal: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
        {"\tPublic Credential: ", "\tPublic Credential: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
        {"\tPrivate Credentials inaccessible\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
                "\tPrivate Credentials inaccessible\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
        {"\tPrivate Credential: ", "\tPrivate Credential: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
        {"\tPrivate Credential inaccessible\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
                "\tPrivate Credential inaccessible\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
        {"Subject is read-only", "Subject is read-only"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
        {"attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
                "attempting to add an object which is not an instance of java.security.Principal to a Subject's Principal Set"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
        {"attempting to add an object which is not an instance of class",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
                "attempting to add an object which is not an instance of {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
        // javax.security.auth.login.AppConfigurationEntry
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
        {"LoginModuleControlFlag: ", "LoginModuleControlFlag: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
        // javax.security.auth.login.LoginContext
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
        {"Invalid null input: name", "Invalid null input: name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
        {"No LoginModules configured for name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
         "No LoginModules configured for {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   572
        {"invalid null Subject provided", "invalid null Subject provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
        {"invalid null CallbackHandler provided",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
                "invalid null CallbackHandler provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
        {"null subject - logout called before login",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
                "null subject - logout called before login"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   577
        {"unable to instantiate LoginModule, module, because it does not provide a no-argument constructor",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
                "unable to instantiate LoginModule, {0}, because it does not provide a no-argument constructor"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
        {"unable to instantiate LoginModule",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
                "unable to instantiate LoginModule"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
        {"unable to instantiate LoginModule: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
                "unable to instantiate LoginModule: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
        {"unable to find LoginModule class: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   584
                "unable to find LoginModule class: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   585
        {"unable to access LoginModule: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
                "unable to access LoginModule: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   587
        {"Login Failure: all modules ignored",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
                "Login Failure: all modules ignored"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
        // sun.security.provider.PolicyFile
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
90ce3da70b43 Initial load
duke
parents:
diff changeset
   592
        {"java.security.policy: error parsing policy:\n\tmessage",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   593
                "java.security.policy: error parsing {0}:\n\t{1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
        {"java.security.policy: error adding Permission, perm:\n\tmessage",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
                "java.security.policy: error adding Permission, {0}:\n\t{1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
        {"java.security.policy: error adding Entry:\n\tmessage",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   597
                "java.security.policy: error adding Entry:\n\t{0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
        {"alias name not provided (pe.name)", "alias name not provided ({0})"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
        {"unable to perform substitution on alias, suffix",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
                "unable to perform substitution on alias, {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
        {"substitution value, prefix, unsupported",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   602
                "substitution value, {0}, unsupported"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
        {"(", "("},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   604
        {")", ")"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   605
        {"type can't be null","type can't be null"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
90ce3da70b43 Initial load
duke
parents:
diff changeset
   607
        // sun.security.provider.PolicyParser
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
        {"keystorePasswordURL can not be specified without also specifying keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
                "keystorePasswordURL can not be specified without also specifying keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
        {"expected keystore type", "expected keystore type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
        {"expected keystore provider", "expected keystore provider"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   612
        {"multiple Codebase expressions",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
                "multiple Codebase expressions"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
        {"multiple SignedBy expressions","multiple SignedBy expressions"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
        {"SignedBy has empty alias","SignedBy has empty alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
        {"can not specify Principal with a wildcard class without a wildcard name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   617
                "can not specify Principal with a wildcard class without a wildcard name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
        {"expected codeBase or SignedBy or Principal",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
                "expected codeBase or SignedBy or Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
        {"expected permission entry", "expected permission entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
        {"number ", "number "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
        {"expected [expect], read [end of file]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
                "expected [{0}], read [end of file]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
        {"expected [;], read [end of file]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
                "expected [;], read [end of file]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
        {"line number: msg", "line {0}: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
        {"line number: expected [expect], found [actual]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
                "line {0}: expected [{1}], found [{2}]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
        {"null principalClass or principalName",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
                "null principalClass or principalName"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
        // sun.security.pkcs11.SunPKCS11
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
        {"PKCS11 Token [providerName] Password: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
                "PKCS11 Token [{0}] Password: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   635
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
        /* --- DEPRECATED --- */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
        // javax.security.auth.Policy
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
        {"unable to instantiate Subject-based policy",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   639
                "unable to instantiate Subject-based policy"}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
90ce3da70b43 Initial load
duke
parents:
diff changeset
   643
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   644
     * Returns the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   645
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   646
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   647
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   648
     * @return the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   649
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   650
    public Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   651
        return contents;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   652
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   653
}