jdk/src/share/classes/sun/security/util/Resources.java
author weijun
Wed, 29 Sep 2010 15:26:59 +0800
changeset 6688 74c17eb999d2
parent 5506 202f599c92aa
child 7179 4afb81e50183
permissions -rw-r--r--
6988163: sun.security.util.Resources dup and a keytool doc typo Reviewed-by: xuelei
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
     2
 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
2
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
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
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
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
    23
 * questions.
2
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
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    49
        // keytool: Help part
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    50
        {" [OPTION]...", " [OPTION]..."},
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    51
        {"Options:", "Options:"},
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    52
        {"Use \"keytool -help\" for all available commands",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    53
                 "Use \"keytool -help\" for all available commands"},
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    54
        {"Key and Certificate Management Tool",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    55
                 "Key and Certificate Management Tool"},
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    56
        {"Commands:", "Commands:"},
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    57
        {"Use \"keytool -command_name -help\" for usage of command_name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    58
                "Use \"keytool -command_name -help\" for usage of command_name"},
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    59
        // keytool: help: commands
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    60
        {"Generates a certificate request",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    61
                "Generates a certificate request"}, //-certreq
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    62
        {"Changes an entry's alias",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    63
                "Changes an entry's alias"}, //-changealias
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    64
        {"Deletes an entry",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    65
                "Deletes an entry"}, //-delete
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    66
        {"Exports certificate",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    67
                "Exports certificate"}, //-exportcert
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    68
        {"Generates a key pair",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    69
                "Generates a key pair"}, //-genkeypair
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    70
        {"Generates a secret key",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    71
                "Generates a secret key"}, //-genseckey
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    72
        {"Generates certificate from a certificate request",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    73
                "Generates certificate from a certificate request"}, //-gencert
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
    74
        {"Generates CRL", "Generates CRL"}, //-gencrl
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    75
        {"Imports entries from a JDK 1.1.x-style identity database",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    76
                "Imports entries from a JDK 1.1.x-style identity database"}, //-identitydb
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    77
        {"Imports a certificate or a certificate chain",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    78
                "Imports a certificate or a certificate chain"}, //-importcert
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    79
        {"Imports one or all entries from another keystore",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    80
                "Imports one or all entries from another keystore"}, //-importkeystore
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    81
        {"Clones a key entry",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    82
                "Clones a key entry"}, //-keyclone
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    83
        {"Changes the key password of an entry",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    84
                "Changes the key password of an entry"}, //-keypasswd
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    85
        {"Lists entries in a keystore",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    86
                "Lists entries in a keystore"}, //-list
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    87
        {"Prints the content of a certificate",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    88
                "Prints the content of a certificate"}, //-printcert
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    89
        {"Prints the content of a certificate request",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    90
                "Prints the content of a certificate request"}, //-printcertreq
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
    91
        {"Prints the content of a CRL file",
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
    92
                "Prints the content of a CRL file"}, //-printcrl
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    93
        {"Generates a self-signed certificate",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    94
                "Generates a self-signed certificate"}, //-selfcert
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    95
        {"Changes the store password of a keystore",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    96
                "Changes the store password of a keystore"}, //-storepasswd
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    97
        // keytool: help: options
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    98
        {"alias name of the entry to process",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
    99
                "alias name of the entry to process"}, //-alias
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   100
        {"destination alias",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   101
                "destination alias"}, //-destalias
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   102
        {"destination key password",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   103
                "destination key password"}, //-destkeypass
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   104
        {"destination keystore name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   105
                "destination keystore name"}, //-destkeystore
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   106
        {"destination keystore password protected",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   107
                "destination keystore password protected"}, //-destprotected
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   108
        {"destination keystore provider name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   109
                "destination keystore provider name"}, //-destprovidername
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   110
        {"destination keystore password",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   111
                "destination keystore password"}, //-deststorepass
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   112
        {"destination keystore type",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   113
                "destination keystore type"}, //-deststoretype
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   114
        {"distinguished name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   115
                "distinguished name"}, //-dname
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   116
        {"X.509 extension",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   117
                "X.509 extension"}, //-ext
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   118
        {"output file name",
6688
74c17eb999d2 6988163: sun.security.util.Resources dup and a keytool doc typo
weijun
parents: 5506
diff changeset
   119
                "output file name"}, //-file and -outfile
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   120
        {"input file name",
6688
74c17eb999d2 6988163: sun.security.util.Resources dup and a keytool doc typo
weijun
parents: 5506
diff changeset
   121
                "input file name"}, //-file and -infile
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   122
        {"key algorithm name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   123
                "key algorithm name"}, //-keyalg
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   124
        {"key password",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   125
                "key password"}, //-keypass
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   126
        {"key bit size",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   127
                "key bit size"}, //-keysize
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   128
        {"keystore name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   129
                "keystore name"}, //-keystore
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   130
        {"new password",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   131
                "new password"}, //-new
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   132
        {"do not prompt",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   133
                "do not prompt"}, //-noprompt
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   134
        {"password through protected mechanism",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   135
                "password through protected mechanism"}, //-protected
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   136
        {"provider argument",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   137
                "provider argument"}, //-providerarg
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   138
        {"provider class name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   139
                "provider class name"}, //-providerclass
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   140
        {"provider name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   141
                "provider name"}, //-providername
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   142
        {"provider classpath",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   143
                "provider classpath"}, //-providerpath
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   144
        {"output in RFC style",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   145
                "output in RFC style"}, //-rfc
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   146
        {"signature algorithm name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   147
                "signature algorithm name"}, //-sigalg
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   148
        {"source alias",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   149
                "source alias"}, //-srcalias
6688
74c17eb999d2 6988163: sun.security.util.Resources dup and a keytool doc typo
weijun
parents: 5506
diff changeset
   150
        {"source key password",
74c17eb999d2 6988163: sun.security.util.Resources dup and a keytool doc typo
weijun
parents: 5506
diff changeset
   151
                "source key password"}, //-srckeypass
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   152
        {"source keystore name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   153
                "source keystore name"}, //-srckeystore
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   154
        {"source keystore password protected",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   155
                "source keystore password protected"}, //-srcprotected
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   156
        {"source keystore provider name",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   157
                "source keystore provider name"}, //-srcprovidername
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   158
        {"source keystore password",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   159
                "source keystore password"}, //-srcstorepass
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   160
        {"source keystore type",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   161
                "source keystore type"}, //-srcstoretype
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   162
        {"SSL server host and port",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   163
                "SSL server host and port"}, //-sslserver
4169
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   164
        {"signed jar file",
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   165
                "signed jar file"}, //=jarfile
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   166
        {"certificate validity start date/time",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   167
                "certificate validity start date/time"}, //-startdate
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   168
        {"keystore password",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   169
                "keystore password"}, //-storepass
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   170
        {"keystore type",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   171
                "keystore type"}, //-storetype
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   172
        {"trust certificates from cacerts",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   173
                "trust certificates from cacerts"}, //-trustcacerts
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   174
        {"verbose output",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   175
                "verbose output"}, //-v
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   176
        {"validity number of days",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   177
                "validity number of days"}, //-validity
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
   178
        {"Serial ID of cert to revoke",
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
   179
                 "Serial ID of cert to revoke"}, //-id
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   180
        // keytool: Running part
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        {"keytool error: ", "keytool error: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
        {"Illegal option:  ", "Illegal option:  "},
2067
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   183
        {"Illegal value: ", "Illegal value: "},
3951
e821908c953e 6868579: RFE: jarsigner to support reading password from environment variable
weijun
parents: 3948
diff changeset
   184
        {"Unknown password type: ", "Unknown password type: "},
e821908c953e 6868579: RFE: jarsigner to support reading password from environment variable
weijun
parents: 3948
diff changeset
   185
        {"Cannot find environment variable: ",
e821908c953e 6868579: RFE: jarsigner to support reading password from environment variable
weijun
parents: 3948
diff changeset
   186
                "Cannot find environment variable: "},
e821908c953e 6868579: RFE: jarsigner to support reading password from environment variable
weijun
parents: 3948
diff changeset
   187
        {"Cannot find file: ", "Cannot find file: "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
        {"Command option <flag> needs an argument.", "Command option {0} needs an argument."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
        {"Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified <command> value.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
                "Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified {0} value."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
        {"-keystore must be NONE if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
                "-keystore must be NONE if -storetype is {0}"},
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   193
        {"Too many retries, program terminated",
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   194
                 "Too many retries, program terminated"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
        {"-storepasswd and -keypasswd commands not supported if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
                "-storepasswd and -keypasswd commands not supported if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        {"-keypasswd commands not supported if -storetype is PKCS12",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
                "-keypasswd commands not supported if -storetype is PKCS12"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
        {"-keypass and -new can not be specified if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
                "-keypass and -new can not be specified if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
        {"if -protected is specified, then -storepass, -keypass, and -new must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
                "if -protected is specified, then -storepass, -keypass, and -new must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
        {"if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
                "if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
        {"if keystore is not password protected, then -storepass, -keypass, and -new must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
                "if keystore is not password protected, then -storepass, -keypass, and -new must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        {"if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
                "if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
        {"Illegal startdate value", "Illegal startdate value"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        {"Validity must be greater than zero",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
                "Validity must be greater than zero"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
        {"provName not a provider", "{0} not a provider"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
        {"Usage error: no command provided", "Usage error: no command provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
        {"Source keystore file exists, but is empty: ", "Source keystore file exists, but is empty: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
        {"Please specify -srckeystore", "Please specify -srckeystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
        {"Must not specify both -v and -rfc with 'list' command",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
                "Must not specify both -v and -rfc with 'list' command"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
        {"Key password must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
                "Key password must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        {"New password must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
                "New password must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
        {"Keystore file exists, but is empty: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
                "Keystore file exists, but is empty: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        {"Keystore file does not exist: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
                "Keystore file does not exist: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
        {"Must specify destination alias", "Must specify destination alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        {"Must specify alias", "Must specify alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
        {"Keystore password must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
                "Keystore password must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
        {"Enter keystore password:  ", "Enter keystore password:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
        {"Enter source keystore password:  ", "Enter source keystore password:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
        {"Enter destination keystore password:  ", "Enter destination keystore password:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
        {"Keystore password is too short - must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
         "Keystore password is too short - must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
        {"Unknown Entry Type", "Unknown Entry Type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
        {"Too many failures. Alias not changed", "Too many failures. Alias not changed"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
        {"Entry for alias <alias> successfully imported.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
                 "Entry for alias {0} successfully imported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
        {"Entry for alias <alias> not imported.", "Entry for alias {0} not imported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
        {"Problem importing entry for alias <alias>: <exception>.\nEntry for alias <alias> not imported.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
                 "Problem importing entry for alias {0}: {1}.\nEntry for alias {0} not imported."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
        {"Import command completed:  <ok> entries successfully imported, <fail> entries failed or cancelled",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
                 "Import command completed:  {0} entries successfully imported, {1} entries failed or cancelled"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
        {"Warning: Overwriting existing alias <alias> in destination keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
                 "Warning: Overwriting existing alias {0} in destination keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
        {"Existing entry alias <alias> exists, overwrite? [no]:  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
                 "Existing entry alias {0} exists, overwrite? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
        {"Too many failures - try later", "Too many failures - try later"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
        {"Certification request stored in file <filename>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
                "Certification request stored in file <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
        {"Submit this to your CA", "Submit this to your CA"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
        {"if alias not specified, destalias, srckeypass, and destkeypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
            "if alias not specified, destalias, srckeypass, and destkeypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
        {"Certificate stored in file <filename>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
                "Certificate stored in file <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
        {"Certificate reply was installed in keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
                "Certificate reply was installed in keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
        {"Certificate reply was not installed in keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
                "Certificate reply was not installed in keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
        {"Certificate was added to keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
                "Certificate was added to keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
        {"Certificate was not added to keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
                "Certificate was not added to keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
        {"[Storing ksfname]", "[Storing {0}]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
        {"alias has no public key (certificate)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266
                "{0} has no public key (certificate)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   267
        {"Cannot derive signature algorithm",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   268
                "Cannot derive signature algorithm"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   269
        {"Alias <alias> does not exist",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   270
                "Alias <{0}> does not exist"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   271
        {"Alias <alias> has no certificate",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   272
                "Alias <{0}> has no certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   273
        {"Key pair not generated, alias <alias> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   274
                "Key pair not generated, alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   275
        {"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
   276
                "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
   277
        {"Enter key password for <alias>", "Enter key password for <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   278
        {"\t(RETURN if same as keystore password):  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   279
                "\t(RETURN if same as keystore password):  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   280
        {"Key password is too short - must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   281
                "Key password is too short - must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   282
        {"Too many failures - key not added to keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
                "Too many failures - key not added to keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   284
        {"Destination alias <dest> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   285
                "Destination alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   286
        {"Password is too short - must be at least 6 characters",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   287
                "Password is too short - must be at least 6 characters"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   288
        {"Too many failures. Key entry not cloned",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   289
                "Too many failures. Key entry not cloned"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   290
        {"key password for <alias>", "key password for <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   291
        {"Keystore entry for <id.getName()> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   292
                "Keystore entry for <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   293
        {"Creating keystore entry for <id.getName()> ...",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   294
                "Creating keystore entry for <{0}> ..."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   295
        {"No entries from identity database added",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   296
                "No entries from identity database added"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   297
        {"Alias name: alias", "Alias name: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   298
        {"Creation date: keyStore.getCreationDate(alias)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   299
                "Creation date: {0,date}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   300
        {"alias, keyStore.getCreationDate(alias), ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   301
                "{0}, {1,date}, "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   302
        {"alias, ", "{0}, "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   303
        {"Entry type: <type>", "Entry type: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   304
        {"Certificate chain length: ", "Certificate chain length: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   305
        {"Certificate[(i + 1)]:", "Certificate[{0,number,integer}]:"},
909
c7bb1699d1b0 6709758: keytool default cert fingerprint algorithm should be SHA1, not MD5
weijun
parents: 904
diff changeset
   306
        {"Certificate fingerprint (SHA1): ", "Certificate fingerprint (SHA1): "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   307
        {"Entry type: trustedCertEntry\n", "Entry type: trustedCertEntry\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   308
        {"trustedCertEntry,", "trustedCertEntry,"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   309
        {"Keystore type: ", "Keystore type: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   310
        {"Keystore provider: ", "Keystore provider: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   311
        {"Your keystore contains keyStore.size() entry",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   312
                "Your keystore contains {0,number,integer} entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   313
        {"Your keystore contains keyStore.size() entries",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   314
                "Your keystore contains {0,number,integer} entries"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   315
        {"Failed to parse input", "Failed to parse input"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   316
        {"Empty input", "Empty input"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   317
        {"Not X.509 certificate", "Not X.509 certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   318
        {"alias has no public key", "{0} has no public key"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   319
        {"alias has no X.509 certificate", "{0} has no X.509 certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   320
        {"New certificate (self-signed):", "New certificate (self-signed):"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   321
        {"Reply has no certificates", "Reply has no certificates"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   322
        {"Certificate not imported, alias <alias> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   323
                "Certificate not imported, alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   324
        {"Input not an X.509 certificate", "Input not an X.509 certificate"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   325
        {"Certificate already exists in keystore under alias <trustalias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   326
                "Certificate already exists in keystore under alias <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   327
        {"Do you still want to add it? [no]:  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   328
                "Do you still want to add it? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   329
        {"Certificate already exists in system-wide CA keystore under alias <trustalias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   330
                "Certificate already exists in system-wide CA keystore under alias <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   331
        {"Do you still want to add it to your own keystore? [no]:  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   332
                "Do you still want to add it to your own keystore? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   333
        {"Trust this certificate? [no]:  ", "Trust this certificate? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   334
        {"YES", "YES"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   335
        {"New prompt: ", "New {0}: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   336
        {"Passwords must differ", "Passwords must differ"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   337
        {"Re-enter new prompt: ", "Re-enter new {0}: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   338
        {"Re-enter new password: ", "Re-enter new password: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   339
        {"They don't match. Try again", "They don't match. Try again"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   340
        {"Enter prompt alias name:  ", "Enter {0} alias name:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   341
        {"Enter new alias name\t(RETURN to cancel import for this entry):  ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   342
                 "Enter new alias name\t(RETURN to cancel import for this entry):  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   343
        {"Enter alias name:  ", "Enter alias name:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   344
        {"\t(RETURN if same as for <otherAlias>)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   345
                "\t(RETURN if same as for <{0}>)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   346
        {"*PATTERN* printX509Cert",
3318
dade78e63c92 6561126: keytool should use larger default keysize for keypairs
weijun
parents: 3316
diff changeset
   347
                "Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t MD5:  {5}\n\t SHA1: {6}\n\t SHA256: {7}\n\t Signature algorithm name: {8}\n\t Version: {9}"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   348
        {"What is your first and last name?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   349
                "What is your first and last name?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   350
        {"What is the name of your organizational unit?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   351
                "What is the name of your organizational unit?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   352
        {"What is the name of your organization?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   353
                "What is the name of your organization?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   354
        {"What is the name of your City or Locality?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   355
                "What is the name of your City or Locality?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   356
        {"What is the name of your State or Province?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   357
                "What is the name of your State or Province?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   358
        {"What is the two-letter country code for this unit?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   359
                "What is the two-letter country code for this unit?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   360
        {"Is <name> correct?", "Is {0} correct?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   361
        {"no", "no"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   362
        {"yes", "yes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   363
        {"y", "y"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   364
        {"  [defaultValue]:  ", "  [{0}]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   365
        {"Alias <alias> has no key",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   366
                "Alias <{0}> has no key"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   367
        {"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
   368
                 "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
   369
90ce3da70b43 Initial load
duke
parents:
diff changeset
   370
        {"*****************  WARNING WARNING WARNING  *****************",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   371
            "*****************  WARNING WARNING WARNING  *****************"},
4169
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   372
        {"Signer #%d:", "Signer #%d:"},
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   373
        {"Timestamp:", "Timestamp:"},
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   374
        {"Signature:", "Signature:"},
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
   375
        {"CRLs:", "CRLs:"},
4169
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   376
        {"Certificate owner: ", "Certificate owner: "},
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   377
        {"Not a signed jar file", "Not a signed jar file"},
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   378
        {"No certificate from the SSL server",
0ca7e3e74ba4 6890872: keytool -printcert to recognize signed jar files
weijun
parents: 3951
diff changeset
   379
                "No certificate from the SSL server"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   380
90ce3da70b43 Initial load
duke
parents:
diff changeset
   381
        // Translators of the following 5 pairs, ATTENTION:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   382
        // the next 5 string pairs are meant to be combined into 2 paragraphs,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   383
        // 1+3+4 and 2+3+5. make sure your translation also does.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   384
        {"* The integrity of the information stored in your keystore  *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   385
            "* The integrity of the information stored in your keystore  *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   386
        {"* The integrity of the information stored in the srckeystore*",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   387
            "* The integrity of the information stored in the srckeystore*"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   388
        {"* has NOT been verified!  In order to verify its integrity, *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   389
            "* has NOT been verified!  In order to verify its integrity, *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   390
        {"* you must provide your keystore password.                  *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   391
            "* you must provide your keystore password.                  *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   392
        {"* you must provide the srckeystore password.                *",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   393
            "* you must provide the srckeystore password.                *"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   394
90ce3da70b43 Initial load
duke
parents:
diff changeset
   395
90ce3da70b43 Initial load
duke
parents:
diff changeset
   396
        {"Certificate reply does not contain public key for <alias>",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   397
                "Certificate reply does not contain public key for <{0}>"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   398
        {"Incomplete certificate chain in reply",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   399
                "Incomplete certificate chain in reply"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   400
        {"Certificate chain in reply does not verify: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   401
                "Certificate chain in reply does not verify: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   402
        {"Top-level certificate in reply:\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   403
                "Top-level certificate in reply:\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   404
        {"... is not trusted. ", "... is not trusted. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   405
        {"Install reply anyway? [no]:  ", "Install reply anyway? [no]:  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   406
        {"NO", "NO"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   407
        {"Public keys in reply and keystore don't match",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   408
                "Public keys in reply and keystore don't match"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   409
        {"Certificate reply and certificate in keystore are identical",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   410
                "Certificate reply and certificate in keystore are identical"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   411
        {"Failed to establish chain from reply",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   412
                "Failed to establish chain from reply"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   413
        {"n", "n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   414
        {"Wrong answer, try again", "Wrong answer, try again"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   415
        {"Secret key not generated, alias <alias> already exists",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   416
                "Secret Key not generated, alias <{0}> already exists"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   417
        {"Please provide -keysize for secret key generation",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   418
                "Please provide -keysize for secret key generation"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   419
90ce3da70b43 Initial load
duke
parents:
diff changeset
   420
        {"Extensions: ", "Extensions: "},
2067
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   421
        {"(Empty value)", "(Empty value)"},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   422
        {"Extension Request:", "Extension Request:"},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   423
        {"PKCS #10 Certificate Request (Version 1.0)\n" +
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   424
                "Subject: %s\nPublic Key: %s format %s key\n",
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   425
                "PKCS #10 Certificate Request (Version 1.0)\n" +
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   426
                "Subject: %s\nPublic Key: %s format %s key\n"},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   427
        {"Unknown keyUsage type: ", "Unknown keyUsage type: "},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   428
        {"Unknown extendedkeyUsage type: ", "Unknown extendedkeyUsage type: "},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   429
        {"Unknown AccessDescription type: ", "Unknown AccessDescription type: "},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   430
        {"Unrecognized GeneralName type: ", "Unrecognized GeneralName type: "},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   431
        {"This extension cannot be marked as critical. ",
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   432
                 "This extension cannot be marked as critical. "},
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   433
        {"Odd number of hex digits found: ", "Odd number of hex digits found: "},
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 4169
diff changeset
   434
        {"Unknown extension type: ", "Unknown extension type: "},
2067
6f9db5f305cd 6780416: New keytool commands/options: -gencert, -printcertreq, -ext
weijun
parents: 909
diff changeset
   435
        {"command {0} is ambiguous:", "command {0} is ambiguous:"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   436
90ce3da70b43 Initial load
duke
parents:
diff changeset
   437
        // policytool
90ce3da70b43 Initial load
duke
parents:
diff changeset
   438
        {"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
   439
                "Warning: A public key for alias {0} does not exist.  Make sure a KeyStore is properly configured."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   440
        {"Warning: Class not found: class", "Warning: Class not found: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   441
        {"Warning: Invalid argument(s) for constructor: arg",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   442
                "Warning: Invalid argument(s) for constructor: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   443
        {"Illegal Principal Type: type", "Illegal Principal Type: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   444
        {"Illegal option: option", "Illegal option: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   445
        {"Usage: policytool [options]", "Usage: policytool [options]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   446
        {"  [-file <file>]    policy file location",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   447
                "  [-file <file>]    policy file location"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   448
        {"New", "New"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   449
        {"Open", "Open"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   450
        {"Save", "Save"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   451
        {"Save As", "Save As"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   452
        {"View Warning Log", "View Warning Log"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   453
        {"Exit", "Exit"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   454
        {"Add Policy Entry", "Add Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   455
        {"Edit Policy Entry", "Edit Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   456
        {"Remove Policy Entry", "Remove Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   457
        {"Edit", "Edit"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   458
        {"Retain", "Retain"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   459
90ce3da70b43 Initial load
duke
parents:
diff changeset
   460
        {"Warning: File name may include escaped backslash characters. " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   461
                        "It is not necessary to escape backslash characters " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   462
                        "(the tool escapes characters as necessary when writing " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   463
                        "the policy contents to the persistent store).\n\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   464
                        "Click on Retain to retain the entered name, or click on " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   465
                        "Edit to edit the name.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   466
            "Warning: File name may include escaped backslash characters. " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   467
                        "It is not necessary to escape backslash characters " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   468
                        "(the tool escapes characters as necessary when writing " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   469
                        "the policy contents to the persistent store).\n\n" +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   470
                        "Click on Retain to retain the entered name, or click on " +
90ce3da70b43 Initial load
duke
parents:
diff changeset
   471
                        "Edit to edit the name."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   472
90ce3da70b43 Initial load
duke
parents:
diff changeset
   473
        {"Add Public Key Alias", "Add Public Key Alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   474
        {"Remove Public Key Alias", "Remove Public Key Alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   475
        {"File", "File"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   476
        {"KeyStore", "KeyStore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   477
        {"Policy File:", "Policy File:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   478
        {"Could not open policy file: policyFile: e.toString()",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   479
                "Could not open policy file: {0}: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   480
        {"Policy Tool", "Policy Tool"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   481
        {"Errors have occurred while opening the policy configuration.  View the Warning Log for more information.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   482
                "Errors have occurred while opening the policy configuration.  View the Warning Log for more information."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   483
        {"Error", "Error"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   484
        {"OK", "OK"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   485
        {"Status", "Status"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   486
        {"Warning", "Warning"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   487
        {"Permission:                                                       ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   488
                "Permission:                                                       "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   489
        {"Principal Type:", "Principal Type:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   490
        {"Principal Name:", "Principal Name:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   491
        {"Target Name:                                                    ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   492
                "Target Name:                                                    "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   493
        {"Actions:                                                             ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   494
                "Actions:                                                             "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   495
        {"OK to overwrite existing file filename?",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   496
                "OK to overwrite existing file {0}?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   497
        {"Cancel", "Cancel"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   498
        {"CodeBase:", "CodeBase:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   499
        {"SignedBy:", "SignedBy:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   500
        {"Add Principal", "Add Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   501
        {"Edit Principal", "Edit Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   502
        {"Remove Principal", "Remove Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   503
        {"Principals:", "Principals:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   504
        {"  Add Permission", "  Add Permission"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   505
        {"  Edit Permission", "  Edit Permission"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   506
        {"Remove Permission", "Remove Permission"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   507
        {"Done", "Done"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   508
        {"KeyStore URL:", "KeyStore URL:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   509
        {"KeyStore Type:", "KeyStore Type:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   510
        {"KeyStore Provider:", "KeyStore Provider:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   511
        {"KeyStore Password URL:", "KeyStore Password URL:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   512
        {"Principals", "Principals"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   513
        {"  Edit Principal:", "  Edit Principal:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   514
        {"  Add New Principal:", "  Add New Principal:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   515
        {"Permissions", "Permissions"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   516
        {"  Edit Permission:", "  Edit Permission:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   517
        {"  Add New Permission:", "  Add New Permission:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   518
        {"Signed By:", "Signed By:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   519
        {"Cannot Specify Principal with a Wildcard Class without a Wildcard Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   520
            "Cannot Specify Principal with a Wildcard Class without a Wildcard Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   521
        {"Cannot Specify Principal without a Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   522
            "Cannot Specify Principal without a Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   523
        {"Permission and Target Name must have a value",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   524
                "Permission and Target Name must have a value"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   525
        {"Remove this Policy Entry?", "Remove this Policy Entry?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   526
        {"Overwrite File", "Overwrite File"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   527
        {"Policy successfully written to filename",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   528
                "Policy successfully written to {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   529
        {"null filename", "null filename"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   530
        {"Save changes?", "Save changes?"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   531
        {"Yes", "Yes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   532
        {"No", "No"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   533
        {"Policy Entry", "Policy Entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   534
        {"Save Changes", "Save Changes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   535
        {"No Policy Entry selected", "No Policy Entry selected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   536
        {"Unable to open KeyStore: ex.toString()",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   537
                "Unable to open KeyStore: {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   538
        {"No principal selected", "No principal selected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   539
        {"No permission selected", "No permission selected"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   540
        {"name", "name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   541
        {"configuration type", "configuration type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   542
        {"environment variable name", "environment variable name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   543
        {"library name", "library name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   544
        {"package name", "package name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   545
        {"policy type", "policy type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   546
        {"property name", "property name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   547
        {"Principal List", "Principal List"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   548
        {"Permission List", "Permission List"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   549
        {"Code Base", "Code Base"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   550
        {"KeyStore U R L:", "KeyStore U R L:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   551
        {"KeyStore Password U R L:", "KeyStore Password U R L:"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   552
90ce3da70b43 Initial load
duke
parents:
diff changeset
   553
90ce3da70b43 Initial load
duke
parents:
diff changeset
   554
        // javax.security.auth.PrivateCredentialPermission
90ce3da70b43 Initial load
duke
parents:
diff changeset
   555
        {"invalid null input(s)", "invalid null input(s)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   556
        {"actions can only be 'read'", "actions can only be 'read'"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   557
        {"permission name [name] syntax invalid: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   558
                "permission name [{0}] syntax invalid: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   559
        {"Credential Class not followed by a Principal Class and Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   560
                "Credential Class not followed by a Principal Class and Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   561
        {"Principal Class not followed by a Principal Name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   562
                "Principal Class not followed by a Principal Name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   563
        {"Principal Name must be surrounded by quotes",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   564
                "Principal Name must be surrounded by quotes"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   565
        {"Principal Name missing end quote",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   566
                "Principal Name missing end quote"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   567
        {"PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   568
                "PrivateCredentialPermission Principal Class can not be a wildcard (*) value if Principal Name is not a wildcard (*) value"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   569
        {"CredOwner:\n\tPrincipal Class = class\n\tPrincipal Name = name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   570
                "CredOwner:\n\tPrincipal Class = {0}\n\tPrincipal Name = {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   571
90ce3da70b43 Initial load
duke
parents:
diff changeset
   572
        // javax.security.auth.x500
90ce3da70b43 Initial load
duke
parents:
diff changeset
   573
        {"provided null name", "provided null name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   574
        {"provided null keyword map", "provided null keyword map"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   575
        {"provided null OID map", "provided null OID map"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   576
90ce3da70b43 Initial load
duke
parents:
diff changeset
   577
        // javax.security.auth.Subject
90ce3da70b43 Initial load
duke
parents:
diff changeset
   578
        {"invalid null AccessControlContext provided",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   579
                "invalid null AccessControlContext provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   580
        {"invalid null action provided", "invalid null action provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   581
        {"invalid null Class provided", "invalid null Class provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   582
        {"Subject:\n", "Subject:\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   583
        {"\tPrincipal: ", "\tPrincipal: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   584
        {"\tPublic Credential: ", "\tPublic Credential: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   585
        {"\tPrivate Credentials inaccessible\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   586
                "\tPrivate Credentials inaccessible\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   587
        {"\tPrivate Credential: ", "\tPrivate Credential: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   588
        {"\tPrivate Credential inaccessible\n",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   589
                "\tPrivate Credential inaccessible\n"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   590
        {"Subject is read-only", "Subject is read-only"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   591
        {"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
   592
                "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
   593
        {"attempting to add an object which is not an instance of class",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   594
                "attempting to add an object which is not an instance of {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   595
90ce3da70b43 Initial load
duke
parents:
diff changeset
   596
        // javax.security.auth.login.AppConfigurationEntry
90ce3da70b43 Initial load
duke
parents:
diff changeset
   597
        {"LoginModuleControlFlag: ", "LoginModuleControlFlag: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   598
90ce3da70b43 Initial load
duke
parents:
diff changeset
   599
        // javax.security.auth.login.LoginContext
90ce3da70b43 Initial load
duke
parents:
diff changeset
   600
        {"Invalid null input: name", "Invalid null input: name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   601
        {"No LoginModules configured for name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   602
         "No LoginModules configured for {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   603
        {"invalid null Subject provided", "invalid null Subject provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   604
        {"invalid null CallbackHandler provided",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   605
                "invalid null CallbackHandler provided"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   606
        {"null subject - logout called before login",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   607
                "null subject - logout called before login"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   608
        {"unable to instantiate LoginModule, module, because it does not provide a no-argument constructor",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   609
                "unable to instantiate LoginModule, {0}, because it does not provide a no-argument constructor"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   610
        {"unable to instantiate LoginModule",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   611
                "unable to instantiate LoginModule"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   612
        {"unable to instantiate LoginModule: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   613
                "unable to instantiate LoginModule: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   614
        {"unable to find LoginModule class: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   615
                "unable to find LoginModule class: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   616
        {"unable to access LoginModule: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   617
                "unable to access LoginModule: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   618
        {"Login Failure: all modules ignored",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   619
                "Login Failure: all modules ignored"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   620
90ce3da70b43 Initial load
duke
parents:
diff changeset
   621
        // sun.security.provider.PolicyFile
90ce3da70b43 Initial load
duke
parents:
diff changeset
   622
90ce3da70b43 Initial load
duke
parents:
diff changeset
   623
        {"java.security.policy: error parsing policy:\n\tmessage",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   624
                "java.security.policy: error parsing {0}:\n\t{1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   625
        {"java.security.policy: error adding Permission, perm:\n\tmessage",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   626
                "java.security.policy: error adding Permission, {0}:\n\t{1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   627
        {"java.security.policy: error adding Entry:\n\tmessage",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   628
                "java.security.policy: error adding Entry:\n\t{0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   629
        {"alias name not provided (pe.name)", "alias name not provided ({0})"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   630
        {"unable to perform substitution on alias, suffix",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   631
                "unable to perform substitution on alias, {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   632
        {"substitution value, prefix, unsupported",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   633
                "substitution value, {0}, unsupported"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   634
        {"(", "("},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   635
        {")", ")"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   636
        {"type can't be null","type can't be null"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   637
90ce3da70b43 Initial load
duke
parents:
diff changeset
   638
        // sun.security.provider.PolicyParser
90ce3da70b43 Initial load
duke
parents:
diff changeset
   639
        {"keystorePasswordURL can not be specified without also specifying keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   640
                "keystorePasswordURL can not be specified without also specifying keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   641
        {"expected keystore type", "expected keystore type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   642
        {"expected keystore provider", "expected keystore provider"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   643
        {"multiple Codebase expressions",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   644
                "multiple Codebase expressions"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   645
        {"multiple SignedBy expressions","multiple SignedBy expressions"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   646
        {"SignedBy has empty alias","SignedBy has empty alias"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   647
        {"can not specify Principal with a wildcard class without a wildcard name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   648
                "can not specify Principal with a wildcard class without a wildcard name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   649
        {"expected codeBase or SignedBy or Principal",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   650
                "expected codeBase or SignedBy or Principal"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   651
        {"expected permission entry", "expected permission entry"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   652
        {"number ", "number "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   653
        {"expected [expect], read [end of file]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   654
                "expected [{0}], read [end of file]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   655
        {"expected [;], read [end of file]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   656
                "expected [;], read [end of file]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   657
        {"line number: msg", "line {0}: {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   658
        {"line number: expected [expect], found [actual]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   659
                "line {0}: expected [{1}], found [{2}]"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   660
        {"null principalClass or principalName",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   661
                "null principalClass or principalName"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   662
90ce3da70b43 Initial load
duke
parents:
diff changeset
   663
        // sun.security.pkcs11.SunPKCS11
90ce3da70b43 Initial load
duke
parents:
diff changeset
   664
        {"PKCS11 Token [providerName] Password: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   665
                "PKCS11 Token [{0}] Password: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   666
90ce3da70b43 Initial load
duke
parents:
diff changeset
   667
        /* --- DEPRECATED --- */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   668
        // javax.security.auth.Policy
90ce3da70b43 Initial load
duke
parents:
diff changeset
   669
        {"unable to instantiate Subject-based policy",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   670
                "unable to instantiate Subject-based policy"}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   671
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   672
90ce3da70b43 Initial load
duke
parents:
diff changeset
   673
90ce3da70b43 Initial load
duke
parents:
diff changeset
   674
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   675
     * Returns the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   676
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   677
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   678
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   679
     * @return the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   680
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   681
    public Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   682
        return contents;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   683
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   684
}
3948
736156ecc24c 6324292: keytool -help is unhelpful
weijun
parents: 3318
diff changeset
   685