1 /* 2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 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 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 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 * 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. 24 */ 25 26 package sun.security.tools.jarsigner; 27 28 /** 29 * <p> This class represents the <code>ResourceBundle</code> 30 * for JarSigner. 31 * 32 */ 33 public class Resources_zh_CN extends java.util.ListResourceBundle { 34 35 private static final Object[][] contents = { 36 37 // shared (from jarsigner) 38 {"SPACE", " "}, 39 {"2SPACE", " "}, 40 {"6SPACE", " "}, 41 {"COMMA", ", "}, 42 43 {"provName.not.a.provider", "{0}不是提供方"}, 44 {"signerClass.is.not.a.signing.mechanism", "{0}不是签名机制"}, 45 {"jarsigner.error.", "jarsigner 错误: "}, 46 {"Illegal.option.", "非法选项: "}, 47 {".keystore.must.be.NONE.if.storetype.is.{0}", 48 "如果 -storetype 为 {0}, 则 -keystore 必须为 NONE"}, 49 {".keypass.can.not.be.specified.if.storetype.is.{0}", 50 "如果 -storetype 为 {0}, 则不能指定 -keypass"}, 51 {"If.protected.is.specified.then.storepass.and.keypass.must.not.be.specified", 52 "如果指定了 -protected, 则不能指定 -storepass 和 -keypass"}, 53 {"If.keystore.is.not.password.protected.then.storepass.and.keypass.must.not.be.specified", 54 "如果密钥库未受口令保护, 则不能指定 -storepass 和 -keypass"}, 55 {"Usage.jarsigner.options.jar.file.alias", 56 "用法: jarsigner [选项] jar 文件别名"}, 57 {".jarsigner.verify.options.jar.file.alias.", 58 " jarsigner -verify [options] jar-file [alias...]"}, 59 {".keystore.url.keystore.location", 60 "[-keystore <url>] 密钥库位置"}, 61 {".storepass.password.password.for.keystore.integrity", 62 "[-storepass <口令>] 用于密钥库完整性的口令"}, 63 {".storetype.type.keystore.type", 64 "[-storetype <类型>] 密钥库类型"}, 65 {".keypass.password.password.for.private.key.if.different.", 66 "[-keypass <口令>] 私有密钥的口令 (如果不同)"}, 67 {".certchain.file.name.of.alternative.certchain.file", 68 "[-certchain <file>] 替代 certchain 文件的名称"}, 69 {".sigfile.file.name.of.SF.DSA.file", 70 "[-sigfile <文件>] .SF/.DSA 文件的名称"}, 71 {".signedjar.file.name.of.signed.JAR.file", 72 "[-signedjar <文件>] 已签名的 JAR 文件的名称"}, 73 {".digestalg.algorithm.name.of.digest.algorithm", 74 "[-digestalg <算法>] 摘要算法的名称"}, 75 {".sigalg.algorithm.name.of.signature.algorithm", 76 "[-sigalg <算法>] 签名算法的名称"}, 77 {".verify.verify.a.signed.JAR.file", 78 "[-verify] 验证已签名的 JAR 文件"}, 79 {".verbose.suboptions.verbose.output.when.signing.verifying.", 80 "[-verbose[:suboptions]] 签名/验证时输出详细信息。"}, 81 {".suboptions.can.be.all.grouped.or.summary", 82 " 子选项可以是 all, grouped 或 summary"}, 83 {".certs.display.certificates.when.verbose.and.verifying", 84 "[-certs] 输出详细信息和验证时显示证书"}, 85 {".tsa.url.location.of.the.Timestamping.Authority", 86 "[-tsa <url>] 时间戳颁发机构的位置"}, 87 {".tsacert.alias.public.key.certificate.for.Timestamping.Authority", 88 "[-tsacert <别名>] 时间戳颁发机构的公共密钥证书"}, 89 {".altsigner.class.class.name.of.an.alternative.signing.mechanism", 90 "[-altsigner <类>] 替代的签名机制的类名"}, 91 {".altsignerpath.pathlist.location.of.an.alternative.signing.mechanism", 92 "[-altsignerpath <路径列表>] 替代的签名机制的位置"}, 93 {".internalsf.include.the.SF.file.inside.the.signature.block", 94 "[-internalsf] 在签名块内包含 .SF 文件"}, 95 {".sectionsonly.don.t.compute.hash.of.entire.manifest", 96 "[-sectionsonly] 不计算整个清单的散列"}, 97 {".protected.keystore.has.protected.authentication.path", 98 "[-protected] 密钥库具有受保护验证路径"}, 99 {".providerName.name.provider.name", 100 "[-providerName <名称>] 提供方名称"}, 101 {".providerClass.class.name.of.cryptographic.service.provider.s", 102 "[-providerClass <类> 加密服务提供方的名称"}, 103 {".providerArg.arg.master.class.file.and.constructor.argument", 104 " [-providerArg <参数>]]... 主类文件和构造器参数"}, 105 {".strict.treat.warnings.as.errors", 106 "[-strict] 将警告视为错误"}, 107 {"Option.lacks.argument", "选项缺少参数"}, 108 {"Please.type.jarsigner.help.for.usage", "请键入 jarsigner -help 以了解用法"}, 109 {"Please.specify.jarfile.name", "请指定 jarfile 名称"}, 110 {"Please.specify.alias.name", "请指定别名"}, 111 {"Only.one.alias.can.be.specified", "只能指定一个别名"}, 112 {"This.jar.contains.signed.entries.which.is.not.signed.by.the.specified.alias.es.", 113 "此 jar 包含未由指定别名签名的已签名条目。"}, 114 {"This.jar.contains.signed.entries.that.s.not.signed.by.alias.in.this.keystore.", 115 "此 jar 包含未由此密钥库中的别名签名的已签名条目。"}, 116 {"s", "s"}, 117 {"m", "m"}, 118 {"k", "k"}, 119 {"i", "i"}, 120 {".and.d.more.", "(%d 及以上)"}, 121 {".s.signature.was.verified.", 122 " s = 已验证签名 "}, 123 {".m.entry.is.listed.in.manifest", 124 " m = 在清单中列出条目"}, 125 {".k.at.least.one.certificate.was.found.in.keystore", 126 " k = 在密钥库中至少找到了一个证书"}, 127 {".i.at.least.one.certificate.was.found.in.identity.scope", 128 " i = 在身份作用域内至少找到了一个证书"}, 129 {".X.not.signed.by.specified.alias.es.", 130 " X = 未由指定别名签名"}, 131 {"no.manifest.", "没有清单。"}, 132 {".Signature.related.entries.","(与签名相关的条目)"}, 133 {".Unsigned.entries.", "(未签名条目)"}, 134 {"jar.is.unsigned.signatures.missing.or.not.parsable.", 135 "jar 未签名。(缺少签名或无法对签名进行语法分析)"}, 136 {"jar.verified.", "jar 已验证。"}, 137 {"jarsigner.", "jarsigner: "}, 138 {"signature.filename.must.consist.of.the.following.characters.A.Z.0.9.or.", 139 "签名文件名必须包含以下字符: A-Z, 0-9, _ 或 -"}, 140 {"unable.to.open.jar.file.", "无法打开 jar 文件: "}, 141 {"unable.to.create.", "无法创建: "}, 142 {".adding.", " 正在添加: "}, 143 {".updating.", " 正在更新: "}, 144 {".signing.", " 正在签名: "}, 145 {"attempt.to.rename.signedJarFile.to.jarFile.failed", 146 "尝试将{0}重命名为{1}时失败"}, 147 {"attempt.to.rename.jarFile.to.origJar.failed", 148 "尝试将{0}重命名为{1}时失败"}, 149 {"unable.to.sign.jar.", "无法对 jar 进行签名: "}, 150 {"Enter.Passphrase.for.keystore.", "输入密钥库的密码短语: "}, 151 {"keystore.load.", "密钥库加载: "}, 152 {"certificate.exception.", "证书异常错误: "}, 153 {"unable.to.instantiate.keystore.class.", 154 "无法实例化密钥库类: "}, 155 {"Certificate.chain.not.found.for.alias.alias.must.reference.a.valid.KeyStore.key.entry.containing.a.private.key.and", 156 "找不到{0}的证书链。{1}必须引用包含私有密钥和相应的公共密钥证书链的有效密钥库密钥条目。"}, 157 {"File.specified.by.certchain.does.not.exist", 158 "由 -certchain 指定的文件不存在"}, 159 {"Cannot.restore.certchain.from.file.specified", 160 "无法从指定的文件还原 certchain"}, 161 {"Certificate.chain.not.found.in.the.file.specified.", 162 "在指定的文件中找不到证书链。"}, 163 {"found.non.X.509.certificate.in.signer.s.chain", 164 "在签名者的链中找到非 X.509 证书"}, 165 {"incomplete.certificate.chain", "证书链不完整"}, 166 {"Enter.key.password.for.alias.", "输入{0}的密钥口令: "}, 167 {"unable.to.recover.key.from.keystore", 168 "无法从密钥库中恢复密钥"}, 169 {"key.associated.with.alias.not.a.private.key", 170 "与{0}关联的密钥不是私有密钥"}, 171 {"you.must.enter.key.password", "必须输入密钥口令"}, 172 {"unable.to.read.password.", "无法读取口令: "}, 173 {"certificate.is.valid.from", "证书的有效期为{0}至{1}"}, 174 {"certificate.expired.on", "证书到期日期为 {0}"}, 175 {"certificate.is.not.valid.until", 176 "直到{0}, 证书才有效"}, 177 {"certificate.will.expire.on", "证书将在{0}到期"}, 178 {".CertPath.not.validated.", "[CertPath 未验证: "}, 179 {"requesting.a.signature.timestamp", 180 "正在请求签名时间戳"}, 181 {"TSA.location.", "TSA 位置: "}, 182 {"TSA.certificate.", "TSA 证书: "}, 183 {"no.response.from.the.Timestamping.Authority.", 184 "时间戳颁发机构没有响应。如果要从防火墙后面连接, 则可能需要指定 HTTP 或 HTTPS 代理。请为 jarsigner 提供以下选项: "}, 185 {"or", "或"}, 186 {"Certificate.not.found.for.alias.alias.must.reference.a.valid.KeyStore.entry.containing.an.X.509.public.key.certificate.for.the", 187 "找不到{0}的证书。{1}必须引用包含时间戳颁发机构的 X.509 公共密钥证书的有效密钥库条目。"}, 188 {"using.an.alternative.signing.mechanism", 189 "正在使用替代的签名机制"}, 190 {"entry.was.signed.on", "条目的签名日期为 {0}"}, 191 {"Warning.", "警告: "}, 192 {"This.jar.contains.unsigned.entries.which.have.not.been.integrity.checked.", 193 "此 jar 包含尚未进行完整性检查的未签名条目。 "}, 194 {"This.jar.contains.entries.whose.signer.certificate.has.expired.", 195 "此 jar 包含签名者证书已过期的条目。 "}, 196 {"This.jar.contains.entries.whose.signer.certificate.will.expire.within.six.months.", 197 "此 jar 包含签名者证书将在六个月内过期的条目。 "}, 198 {"This.jar.contains.entries.whose.signer.certificate.is.not.yet.valid.", 199 "此 jar 包含签名者证书仍无效的条目。 "}, 200 {"Re.run.with.the.verbose.option.for.more.details.", 201 "有关详细信息, 请使用 -verbose 选项重新运行。"}, 202 {"Re.run.with.the.verbose.and.certs.options.for.more.details.", 203 "有关详细信息, 请使用 -verbose 和 -certs 选项重新运行。"}, 204 {"The.signer.certificate.has.expired.", 205 "签名者证书已过期。"}, 206 {"The.signer.certificate.will.expire.within.six.months.", 207 "签名者证书将在六个月内过期。"}, 208 {"The.signer.certificate.is.not.yet.valid.", 209 "签名者证书仍无效。"}, 210 {"The.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing.", 211 "由于签名者证书的 KeyUsage 扩展而无法进行代码签名。"}, 212 {"The.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing.", 213 "由于签名者证书的 ExtendedKeyUsage 扩展而无法进行代码签名。"}, 214 {"The.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing.", 215 "由于签名者证书的 NetscapeCertType 扩展而无法进行代码签名。"}, 216 {"This.jar.contains.entries.whose.signer.certificate.s.KeyUsage.extension.doesn.t.allow.code.signing.", 217 "此 jar 包含由于签名者证书的 KeyUsage 扩展而无法进行代码签名的条目。"}, 218 {"This.jar.contains.entries.whose.signer.certificate.s.ExtendedKeyUsage.extension.doesn.t.allow.code.signing.", 219 "此 jar 包含由于签名者证书的 ExtendedKeyUsage 扩展而无法进行代码签名的条目。"}, 220 {"This.jar.contains.entries.whose.signer.certificate.s.NetscapeCertType.extension.doesn.t.allow.code.signing.", 221 "此 jar 包含由于签名者证书的 NetscapeCertType 扩展而无法进行代码签名的条目。"}, 222 {".{0}.extension.does.not.support.code.signing.", 223 "[{0} 扩展不支持代码签名]"}, 224 {"The.signer.s.certificate.chain.is.not.validated.", 225 "签名者的证书链未验证。"}, 226 {"This.jar.contains.entries.whose.certificate.chain.is.not.validated.", 227 "此 jar 包含证书链未验证的条目。"}, 228 {"Unknown.password.type.", "未知口令类型: "}, 229 {"Cannot.find.environment.variable.", 230 "找不到环境变量: "}, 231 {"Cannot.find.file.", "找不到文件: "}, 232 }; 233 234 /** 235 * Returns the contents of this <code>ResourceBundle</code>. 236 * 237 * <p> 238 * 239 * @return the contents of this <code>ResourceBundle</code>. 240 */ 241 @Override 242 public Object[][] getContents() { 243 return contents; 244 } 245 }