jdk/src/share/classes/sun/security/tools/JarSignerResources.java
author ohair
Tue, 25 May 2010 15:58:33 -0700
changeset 5506 202f599c92aa
parent 5462 cb614e59f7f9
child 7179 4afb81e50183
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
     2
 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5462
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package sun.security.tools;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 * <p> This class represents the <code>ResourceBundle</code>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * for JarSigner.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
public class JarSignerResources extends java.util.ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    private static final Object[][] contents = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
        // shared (from jarsigner)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
        {" ", " "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
        {"  ", "  "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
        {"      ", "      "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
        {", ", ", "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
        {"provName not a provider", "{0} not a provider"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
        {"signerClass is not a signing mechanism", "{0} is not a signing mechanism"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
        {"jarsigner error: ", "jarsigner error: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
        {"Illegal option: ", "Illegal option: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
        {"-keystore must be NONE if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
                "-keystore must be NONE if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
        {"-keypass can not be specified if -storetype is {0}",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
                "-keypass can not be specified if -storetype is {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
        {"If -protected is specified, then -storepass and -keypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
                "If -protected is specified, then -storepass and -keypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        {"If keystore is not password protected, then -storepass and -keypass must not be specified",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
                 "If keystore is not password protected, then -storepass and -keypass must not be specified"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
        {"Usage: jarsigner [options] jar-file alias",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                "Usage: jarsigner [options] jar-file alias"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    57
        {"       jarsigner -verify [options] jar-file [alias...]",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    58
                "       jarsigner -verify [options] jar-file [alias...]"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        {"[-keystore <url>]           keystore location",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
                "[-keystore <url>]           keystore location"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        {"[-storepass <password>]     password for keystore integrity",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
            "[-storepass <password>]     password for keystore integrity"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
        {"[-storetype <type>]         keystore type",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
                "[-storetype <type>]         keystore type"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
        {"[-keypass <password>]       password for private key (if different)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                "[-keypass <password>]       password for private key (if different)"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    67
        {"[-certchain <file>]         name of alternative certchain file",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    68
                "[-certchain <file>]         name of alternative certchain file"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
        {"[-sigfile <file>]           name of .SF/.DSA file",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
                "[-sigfile <file>]           name of .SF/.DSA file"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
        {"[-signedjar <file>]         name of signed JAR file",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
                "[-signedjar <file>]         name of signed JAR file"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
        {"[-digestalg <algorithm>]    name of digest algorithm",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
                "[-digestalg <algorithm>]    name of digest algorithm"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        {"[-sigalg <algorithm>]       name of signature algorithm",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
                "[-sigalg <algorithm>]       name of signature algorithm"},
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 2432
diff changeset
    77
        {"[-crl[:auto| <file>]        include CRL in signed jar",
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 2432
diff changeset
    78
                "[-crl[:auto| <file>]        include CRL in signed jar"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
        {"[-verify]                   verify a signed JAR file",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
                "[-verify]                   verify a signed JAR file"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    81
        {"[-verbose[:suboptions]]     verbose output when signing/verifying.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    82
                "[-verbose[:suboptions]]     verbose output when signing/verifying."},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    83
        {"                            suboptions can be all, grouped or summary",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
    84
                "                            suboptions can be all, grouped or summary"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        {"[-certs]                    display certificates when verbose and verifying",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
                "[-certs]                    display certificates when verbose and verifying"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        {"[-tsa <url>]                location of the Timestamping Authority",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                "[-tsa <url>]                location of the Timestamping Authority"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        {"[-tsacert <alias>]          public key certificate for Timestamping Authority",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
                "[-tsacert <alias>]          public key certificate for Timestamping Authority"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
        {"[-altsigner <class>]        class name of an alternative signing mechanism",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
                "[-altsigner <class>]        class name of an alternative signing mechanism"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        {"[-altsignerpath <pathlist>] location of an alternative signing mechanism",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                "[-altsignerpath <pathlist>] location of an alternative signing mechanism"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
        {"[-internalsf]               include the .SF file inside the signature block",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
                "[-internalsf]               include the .SF file inside the signature block"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        {"[-sectionsonly]             don't compute hash of entire manifest",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
                "[-sectionsonly]             don't compute hash of entire manifest"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
        {"[-protected]                keystore has protected authentication path",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
                "[-protected]                keystore has protected authentication path"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        {"[-providerName <name>]      provider name",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
                "[-providerName <name>]      provider name"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        {"[-providerClass <class>     name of cryptographic service provider's",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                "[-providerClass <class>     name of cryptographic service provider's"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        {"  [-providerArg <arg>]] ... master class file and constructor argument",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
                "  [-providerArg <arg>]] ... master class file and constructor argument"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   107
        {"[-strict]                   treat warnings as errors",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   108
                "[-strict]                   treat warnings as errors"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   109
        {"Option lacks argument", "Option lacks argument"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   110
        {"Please type jarsigner -help for usage", "Please type jarsigner -help for usage"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   111
        {"Please specify jarfile name", "Please specify jarfile name"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   112
        {"Please specify alias name", "Please specify alias name"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   113
        {"Only one alias can be specified", "Only one alias can be specified"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   114
        {"This jar contains signed entries which is not signed by the specified alias(es).",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   115
                 "This jar contains signed entries which is not signed by the specified alias(es)."},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   116
        {"This jar contains signed entries that's not signed by alias in this keystore.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   117
                  "This jar contains signed entries that's not signed by alias in this keystore."},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
        {"s", "s"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
        {"m", "m"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        {"k", "k"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        {"i", "i"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   122
        {"(and %d more)", "(and %d more)"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        {"  s = signature was verified ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
                "  s = signature was verified "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        {"  m = entry is listed in manifest",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
                "  m = entry is listed in manifest"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        {"  k = at least one certificate was found in keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
                "  k = at least one certificate was found in keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
        {"  i = at least one certificate was found in identity scope",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
                "  i = at least one certificate was found in identity scope"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   131
        {"  X = not signed by specified alias(es)",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   132
                "  X = not signed by specified alias(es)"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
        {"no manifest.", "no manifest."},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   134
        {"(Signature related entries)","(Signature related entries)"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   135
        {"(Unsigned entries)", "(Unsigned entries)"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        {"jar is unsigned. (signatures missing or not parsable)",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
                "jar is unsigned. (signatures missing or not parsable)"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
        {"jar verified.", "jar verified."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        {"jarsigner: ", "jarsigner: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
        {"signature filename must consist of the following characters: A-Z, 0-9, _ or -",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
                "signature filename must consist of the following characters: A-Z, 0-9, _ or -"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
        {"unable to open jar file: ", "unable to open jar file: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
        {"unable to create: ", "unable to create: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
        {"   adding: ", "   adding: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
        {" updating: ", " updating: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
        {"  signing: ", "  signing: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
        {"attempt to rename signedJarFile to jarFile failed",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
                "attempt to rename {0} to {1} failed"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
        {"attempt to rename jarFile to origJar failed",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
                "attempt to rename {0} to {1} failed"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
        {"unable to sign jar: ", "unable to sign jar: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
        {"Enter Passphrase for keystore: ", "Enter Passphrase for keystore: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        {"keystore load: ", "keystore load: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
        {"certificate exception: ", "certificate exception: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
        {"unable to instantiate keystore class: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
                "unable to instantiate keystore class: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
        {"Certificate chain not found for: alias.  alias must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
                "Certificate chain not found for: {0}.  {1} must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain."},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   159
        {"File specified by -certchain does not exist",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   160
                "File specified by -certchain does not exist"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   161
        {"Cannot restore certchain from file specified",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   162
                "Cannot restore certchain from file specified"},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   163
        {"Certificate chain not found in the file specified.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   164
                "Certificate chain not found in the file specified."},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
        {"found non-X.509 certificate in signer's chain",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
                "found non-X.509 certificate in signer's chain"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
        {"incomplete certificate chain", "incomplete certificate chain"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        {"Enter key password for alias: ", "Enter key password for {0}: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
        {"unable to recover key from keystore",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
                "unable to recover key from keystore"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        {"key associated with alias not a private key",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
                "key associated with {0} not a private key"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
        {"you must enter key password", "you must enter key password"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
        {"unable to read password: ", "unable to read password: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
        {"certificate is valid from", "certificate is valid from {0} to {1}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
        {"certificate expired on", "certificate expired on {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
        {"certificate is not valid until",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
                "certificate is not valid until {0}"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
        {"certificate will expire on", "certificate will expire on {0}"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   180
        {"[CertPath not validated: ", "[CertPath not validated: "},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        {"requesting a signature timestamp",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
                "requesting a signature timestamp"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        {"TSA location: ", "TSA location: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
        {"TSA certificate: ", "TSA certificate: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        {"no response from the Timestamping Authority. ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
                "no response from the Timestamping Authority. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
        {"When connecting from behind a firewall then an HTTP proxy may need to be specified. ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
                "When connecting from behind a firewall then an HTTP proxy may need to be specified. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
        {"Supply the following options to jarsigner: ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
                "Supply the following options to jarsigner: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
        {"Certificate not found for: alias.  alias must reference a valid KeyStore entry containing an X.509 public key certificate for the Timestamping Authority.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
                "Certificate not found for: {0}.  {1} must reference a valid KeyStore entry containing an X.509 public key certificate for the Timestamping Authority."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
        {"using an alternative signing mechanism",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
                "using an alternative signing mechanism"},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
        {"entry was signed on", "entry was signed on {0}"},
5462
cb614e59f7f9 6890876: jarsigner can add CRL info into signed jar
weijun
parents: 2432
diff changeset
   196
        {"with a CRL including %d entries", "with a CRL including %d entries"},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
        {"Warning: ", "Warning: "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
        {"This jar contains unsigned entries which have not been integrity-checked. ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
                "This jar contains unsigned entries which have not been integrity-checked. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
        {"This jar contains entries whose signer certificate has expired. ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
                "This jar contains entries whose signer certificate has expired. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
        {"This jar contains entries whose signer certificate will expire within six months. ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
                "This jar contains entries whose signer certificate will expire within six months. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
        {"This jar contains entries whose signer certificate is not yet valid. ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
                "This jar contains entries whose signer certificate is not yet valid. "},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        {"Re-run with the -verbose option for more details.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
                "Re-run with the -verbose option for more details."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
        {"Re-run with the -verbose and -certs options for more details.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
                "Re-run with the -verbose and -certs options for more details."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
        {"The signer certificate has expired.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
                "The signer certificate has expired."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
        {"The signer certificate will expire within six months.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
                "The signer certificate will expire within six months."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
        {"The signer certificate is not yet valid.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
                "The signer certificate is not yet valid."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
        {"The signer certificate's KeyUsage extension doesn't allow code signing.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
                 "The signer certificate's KeyUsage extension doesn't allow code signing."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
        {"The signer certificate's ExtendedKeyUsage extension doesn't allow code signing.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
                 "The signer certificate's ExtendedKeyUsage extension doesn't allow code signing."},
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        {"The signer certificate's NetscapeCertType extension doesn't allow code signing.",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
                 "The signer certificate's NetscapeCertType extension doesn't allow code signing."},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   222
        {"This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   223
                 "This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing."},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   224
        {"This jar contains entries whose signer certificate's ExtendedKeyUsage extension doesn't allow code signing.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   225
                 "This jar contains entries whose signer certificate's ExtendedKeyUsage extension doesn't allow code signing."},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   226
        {"This jar contains entries whose signer certificate's NetscapeCertType extension doesn't allow code signing.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   227
                 "This jar contains entries whose signer certificate's NetscapeCertType extension doesn't allow code signing."},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
        {"[{0} extension does not support code signing]",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
                 "[{0} extension does not support code signing]"},
2432
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   230
        {"The signer's certificate chain is not validated.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   231
                "The signer's certificate chain is not validated."},
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   232
        {"This jar contains entries whose certificate chain is not validated.",
dc17f417ef85 6802846: jarsigner needs enhanced cert validation(options)
weijun
parents: 2
diff changeset
   233
                 "This jar contains entries whose certificate chain is not validated."},
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
     * Returns the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
     * <p>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
     * @return the contents of this <code>ResourceBundle</code>.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
    public Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
        return contents;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
}