src/java.base/share/classes/sun/security/tools/keytool/Resources.java
author weijun
Wed, 12 Jul 2017 10:55:40 +0800
changeset 47420 a2bf68a0365f
parent 47216 71c04702a3d5
child 47744 5c2f21c319c4
permissions -rw-r--r--
8182879: Add warnings to keytool when using JKS and JCEKS Reviewed-by: vinnie, ahgross, mullan
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     1
/*
47420
a2bf68a0365f 8182879: Add warnings to keytool when using JKS and JCEKS
weijun
parents: 47216
diff changeset
     2
 * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     4
 *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    10
 *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    15
 * accompanied this code).
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    16
 *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    20
 *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    23
 * questions.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    24
 */
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    25
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    26
package sun.security.tools.keytool;
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    27
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    28
/**
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    29
 * <p> This class represents the <code>ResourceBundle</code>
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    30
 * for the keytool.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    31
 *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    32
 */
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    33
public class Resources extends java.util.ListResourceBundle {
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    34
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    35
    private static final Object[][] contents = {
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    36
        {"NEWLINE", "\n"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    37
        {"STAR",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    38
                "*******************************************"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    39
        {"STARNN",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    40
                "*******************************************\n\n"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    41
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    42
        // keytool: Help part
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    43
        {".OPTION.", " [OPTION]..."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    44
        {"Options.", "Options:"},
45839
6df5e24443fc 8183509: keytool should not allow multiple commands
weijun
parents: 44046
diff changeset
    45
        {"option.1.set.twice", "The %s option is specified multiple times. All except the last one will be ignored."},
6df5e24443fc 8183509: keytool should not allow multiple commands
weijun
parents: 44046
diff changeset
    46
        {"multiple.commands.1.2", "Only one command is allowed: both %1$s and %2$s were specified."},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    47
        {"Use.keytool.help.for.all.available.commands",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    48
                 "Use \"keytool -help\" for all available commands"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    49
        {"Key.and.Certificate.Management.Tool",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    50
                 "Key and Certificate Management Tool"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    51
        {"Commands.", "Commands:"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    52
        {"Use.keytool.command.name.help.for.usage.of.command.name",
24868
89d9bd9eba96 8023197: Pre-configured command line options for keytool and jarsigner
weijun
parents: 20516
diff changeset
    53
                "Use \"keytool -command_name -help\" for usage of command_name.\n" +
89d9bd9eba96 8023197: Pre-configured command line options for keytool and jarsigner
weijun
parents: 20516
diff changeset
    54
                "Use the -conf <url> option to specify a pre-configured options file."},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    55
        // keytool: help: commands
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    56
        {"Generates.a.certificate.request",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    57
                "Generates a certificate request"}, //-certreq
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    58
        {"Changes.an.entry.s.alias",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    59
                "Changes an entry's alias"}, //-changealias
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    60
        {"Deletes.an.entry",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    61
                "Deletes an entry"}, //-delete
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    62
        {"Exports.certificate",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    63
                "Exports certificate"}, //-exportcert
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    64
        {"Generates.a.key.pair",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    65
                "Generates a key pair"}, //-genkeypair
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    66
        {"Generates.a.secret.key",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    67
                "Generates a secret key"}, //-genseckey
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    68
        {"Generates.certificate.from.a.certificate.request",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    69
                "Generates certificate from a certificate request"}, //-gencert
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    70
        {"Generates.CRL", "Generates CRL"}, //-gencrl
20516
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
    71
        {"Generated.keyAlgName.secret.key",
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
    72
                "Generated {0} secret key"}, //-genseckey
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
    73
        {"Generated.keysize.bit.keyAlgName.secret.key",
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
    74
                "Generated {0}-bit {1} secret key"}, //-genseckey
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    75
        {"Imports.entries.from.a.JDK.1.1.x.style.identity.database",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    76
                "Imports entries from a JDK 1.1.x-style identity database"}, //-identitydb
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    77
        {"Imports.a.certificate.or.a.certificate.chain",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    78
                "Imports a certificate or a certificate chain"}, //-importcert
20516
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
    79
        {"Imports.a.password",
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
    80
                "Imports a password"}, //-importpass
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    81
        {"Imports.one.or.all.entries.from.another.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    82
                "Imports one or all entries from another keystore"}, //-importkeystore
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    83
        {"Clones.a.key.entry",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    84
                "Clones a key entry"}, //-keyclone
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    85
        {"Changes.the.key.password.of.an.entry",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    86
                "Changes the key password of an entry"}, //-keypasswd
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    87
        {"Lists.entries.in.a.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    88
                "Lists entries in a keystore"}, //-list
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    89
        {"Prints.the.content.of.a.certificate",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    90
                "Prints the content of a certificate"}, //-printcert
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    91
        {"Prints.the.content.of.a.certificate.request",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    92
                "Prints the content of a certificate request"}, //-printcertreq
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    93
        {"Prints.the.content.of.a.CRL.file",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    94
                "Prints the content of a CRL file"}, //-printcrl
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    95
        {"Generates.a.self.signed.certificate",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    96
                "Generates a self-signed certificate"}, //-selfcert
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    97
        {"Changes.the.store.password.of.a.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    98
                "Changes the store password of a keystore"}, //-storepasswd
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
    99
        // keytool: help: options
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   100
        {"alias.name.of.the.entry.to.process",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   101
                "alias name of the entry to process"}, //-alias
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   102
        {"destination.alias",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   103
                "destination alias"}, //-destalias
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   104
        {"destination.key.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   105
                "destination key password"}, //-destkeypass
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   106
        {"destination.keystore.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   107
                "destination keystore name"}, //-destkeystore
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   108
        {"destination.keystore.password.protected",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   109
                "destination keystore password protected"}, //-destprotected
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   110
        {"destination.keystore.provider.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   111
                "destination keystore provider name"}, //-destprovidername
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   112
        {"destination.keystore.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   113
                "destination keystore password"}, //-deststorepass
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   114
        {"destination.keystore.type",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   115
                "destination keystore type"}, //-deststoretype
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   116
        {"distinguished.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   117
                "distinguished name"}, //-dname
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   118
        {"X.509.extension",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   119
                "X.509 extension"}, //-ext
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   120
        {"output.file.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   121
                "output file name"}, //-file and -outfile
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   122
        {"input.file.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   123
                "input file name"}, //-file and -infile
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   124
        {"key.algorithm.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   125
                "key algorithm name"}, //-keyalg
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   126
        {"key.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   127
                "key password"}, //-keypass
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   128
        {"key.bit.size",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   129
                "key bit size"}, //-keysize
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   130
        {"keystore.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   131
                "keystore name"}, //-keystore
40253
08809866c0bc 8162739: Create new keytool option to access cacerts file
weijun
parents: 39633
diff changeset
   132
        {"access.the.cacerts.keystore",
08809866c0bc 8162739: Create new keytool option to access cacerts file
weijun
parents: 39633
diff changeset
   133
                "access the cacerts keystore"}, // -cacerts
08809866c0bc 8162739: Create new keytool option to access cacerts file
weijun
parents: 39633
diff changeset
   134
        {"warning.cacerts.option",
08809866c0bc 8162739: Create new keytool option to access cacerts file
weijun
parents: 39633
diff changeset
   135
                "Warning: use -cacerts option to access cacerts keystore"},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   136
        {"new.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   137
                "new password"}, //-new
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   138
        {"do.not.prompt",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   139
                "do not prompt"}, //-noprompt
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   140
        {"password.through.protected.mechanism",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   141
                "password through protected mechanism"}, //-protected
39633
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   142
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   143
        // The following 2 values should span 2 lines, the first for the
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   144
        // option itself, the second for its -providerArg value.
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   145
        {"addprovider.option",
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   146
                "add security provider by name (e.g. SunPKCS11)\n" +
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   147
                        "configure argument for -addprovider"}, //-addprovider
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   148
        {"provider.class.option",
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   149
                "add security provider by fully-qualified class name\n" +
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   150
                        "configure argument for -providerclass"}, //-providerclass
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   151
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   152
        {"provider.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   153
                "provider name"}, //-providername
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   154
        {"provider.classpath",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   155
                "provider classpath"}, //-providerpath
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   156
        {"output.in.RFC.style",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   157
                "output in RFC style"}, //-rfc
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   158
        {"signature.algorithm.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   159
                "signature algorithm name"}, //-sigalg
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   160
        {"source.alias",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   161
                "source alias"}, //-srcalias
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   162
        {"source.key.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   163
                "source key password"}, //-srckeypass
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   164
        {"source.keystore.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   165
                "source keystore name"}, //-srckeystore
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   166
        {"source.keystore.password.protected",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   167
                "source keystore password protected"}, //-srcprotected
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   168
        {"source.keystore.provider.name",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   169
                "source keystore provider name"}, //-srcprovidername
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   170
        {"source.keystore.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   171
                "source keystore password"}, //-srcstorepass
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   172
        {"source.keystore.type",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   173
                "source keystore type"}, //-srcstoretype
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   174
        {"SSL.server.host.and.port",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   175
                "SSL server host and port"}, //-sslserver
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   176
        {"signed.jar.file",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   177
                "signed jar file"}, //=jarfile
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   178
        {"certificate.validity.start.date.time",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   179
                "certificate validity start date/time"}, //-startdate
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   180
        {"keystore.password",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   181
                "keystore password"}, //-storepass
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   182
        {"keystore.type",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   183
                "keystore type"}, //-storetype
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   184
        {"trust.certificates.from.cacerts",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   185
                "trust certificates from cacerts"}, //-trustcacerts
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   186
        {"verbose.output",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   187
                "verbose output"}, //-v
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   188
        {"validity.number.of.days",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   189
                "validity number of days"}, //-validity
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   190
        {"Serial.ID.of.cert.to.revoke",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   191
                 "Serial ID of cert to revoke"}, //-id
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   192
        // keytool: Running part
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   193
        {"keytool.error.", "keytool error: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   194
        {"Illegal.option.", "Illegal option:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   195
        {"Illegal.value.", "Illegal value: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   196
        {"Unknown.password.type.", "Unknown password type: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   197
        {"Cannot.find.environment.variable.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   198
                "Cannot find environment variable: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   199
        {"Cannot.find.file.", "Cannot find file: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   200
        {"Command.option.flag.needs.an.argument.", "Command option {0} needs an argument."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   201
        {"Warning.Different.store.and.key.passwords.not.supported.for.PKCS12.KeyStores.Ignoring.user.specified.command.value.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   202
                "Warning:  Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified {0} value."},
40253
08809866c0bc 8162739: Create new keytool option to access cacerts file
weijun
parents: 39633
diff changeset
   203
        {"the.keystore.or.storetype.option.cannot.be.used.with.the.cacerts.option",
08809866c0bc 8162739: Create new keytool option to access cacerts file
weijun
parents: 39633
diff changeset
   204
            "The -keystore or -storetype option cannot be used with the -cacerts option"},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   205
        {".keystore.must.be.NONE.if.storetype.is.{0}",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   206
                "-keystore must be NONE if -storetype is {0}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   207
        {"Too.many.retries.program.terminated",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   208
                 "Too many retries, program terminated"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   209
        {".storepasswd.and.keypasswd.commands.not.supported.if.storetype.is.{0}",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   210
                "-storepasswd and -keypasswd commands not supported if -storetype is {0}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   211
        {".keypasswd.commands.not.supported.if.storetype.is.PKCS12",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   212
                "-keypasswd commands not supported if -storetype is PKCS12"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   213
        {".keypass.and.new.can.not.be.specified.if.storetype.is.{0}",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   214
                "-keypass and -new can not be specified if -storetype is {0}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   215
        {"if.protected.is.specified.then.storepass.keypass.and.new.must.not.be.specified",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   216
                "if -protected is specified, then -storepass, -keypass, and -new must not be specified"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   217
        {"if.srcprotected.is.specified.then.srcstorepass.and.srckeypass.must.not.be.specified",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   218
                "if -srcprotected is specified, then -srcstorepass and -srckeypass must not be specified"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   219
        {"if.keystore.is.not.password.protected.then.storepass.keypass.and.new.must.not.be.specified",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   220
                "if keystore is not password protected, then -storepass, -keypass, and -new must not be specified"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   221
        {"if.source.keystore.is.not.password.protected.then.srcstorepass.and.srckeypass.must.not.be.specified",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   222
                "if source keystore is not password protected, then -srcstorepass and -srckeypass must not be specified"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   223
        {"Illegal.startdate.value", "Illegal startdate value"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   224
        {"Validity.must.be.greater.than.zero",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   225
                "Validity must be greater than zero"},
39633
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   226
        {"provclass.not.a.provider", "%s not a provider"},
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   227
        {"provider.name.not.found", "Provider named \"%s\" not found"},
9dc7586be5f0 8130302: jarsigner and keytool -providerClass needs be re-examined for modules
weijun
parents: 34381
diff changeset
   228
        {"provider.class.not.found", "Provider \"%s\" not found"},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   229
        {"Usage.error.no.command.provided", "Usage error: no command provided"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   230
        {"Source.keystore.file.exists.but.is.empty.", "Source keystore file exists, but is empty: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   231
        {"Please.specify.srckeystore", "Please specify -srckeystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   232
        {"Must.not.specify.both.v.and.rfc.with.list.command",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   233
                "Must not specify both -v and -rfc with 'list' command"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   234
        {"Key.password.must.be.at.least.6.characters",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   235
                "Key password must be at least 6 characters"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   236
        {"New.password.must.be.at.least.6.characters",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   237
                "New password must be at least 6 characters"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   238
        {"Keystore.file.exists.but.is.empty.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   239
                "Keystore file exists, but is empty: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   240
        {"Keystore.file.does.not.exist.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   241
                "Keystore file does not exist: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   242
        {"Must.specify.destination.alias", "Must specify destination alias"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   243
        {"Must.specify.alias", "Must specify alias"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   244
        {"Keystore.password.must.be.at.least.6.characters",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   245
                "Keystore password must be at least 6 characters"},
20516
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
   246
        {"Enter.the.password.to.be.stored.",
fa2edce67c48 8008296: keytool utility doesn't support '-importpassword' command
vinnie
parents: 16720
diff changeset
   247
                "Enter the password to be stored:  "},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   248
        {"Enter.keystore.password.", "Enter keystore password:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   249
        {"Enter.source.keystore.password.", "Enter source keystore password:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   250
        {"Enter.destination.keystore.password.", "Enter destination keystore password:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   251
        {"Keystore.password.is.too.short.must.be.at.least.6.characters",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   252
         "Keystore password is too short - must be at least 6 characters"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   253
        {"Unknown.Entry.Type", "Unknown Entry Type"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   254
        {"Too.many.failures.Alias.not.changed", "Too many failures. Alias not changed"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   255
        {"Entry.for.alias.alias.successfully.imported.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   256
                 "Entry for alias {0} successfully imported."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   257
        {"Entry.for.alias.alias.not.imported.", "Entry for alias {0} not imported."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   258
        {"Problem.importing.entry.for.alias.alias.exception.Entry.for.alias.alias.not.imported.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   259
                 "Problem importing entry for alias {0}: {1}.\nEntry for alias {0} not imported."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   260
        {"Import.command.completed.ok.entries.successfully.imported.fail.entries.failed.or.cancelled",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   261
                 "Import command completed:  {0} entries successfully imported, {1} entries failed or cancelled"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   262
        {"Warning.Overwriting.existing.alias.alias.in.destination.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   263
                 "Warning: Overwriting existing alias {0} in destination keystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   264
        {"Existing.entry.alias.alias.exists.overwrite.no.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   265
                 "Existing entry alias {0} exists, overwrite? [no]:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   266
        {"Too.many.failures.try.later", "Too many failures - try later"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   267
        {"Certification.request.stored.in.file.filename.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   268
                "Certification request stored in file <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   269
        {"Submit.this.to.your.CA", "Submit this to your CA"},
16720
0e7e9e6ed98a 8010125: keytool -importkeystore could create a pkcs12 keystore with different storepass and keypass
weijun
parents: 14182
diff changeset
   270
        {"if.alias.not.specified.destalias.and.srckeypass.must.not.be.specified",
0e7e9e6ed98a 8010125: keytool -importkeystore could create a pkcs12 keystore with different storepass and keypass
weijun
parents: 14182
diff changeset
   271
            "if alias not specified, destalias and srckeypass must not be specified"},
0e7e9e6ed98a 8010125: keytool -importkeystore could create a pkcs12 keystore with different storepass and keypass
weijun
parents: 14182
diff changeset
   272
        {"The.destination.pkcs12.keystore.has.different.storepass.and.keypass.Please.retry.with.destkeypass.specified.",
0e7e9e6ed98a 8010125: keytool -importkeystore could create a pkcs12 keystore with different storepass and keypass
weijun
parents: 14182
diff changeset
   273
            "The destination pkcs12 keystore has different storepass and keypass. Please retry with -destkeypass specified."},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   274
        {"Certificate.stored.in.file.filename.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   275
                "Certificate stored in file <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   276
        {"Certificate.reply.was.installed.in.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   277
                "Certificate reply was installed in keystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   278
        {"Certificate.reply.was.not.installed.in.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   279
                "Certificate reply was not installed in keystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   280
        {"Certificate.was.added.to.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   281
                "Certificate was added to keystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   282
        {"Certificate.was.not.added.to.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   283
                "Certificate was not added to keystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   284
        {".Storing.ksfname.", "[Storing {0}]"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   285
        {"alias.has.no.public.key.certificate.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   286
                "{0} has no public key (certificate)"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   287
        {"Cannot.derive.signature.algorithm",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   288
                "Cannot derive signature algorithm"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   289
        {"Alias.alias.does.not.exist",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   290
                "Alias <{0}> does not exist"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   291
        {"Alias.alias.has.no.certificate",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   292
                "Alias <{0}> has no certificate"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   293
        {"Key.pair.not.generated.alias.alias.already.exists",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   294
                "Key pair not generated, alias <{0}> already exists"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   295
        {"Generating.keysize.bit.keyAlgName.key.pair.and.self.signed.certificate.sigAlgName.with.a.validity.of.validality.days.for",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   296
                "Generating {0} bit {1} key pair and self-signed certificate ({2}) with a validity of {3} days\n\tfor: {4}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   297
        {"Enter.key.password.for.alias.", "Enter key password for <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   298
        {".RETURN.if.same.as.keystore.password.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   299
                "\t(RETURN if same as keystore password):  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   300
        {"Key.password.is.too.short.must.be.at.least.6.characters",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   301
                "Key password is too short - must be at least 6 characters"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   302
        {"Too.many.failures.key.not.added.to.keystore",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   303
                "Too many failures - key not added to keystore"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   304
        {"Destination.alias.dest.already.exists",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   305
                "Destination alias <{0}> already exists"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   306
        {"Password.is.too.short.must.be.at.least.6.characters",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   307
                "Password is too short - must be at least 6 characters"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   308
        {"Too.many.failures.Key.entry.not.cloned",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   309
                "Too many failures. Key entry not cloned"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   310
        {"key.password.for.alias.", "key password for <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   311
        {"Keystore.entry.for.id.getName.already.exists",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   312
                "Keystore entry for <{0}> already exists"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   313
        {"Creating.keystore.entry.for.id.getName.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   314
                "Creating keystore entry for <{0}> ..."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   315
        {"No.entries.from.identity.database.added",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   316
                "No entries from identity database added"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   317
        {"Alias.name.alias", "Alias name: {0}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   318
        {"Creation.date.keyStore.getCreationDate.alias.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   319
                "Creation date: {0,date}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   320
        {"alias.keyStore.getCreationDate.alias.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   321
                "{0}, {1,date}, "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   322
        {"alias.", "{0}, "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   323
        {"Entry.type.type.", "Entry type: {0}"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   324
        {"Certificate.chain.length.", "Certificate chain length: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   325
        {"Certificate.i.1.", "Certificate[{0,number,integer}]:"},
34381
be5600f6a4da 8141457: keytool default cert fingerprint algorithm should be SHA-256
weijun
parents: 27038
diff changeset
   326
        {"Certificate.fingerprint.SHA.256.", "Certificate fingerprint (SHA-256): "},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   327
        {"Keystore.type.", "Keystore type: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   328
        {"Keystore.provider.", "Keystore provider: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   329
        {"Your.keystore.contains.keyStore.size.entry",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   330
                "Your keystore contains {0,number,integer} entry"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   331
        {"Your.keystore.contains.keyStore.size.entries",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   332
                "Your keystore contains {0,number,integer} entries"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   333
        {"Failed.to.parse.input", "Failed to parse input"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   334
        {"Empty.input", "Empty input"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   335
        {"Not.X.509.certificate", "Not X.509 certificate"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   336
        {"alias.has.no.public.key", "{0} has no public key"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   337
        {"alias.has.no.X.509.certificate", "{0} has no X.509 certificate"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   338
        {"New.certificate.self.signed.", "New certificate (self-signed):"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   339
        {"Reply.has.no.certificates", "Reply has no certificates"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   340
        {"Certificate.not.imported.alias.alias.already.exists",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   341
                "Certificate not imported, alias <{0}> already exists"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   342
        {"Input.not.an.X.509.certificate", "Input not an X.509 certificate"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   343
        {"Certificate.already.exists.in.keystore.under.alias.trustalias.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   344
                "Certificate already exists in keystore under alias <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   345
        {"Do.you.still.want.to.add.it.no.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   346
                "Do you still want to add it? [no]:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   347
        {"Certificate.already.exists.in.system.wide.CA.keystore.under.alias.trustalias.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   348
                "Certificate already exists in system-wide CA keystore under alias <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   349
        {"Do.you.still.want.to.add.it.to.your.own.keystore.no.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   350
                "Do you still want to add it to your own keystore? [no]:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   351
        {"Trust.this.certificate.no.", "Trust this certificate? [no]:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   352
        {"YES", "YES"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   353
        {"New.prompt.", "New {0}: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   354
        {"Passwords.must.differ", "Passwords must differ"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   355
        {"Re.enter.new.prompt.", "Re-enter new {0}: "},
26866
481a9b9b4190 8059462: Typo in keytool resource file
vinnie
parents: 25859
diff changeset
   356
        {"Re.enter.password.", "Re-enter password: "},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   357
        {"Re.enter.new.password.", "Re-enter new password: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   358
        {"They.don.t.match.Try.again", "They don't match. Try again"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   359
        {"Enter.prompt.alias.name.", "Enter {0} alias name:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   360
        {"Enter.new.alias.name.RETURN.to.cancel.import.for.this.entry.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   361
                 "Enter new alias name\t(RETURN to cancel import for this entry):  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   362
        {"Enter.alias.name.", "Enter alias name:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   363
        {".RETURN.if.same.as.for.otherAlias.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   364
                "\t(RETURN if same as for <{0}>)"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   365
        {"What.is.your.first.and.last.name.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   366
                "What is your first and last name?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   367
        {"What.is.the.name.of.your.organizational.unit.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   368
                "What is the name of your organizational unit?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   369
        {"What.is.the.name.of.your.organization.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   370
                "What is the name of your organization?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   371
        {"What.is.the.name.of.your.City.or.Locality.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   372
                "What is the name of your City or Locality?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   373
        {"What.is.the.name.of.your.State.or.Province.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   374
                "What is the name of your State or Province?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   375
        {"What.is.the.two.letter.country.code.for.this.unit.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   376
                "What is the two-letter country code for this unit?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   377
        {"Is.name.correct.", "Is {0} correct?"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   378
        {"no", "no"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   379
        {"yes", "yes"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   380
        {"y", "y"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   381
        {".defaultValue.", "  [{0}]:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   382
        {"Alias.alias.has.no.key",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   383
                "Alias <{0}> has no key"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   384
        {"Alias.alias.references.an.entry.type.that.is.not.a.private.key.entry.The.keyclone.command.only.supports.cloning.of.private.key",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   385
                 "Alias <{0}> references an entry type that is not a private key entry.  The -keyclone command only supports cloning of private key entries"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   386
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   387
        {".WARNING.WARNING.WARNING.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   388
            "*****************  WARNING WARNING WARNING  *****************"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   389
        {"Signer.d.", "Signer #%d:"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   390
        {"Timestamp.", "Timestamp:"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   391
        {"Signature.", "Signature:"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   392
        {"CRLs.", "CRLs:"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   393
        {"Certificate.owner.", "Certificate owner: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   394
        {"Not.a.signed.jar.file", "Not a signed jar file"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   395
        {"No.certificate.from.the.SSL.server",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   396
                "No certificate from the SSL server"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   397
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   398
        {".The.integrity.of.the.information.stored.in.your.keystore.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   399
            "* The integrity of the information stored in your keystore  *\n" +
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   400
            "* has NOT been verified!  In order to verify its integrity, *\n" +
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   401
            "* you must provide your keystore password.                  *"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   402
        {".The.integrity.of.the.information.stored.in.the.srckeystore.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   403
            "* The integrity of the information stored in the srckeystore*\n" +
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   404
            "* has NOT been verified!  In order to verify its integrity, *\n" +
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   405
            "* you must provide the srckeystore password.                *"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   406
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   407
        {"Certificate.reply.does.not.contain.public.key.for.alias.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   408
                "Certificate reply does not contain public key for <{0}>"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   409
        {"Incomplete.certificate.chain.in.reply",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   410
                "Incomplete certificate chain in reply"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   411
        {"Certificate.chain.in.reply.does.not.verify.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   412
                "Certificate chain in reply does not verify: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   413
        {"Top.level.certificate.in.reply.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   414
                "Top-level certificate in reply:\n"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   415
        {".is.not.trusted.", "... is not trusted. "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   416
        {"Install.reply.anyway.no.", "Install reply anyway? [no]:  "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   417
        {"NO", "NO"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   418
        {"Public.keys.in.reply.and.keystore.don.t.match",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   419
                "Public keys in reply and keystore don't match"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   420
        {"Certificate.reply.and.certificate.in.keystore.are.identical",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   421
                "Certificate reply and certificate in keystore are identical"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   422
        {"Failed.to.establish.chain.from.reply",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   423
                "Failed to establish chain from reply"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   424
        {"n", "n"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   425
        {"Wrong.answer.try.again", "Wrong answer, try again"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   426
        {"Secret.key.not.generated.alias.alias.already.exists",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   427
                "Secret Key not generated, alias <{0}> already exists"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   428
        {"Please.provide.keysize.for.secret.key.generation",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   429
                "Please provide -keysize for secret key generation"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   430
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   431
        {"warning.not.verified.make.sure.keystore.is.correct",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   432
            "WARNING: not verified. Make sure -keystore is correct."},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   433
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   434
        {"Extensions.", "Extensions: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   435
        {".Empty.value.", "(Empty value)"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   436
        {"Extension.Request.", "Extension Request:"},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   437
        {"Unknown.keyUsage.type.", "Unknown keyUsage type: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   438
        {"Unknown.extendedkeyUsage.type.", "Unknown extendedkeyUsage type: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   439
        {"Unknown.AccessDescription.type.", "Unknown AccessDescription type: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   440
        {"Unrecognized.GeneralName.type.", "Unrecognized GeneralName type: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   441
        {"This.extension.cannot.be.marked.as.critical.",
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   442
                 "This extension cannot be marked as critical. "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   443
        {"Odd.number.of.hex.digits.found.", "Odd number of hex digits found: "},
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   444
        {"Unknown.extension.type.", "Unknown extension type: "},
44046
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   445
        {"command.{0}.is.ambiguous.", "command {0} is ambiguous:"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   446
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   447
        // 8171319: keytool should print out warnings when reading or
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   448
        // generating cert/cert req using weak algorithms
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   449
        {"the.certificate.request", "The certificate request"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   450
        {"the.issuer", "The issuer"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   451
        {"the.generated.certificate", "The generated certificate"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   452
        {"the.generated.crl", "The generated CRL"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   453
        {"the.generated.certificate.request", "The generated certificate request"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   454
        {"the.certificate", "The certificate"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   455
        {"the.crl", "The CRL"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   456
        {"the.tsa.certificate", "The TSA certificate"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   457
        {"the.input", "The input"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   458
        {"reply", "Reply"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   459
        {"one.in.many", "%s #%d of %d"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   460
        {"alias.in.cacerts", "Issuer <%s> in cacerts"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   461
        {"alias.in.keystore", "Issuer <%s>"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   462
        {"with.weak", "%s (weak)"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   463
        {"key.bit", "%d-bit %s key"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   464
        {"key.bit.weak", "%d-bit %s key (weak)"},
46139
5196af754957 8185934: keytool shows "Signature algorithm: SHA1withECDSA, -1-bit key"
weijun
parents: 45839
diff changeset
   465
        {"unknown.size.1", "unknown size %s key"},
44046
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   466
        {".PATTERN.printX509Cert.with.weak",
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   467
                "Owner: {0}\nIssuer: {1}\nSerial number: {2}\nValid from: {3} until: {4}\nCertificate fingerprints:\n\t SHA1: {5}\n\t SHA256: {6}\nSignature algorithm name: {7}\nSubject Public Key Algorithm: {8}\nVersion: {9}"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   468
        {"PKCS.10.with.weak",
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   469
                "PKCS #10 Certificate Request (Version 1.0)\n" +
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   470
                        "Subject: %s\nFormat: %s\nPublic Key: %s\nSignature algorithm: %s\n"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   471
        {"verified.by.s.in.s.weak", "Verified by %s in %s with a %s"},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   472
        {"whose.sigalg.risk", "%s uses the %s signature algorithm which is considered a security risk."},
762e807bfac1 8171319: keytool should print out warnings when reading or generating cert/cert req using weak algorithms
weijun
parents: 40253
diff changeset
   473
        {"whose.key.risk", "%s uses a %s which is considered a security risk."},
47420
a2bf68a0365f 8182879: Add warnings to keytool when using JKS and JCEKS
weijun
parents: 47216
diff changeset
   474
        {"jks.storetype.warning", "The %1$s keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using \"keytool -importkeystore -srckeystore %2$s -destkeystore %2$s -deststoretype pkcs12\"."},
a2bf68a0365f 8182879: Add warnings to keytool when using JKS and JCEKS
weijun
parents: 47216
diff changeset
   475
        {"migrate.keystore.warning", "Migrated \"%1$s\" to %4$s. The %2$s keystore is backed up as \"%3$s\"."},
a2bf68a0365f 8182879: Add warnings to keytool when using JKS and JCEKS
weijun
parents: 47216
diff changeset
   476
        {"backup.keystore.warning", "The original keystore \"%1$s\" is backed up as \"%3$s\"..."},
a2bf68a0365f 8182879: Add warnings to keytool when using JKS and JCEKS
weijun
parents: 47216
diff changeset
   477
        {"importing.keystore.status", "Importing keystore %1$s to %2$s..."},
14182
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   478
    };
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   479
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   480
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   481
    /**
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   482
     * Returns the contents of this <code>ResourceBundle</code>.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   483
     *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   484
     * <p>
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   485
     *
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   486
     * @return the contents of this <code>ResourceBundle</code>.
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   487
     */
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   488
    @Override
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   489
    public Object[][] getContents() {
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   490
        return contents;
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   491
    }
3041082abb40 7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
diff changeset
   492
}