author | weijun |
Mon, 21 Apr 2014 10:26:03 +0800 | |
changeset 24034 | 31fe17eef94a |
parent 23010 | 6dadb192ad81 |
child 24868 | 89d9bd9eba96 |
permissions | -rw-r--r-- |
2 | 1 |
/* |
23010
6dadb192ad81
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents:
22324
diff
changeset
|
2 |
* Copyright (c) 2000, 2013, 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 |
||
14182
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
26 |
package sun.security.tools.jarsigner; |
2 | 27 |
|
28 |
/** |
|
29 |
* <p> This class represents the <code>ResourceBundle</code> |
|
30 |
* for JarSigner. |
|
31 |
* |
|
32 |
*/ |
|
14182
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
33 |
public class Resources extends java.util.ListResourceBundle { |
2 | 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 |
{".verify.verify.a.signed.JAR.file", |
2 | 78 |
"[-verify] verify a signed JAR file"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
79 |
{".verbose.suboptions.verbose.output.when.signing.verifying.", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
80 |
"[-verbose[:suboptions]] verbose output when signing/verifying."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
81 |
{".suboptions.can.be.all.grouped.or.summary", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
82 |
" suboptions can be all, grouped or summary"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
83 |
{".certs.display.certificates.when.verbose.and.verifying", |
2 | 84 |
"[-certs] display certificates when verbose and verifying"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
85 |
{".tsa.url.location.of.the.Timestamping.Authority", |
2 | 86 |
"[-tsa <url>] location of the Timestamping Authority"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
87 |
{".tsacert.alias.public.key.certificate.for.Timestamping.Authority", |
2 | 88 |
"[-tsacert <alias>] public key certificate for Timestamping Authority"}, |
17161
df1ec0e2f0e7
8009636: JARSigner including TimeStamp PolicyID (TSAPolicyID) as defined in RFC3161
weijun
parents:
14182
diff
changeset
|
89 |
{".tsapolicyid.tsapolicyid.for.Timestamping.Authority", |
df1ec0e2f0e7
8009636: JARSigner including TimeStamp PolicyID (TSAPolicyID) as defined in RFC3161
weijun
parents:
14182
diff
changeset
|
90 |
"[-tsapolicyid <oid>] TSAPolicyID for Timestamping Authority"}, |
24034
31fe17eef94a
8038837: Add support to jarsigner for specifying timestamp hash algorithm
weijun
parents:
23010
diff
changeset
|
91 |
{".tsadigestalg.algorithm.of.digest.data.in.timestamping.request", |
31fe17eef94a
8038837: Add support to jarsigner for specifying timestamp hash algorithm
weijun
parents:
23010
diff
changeset
|
92 |
"[-tsadigestalg <algorithm>] algorithm of digest data in timestamping request"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
93 |
{".altsigner.class.class.name.of.an.alternative.signing.mechanism", |
2 | 94 |
"[-altsigner <class>] class name of an alternative signing mechanism"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
95 |
{".altsignerpath.pathlist.location.of.an.alternative.signing.mechanism", |
2 | 96 |
"[-altsignerpath <pathlist>] location of an alternative signing mechanism"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
97 |
{".internalsf.include.the.SF.file.inside.the.signature.block", |
2 | 98 |
"[-internalsf] include the .SF file inside the signature block"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
99 |
{".sectionsonly.don.t.compute.hash.of.entire.manifest", |
2 | 100 |
"[-sectionsonly] don't compute hash of entire manifest"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
101 |
{".protected.keystore.has.protected.authentication.path", |
2 | 102 |
"[-protected] keystore has protected authentication path"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
103 |
{".providerName.name.provider.name", |
2 | 104 |
"[-providerName <name>] provider name"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
105 |
{".providerClass.class.name.of.cryptographic.service.provider.s", |
2 | 106 |
"[-providerClass <class> name of cryptographic service provider's"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
107 |
{".providerArg.arg.master.class.file.and.constructor.argument", |
2 | 108 |
" [-providerArg <arg>]] ... master class file and constructor argument"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
109 |
{".strict.treat.warnings.as.errors", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
110 |
"[-strict] treat warnings as errors"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
111 |
{"Option.lacks.argument", "Option lacks argument"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
112 |
{"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
|
113 |
{"Please.specify.jarfile.name", "Please specify jarfile name"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
114 |
{"Please.specify.alias.name", "Please specify alias name"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
115 |
{"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
|
116 |
{"This.jar.contains.signed.entries.which.is.not.signed.by.the.specified.alias.es.", |
22324 | 117 |
"This jar contains signed entries which are not signed by the specified alias(es)."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
118 |
{"This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore.", |
22324 | 119 |
"This jar contains signed entries that are not signed by alias in this keystore."}, |
2 | 120 |
{"s", "s"}, |
121 |
{"m", "m"}, |
|
122 |
{"k", "k"}, |
|
123 |
{"i", "i"}, |
|
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
124 |
{".and.d.more.", "(and %d more)"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
125 |
{".s.signature.was.verified.", |
2 | 126 |
" s = signature was verified "}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
127 |
{".m.entry.is.listed.in.manifest", |
2 | 128 |
" m = entry is listed in manifest"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
129 |
{".k.at.least.one.certificate.was.found.in.keystore", |
2 | 130 |
" k = at least one certificate was found in keystore"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
131 |
{".i.at.least.one.certificate.was.found.in.identity.scope", |
2 | 132 |
" i = at least one certificate was found in identity scope"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
133 |
{".X.not.signed.by.specified.alias.es.", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
134 |
" X = not signed by specified alias(es)"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
135 |
{"no.manifest.", "no manifest."}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
136 |
{".Signature.related.entries.","(Signature related entries)"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
137 |
{".Unsigned.entries.", "(Unsigned entries)"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
138 |
{"jar.is.unsigned.signatures.missing.or.not.parsable.", |
2 | 139 |
"jar is unsigned. (signatures missing or not parsable)"}, |
22315 | 140 |
{"jar.signed.", "jar signed."}, |
141 |
{"jar.signed.with.signer.errors.", "jar signed, with signer errors."}, |
|
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
142 |
{"jar.verified.", "jar verified."}, |
22315 | 143 |
{"jar.verified.with.signer.errors.", "jar verified, with signer errors."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
144 |
{"jarsigner.", "jarsigner: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
145 |
{"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.", |
2 | 146 |
"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
|
147 |
{"unable.to.open.jar.file.", "unable to open jar file: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
148 |
{"unable.to.create.", "unable to create: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
149 |
{".adding.", " adding: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
150 |
{".updating.", " updating: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
151 |
{".signing.", " signing: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
152 |
{"attempt.to.rename.signedJarFile.to.jarFile.failed", |
2 | 153 |
"attempt to rename {0} to {1} failed"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
154 |
{"attempt.to.rename.jarFile.to.origJar.failed", |
2 | 155 |
"attempt to rename {0} to {1} failed"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
156 |
{"unable.to.sign.jar.", "unable to sign jar: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
157 |
{"Enter.Passphrase.for.keystore.", "Enter Passphrase for keystore: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
158 |
{"keystore.load.", "keystore load: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
159 |
{"certificate.exception.", "certificate exception: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
160 |
{"unable.to.instantiate.keystore.class.", |
2 | 161 |
"unable to instantiate keystore class: "}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
162 |
{"Certificate.chain.not.found.for.alias.alias.must.reference.a.valid.KeyStore.key.entry.containing.a.private.key.and", |
2 | 163 |
"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
|
164 |
{"File.specified.by.certchain.does.not.exist", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
165 |
"File specified by -certchain does not exist"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
166 |
{"Cannot.restore.certchain.from.file.specified", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
167 |
"Cannot restore certchain from file specified"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
168 |
{"Certificate.chain.not.found.in.the.file.specified.", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
169 |
"Certificate chain not found in the file specified."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
170 |
{"found.non.X.509.certificate.in.signer.s.chain", |
2 | 171 |
"found non-X.509 certificate in signer's chain"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
172 |
{"incomplete.certificate.chain", "incomplete certificate chain"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
173 |
{"Enter.key.password.for.alias.", "Enter key password for {0}: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
174 |
{"unable.to.recover.key.from.keystore", |
2 | 175 |
"unable to recover key from keystore"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
176 |
{"key.associated.with.alias.not.a.private.key", |
2 | 177 |
"key associated with {0} not a private key"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
178 |
{"you.must.enter.key.password", "you must enter key password"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
179 |
{"unable.to.read.password.", "unable to read password: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
180 |
{"certificate.is.valid.from", "certificate is valid from {0} to {1}"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
181 |
{"certificate.expired.on", "certificate expired on {0}"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
182 |
{"certificate.is.not.valid.until", |
2 | 183 |
"certificate is not valid until {0}"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
184 |
{"certificate.will.expire.on", "certificate will expire on {0}"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
185 |
{".CertPath.not.validated.", "[CertPath not validated: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
186 |
{"requesting.a.signature.timestamp", |
2 | 187 |
"requesting a signature timestamp"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
188 |
{"TSA.location.", "TSA location: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
189 |
{"TSA.certificate.", "TSA certificate: "}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
190 |
{"no.response.from.the.Timestamping.Authority.", |
9011
c08eb9697ee4
7019937: Translatability bug - Remove Unused String - String ID , read end of file
mullan
parents:
8994
diff
changeset
|
191 |
"no response from the Timestamping Authority. When connecting" |
c08eb9697ee4
7019937: Translatability bug - Remove Unused String - String ID , read end of file
mullan
parents:
8994
diff
changeset
|
192 |
+ " from behind a firewall an HTTP or HTTPS proxy may need to" |
c08eb9697ee4
7019937: Translatability bug - Remove Unused String - String ID , read end of file
mullan
parents:
8994
diff
changeset
|
193 |
+ " be specified. Supply the following options to jarsigner:"}, |
8994
ef946d820d04
7028490: better suggestion for jarsigner when TSA is not accessible
weijun
parents:
8556
diff
changeset
|
194 |
{"or", "or"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
195 |
{"Certificate.not.found.for.alias.alias.must.reference.a.valid.KeyStore.entry.containing.an.X.509.public.key.certificate.for.the", |
2 | 196 |
"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
|
197 |
{"using.an.alternative.signing.mechanism", |
2 | 198 |
"using an alternative signing mechanism"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
199 |
{"entry.was.signed.on", "entry was signed on {0}"}, |
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
200 |
{"Warning.", "Warning: "}, |
22315 | 201 |
{"Error.", "Error: "}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
202 |
{"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.", |
2 | 203 |
"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
|
204 |
{"This.jar.contains.entries.whose.signer.certificate.has.expired.", |
2 | 205 |
"This jar contains entries whose signer certificate has expired. "}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
206 |
{"This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months.", |
2 | 207 |
"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
|
208 |
{"This.jar.contains.entries.whose.signer.certificate.is.not.yet.valid.", |
2 | 209 |
"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
|
210 |
{"Re.run.with.the.verbose.option.for.more.details.", |
2 | 211 |
"Re-run with the -verbose option for more details."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
212 |
{"Re.run.with.the.verbose.and.certs.options.for.more.details.", |
2 | 213 |
"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
|
214 |
{"The.signer.certificate.has.expired.", |
2 | 215 |
"The signer certificate has expired."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
216 |
{"The.signer.certificate.will.expire.within.six.months.", |
2 | 217 |
"The signer certificate will expire within six months."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
218 |
{"The.signer.certificate.is.not.yet.valid.", |
2 | 219 |
"The signer certificate is not yet valid."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
220 |
{"The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing.", |
2 | 221 |
"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
|
222 |
{"The.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing.", |
2 | 223 |
"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
|
224 |
{"The.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing.", |
2 | 225 |
"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
|
226 |
{"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
|
227 |
"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
|
228 |
{"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
|
229 |
"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
|
230 |
{"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
|
231 |
"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
|
232 |
{".{0}.extension.does.not.support.code.signing.", |
2 | 233 |
"[{0} extension does not support code signing]"}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
234 |
{"The.signer.s.certificate.chain.is.not.validated.", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
235 |
"The signer's certificate chain is not validated."}, |
7179
4afb81e50183
6987827: security/util/Resources.java needs improvement
weijun
parents:
5506
diff
changeset
|
236 |
{"This.jar.contains.entries.whose.certificate.chain.is.not.validated.", |
2432
dc17f417ef85
6802846: jarsigner needs enhanced cert validation(options)
weijun
parents:
2
diff
changeset
|
237 |
"This jar contains entries whose certificate chain is not validated."}, |
22315 | 238 |
{"no.timestamp.signing", |
239 |
"No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td) or after any future revocation date."}, |
|
240 |
{"no.timestamp.verifying", |
|
241 |
"This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (%1$tY-%1$tm-%1$td) or after any future revocation date."}, |
|
14182
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
242 |
{"Unknown.password.type.", "Unknown password type: "}, |
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
243 |
{"Cannot.find.environment.variable.", |
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
244 |
"Cannot find environment variable: "}, |
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
245 |
{"Cannot.find.file.", "Cannot find file: "}, |
2 | 246 |
}; |
247 |
||
248 |
/** |
|
249 |
* Returns the contents of this <code>ResourceBundle</code>. |
|
250 |
* |
|
251 |
* <p> |
|
252 |
* |
|
253 |
* @return the contents of this <code>ResourceBundle</code>. |
|
254 |
*/ |
|
14182
3041082abb40
7194449: String resources for Key Tool and Policy Tool should be in their respective packages
sflores
parents:
9011
diff
changeset
|
255 |
@Override |
2 | 256 |
public Object[][] getContents() { |
257 |
return contents; |
|
258 |
} |
|
259 |
} |