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