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