1 /* 2 * Copyright (c) 2000, 2010, 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; 27 28 /** 29 * <p> This class represents the <code>ResourceBundle</code> 30 * for JarSigner. 31 * 32 */ 33 public class JarSignerResources_zh_CN extends java.util.ListResourceBundle { 34 35 private static final Object[][] contents = { 36 37 // shared (from jarsigner) 38 {" ", " "}, 39 {" ", " "}, 40 {" ", " "}, 41 {", ", ", "}, 42 43 {"provName not a provider", "{0} \u4e0d\u662f\u63d0\u4f9b\u8005"}, 44 {"signerClass is not a signing mechanism", "{0} \u4e0d\u662f\u7b7e\u540d\u673a\u5236"}, 45 {"jarsigner error: ", "jarsigner \u9519\u8bef\uff1a "}, 46 {"Illegal option: ", "\u975e\u6cd5\u9009\u9879\uff1a "}, 47 {"-keystore must be NONE if -storetype is {0}", 48 "\u5982\u679c -storetype \u4e3a {0}\uff0c\u5219 -keystore \u5fc5\u987b\u4e3a NONE"}, 49 {"-keypass can not be specified if -storetype is {0}", 50 "\u5982\u679c -storetype \u4e3a {0}\uff0c\u5219\u4e0d\u80fd\u6307\u5b9a -keypass"}, 51 {"If -protected is specified, then -storepass and -keypass must not be specified", 52 "\u5982\u679c\u6307\u5b9a\u4e86 -protected\uff0c\u5219\u4e0d\u80fd\u6307\u5b9a -storepass \u548c -keypass"}, 53 {"If keystore is not password protected, then -storepass and -keypass must not be specified", 54 "\u5982\u679c\u5bc6\u94a5\u5e93\u672a\u53d7\u5bc6\u7801\u4fdd\u62a4\uff0c\u5219\u8bf7\u52ff\u6307\u5b9a -storepass \u548c -keypass"}, 55 {"Usage: jarsigner [options] jar-file alias", 56 "\u7528\u6cd5\uff1ajarsigner [\u9009\u9879] jar \u6587\u4ef6\u522b\u540d"}, 57 {" jarsigner -verify [options] jar-file [alias...]", 58 " jarsigner -verify [\u9009\u9879] jar \u6587\u4ef6 [\u522b\u540d...]"}, 59 {"[-keystore <url>] keystore location", 60 "[-keystore <url>] \u5bc6\u94a5\u5e93\u4f4d\u7f6e"}, 61 {"[-storepass <password>] password for keystore integrity", 62 "[-storepass <\u53e3\u4ee4>] \u7528\u4e8e\u5bc6\u94a5\u5e93\u5b8c\u6574\u6027\u7684\u53e3\u4ee4"}, 63 {"[-storetype <type>] keystore type", 64 "[-storetype <\u7c7b\u578b>] \u5bc6\u94a5\u5e93\u7c7b\u578b"}, 65 {"[-keypass <password>] password for private key (if different)", 66 "[-keypass <\u53e3\u4ee4>] \u4e13\u7528\u5bc6\u94a5\u7684\u53e3\u4ee4\uff08\u5982\u679c\u4e0d\u540c\uff09"}, 67 {"[-certchain <file>] name of alternative certchain file", 68 "[-certchain <\u6587\u4ef6>] \u66ff\u4ee3\u8bc1\u4e66\u94fe\u6587\u4ef6\u7684\u540d\u79f0"}, 69 {"[-sigfile <file>] name of .SF/.DSA file", 70 "[-sigfile <\u6587\u4ef6>] .SF/.DSA \u6587\u4ef6\u7684\u540d\u79f0"}, 71 {"[-signedjar <file>] name of signed JAR file", 72 "[-signedjar <\u6587\u4ef6>] \u5df2\u7b7e\u540d\u7684 JAR \u6587\u4ef6\u7684\u540d\u79f0"}, 73 {"[-digestalg <algorithm>] name of digest algorithm", 74 "[-digestalg <\u7b97\u6cd5>] \u6458\u8981\u7b97\u6cd5\u7684\u540d\u79f0"}, 75 {"[-sigalg <algorithm>] name of signature algorithm", 76 "[-sigalg <\u7b97\u6cd5>] \u7b7e\u540d\u7b97\u6cd5\u7684\u540d\u79f0"}, 77 {"[-verify] verify a signed JAR file", 78 "[-verify] \u9a8c\u8bc1\u5df2\u7b7e\u540d\u7684 JAR \u6587\u4ef6"}, 79 {"[-verbose[:suboptions]] verbose output when signing/verifying.", 80 "[-verbose[:\u5b50\u9009\u9879]] \u7b7e\u540d/\u9a8c\u8bc1\u65f6\u8f93\u51fa\u8be6\u7ec6\u4fe1\u606f\u3002"}, 81 {" suboptions can be all, grouped or summary", 82 " \u5b50\u9009\u9879\u53ef\u4ee5\u4e3a all\u3001grouped \u6216 summary"}, 83 {"[-certs] display certificates when verbose and verifying", 84 "[-certs] \u8f93\u51fa\u8be6\u7ec6\u4fe1\u606f\u548c\u9a8c\u8bc1\u65f6\u663e\u793a\u8bc1\u4e66"}, 85 {"[-tsa <url>] location of the Timestamping Authority", 86 "[-tsa <url>] \u65f6\u95f4\u6233\u673a\u6784\u7684\u4f4d\u7f6e"}, 87 {"[-tsacert <alias>] public key certificate for Timestamping Authority", 88 "[-tsacert <\u522b\u540d>] \u65f6\u95f4\u6233\u673a\u6784\u7684\u516c\u5171\u5bc6\u94a5\u8bc1\u4e66"}, 89 {"[-altsigner <class>] class name of an alternative signing mechanism", 90 "[-altsigner <\u7c7b>] \u66ff\u4ee3\u7684\u7b7e\u540d\u673a\u5236\u7684\u7c7b\u540d"}, 91 {"[-altsignerpath <pathlist>] location of an alternative signing mechanism", 92 "[-altsignerpath <\u8def\u5f84\u5217\u8868>] \u66ff\u4ee3\u7684\u7b7e\u540d\u673a\u5236\u7684\u4f4d\u7f6e"}, 93 {"[-internalsf] include the .SF file inside the signature block", 94 "[-internalsf] \u5728\u7b7e\u540d\u5757\u5185\u5305\u542b .SF \u6587\u4ef6"}, 95 {"[-sectionsonly] don't compute hash of entire manifest", 96 "[-sectionsonly] \u4e0d\u8ba1\u7b97\u6574\u4e2a\u6e05\u5355\u7684\u6563\u5217"}, 97 {"[-protected] keystore has protected authentication path", 98 "[-protected] \u5bc6\u94a5\u5e93\u5df2\u4fdd\u62a4\u9a8c\u8bc1\u8def\u5f84"}, 99 {"[-providerName <name>] provider name", 100 "[-providerName <\u540d\u79f0>] \u63d0\u4f9b\u8005\u540d\u79f0"}, 101 {"[-providerClass <class> name of cryptographic service provider's", 102 "[-providerClass <\u7c7b> \u52a0\u5bc6\u670d\u52a1\u63d0\u4f9b\u8005\u7684\u540d\u79f0"}, 103 {" [-providerArg <arg>]] ... master class file and constructor argument", 104 " [-providerArg <\u53c2\u6570>]] ... \u4e3b\u7c7b\u6587\u4ef6\u548c\u6784\u9020\u51fd\u6570\u53c2\u6570"}, 105 {"[-strict] treat warnings as errors", 106 "[-strict] \u5c06\u8b66\u544a\u89c6\u4e3a\u9519\u8bef"}, 107 {"Option lacks argument", "\u9009\u9879\u7f3a\u5c11\u53c2\u6570"}, 108 {"Please type jarsigner -help for usage", "\u6709\u5173\u7528\u6cd5\uff0c\u8bf7\u952e\u5165 jarsigner -help"}, 109 {"Please specify jarfile name", "\u8bf7\u6307\u5b9a jarfile \u540d\u79f0"}, 110 {"Please specify alias name", "\u8bf7\u6307\u5b9a\u522b\u540d"}, 111 {"Only one alias can be specified", "\u53ea\u80fd\u6307\u5b9a\u4e00\u4e2a\u522b\u540d"}, 112 {"This jar contains signed entries which is not signed by the specified alias(es).", 113 "\u6b64 jar \u5305\u542b\u6307\u5b9a\u522b\u540d\u672a\u7b7e\u540d\u7684\u7b7e\u540d\u6761\u76ee\u3002"}, 114 {"This jar contains signed entries that's not signed by alias in this keystore.", 115 "\u6b64 jar \u5305\u542b\u6b64\u5bc6\u94a5\u5e93\u4e2d\u522b\u540d\u672a\u7b7e\u540d\u7684\u7b7e\u540d\u6761\u76ee\u3002"}, 116 {"s", "s"}, 117 {"m", "m"}, 118 {"k", "k"}, 119 {"i", "i"}, 120 {"(and %d more)", "\uff08\u8fd8\u6709 %d\uff09"}, 121 {" s = signature was verified ", 122 " s = \u5df2\u9a8c\u8bc1\u7b7e\u540d "}, 123 {" m = entry is listed in manifest", 124 " m = \u5728\u6e05\u5355\u4e2d\u5217\u51fa\u6761\u76ee"}, 125 {" k = at least one certificate was found in keystore", 126 " k = \u5728\u5bc6\u94a5\u5e93\u4e2d\u81f3\u5c11\u627e\u5230\u4e86\u4e00\u4e2a\u8bc1\u4e66"}, 127 {" i = at least one certificate was found in identity scope", 128 " i = \u5728\u8eab\u4efd\u4f5c\u7528\u57df\u5185\u81f3\u5c11\u627e\u5230\u4e86\u4e00\u4e2a\u8bc1\u4e66"}, 129 {" X = not signed by specified alias(es)", 130 " X = \u672a\u7ecf\u6307\u5b9a\u522b\u540d\u7b7e\u540d"}, 131 {"no manifest.", "\u6ca1\u6709\u6e05\u5355\u3002"}, 132 {"(Signature related entries)","\uff08\u4e0e\u7b7e\u540d\u6709\u5173\u7684\u6761\u76ee\uff09"}, 133 {"(Unsigned entries)", "\uff08\u672a\u7b7e\u540d\u7684\u6761\u76ee\uff09"}, 134 {"jar is unsigned. (signatures missing or not parsable)", 135 "jar \u672a\u7b7e\u540d\u3002\uff08\u7f3a\u5c11\u7b7e\u540d\u6216\u7b7e\u540d\u65e0\u6cd5\u89e3\u6790\uff09"}, 136 {"jar verified.", "jar \u5df2\u9a8c\u8bc1\u3002"}, 137 {"jarsigner: ", "jarsigner\uff1a "}, 138 {"signature filename must consist of the following characters: A-Z, 0-9, _ or -", 139 "\u7b7e\u540d\u6587\u4ef6\u540d\u5fc5\u987b\u5305\u542b\u4ee5\u4e0b\u5b57\u7b26\uff1aA-Z\u30010-9\u3001_ \u6216 -"}, 140 {"unable to open jar file: ", "\u65e0\u6cd5\u6253\u5f00 jar \u6587\u4ef6\uff1a "}, 141 {"unable to create: ", "\u65e0\u6cd5\u521b\u5efa\uff1a "}, 142 {" adding: ", " \u6b63\u5728\u6dfb\u52a0\uff1a "}, 143 {" updating: ", " \u6b63\u5728\u66f4\u65b0\uff1a "}, 144 {" signing: ", " \u6b63\u5728\u7b7e\u540d\uff1a "}, 145 {"attempt to rename signedJarFile to jarFile failed", 146 "\u5c1d\u8bd5\u5c06 {0} \u91cd\u547d\u540d\u4e3a {1} \u5931\u8d25"}, 147 {"attempt to rename jarFile to origJar failed", 148 "\u5c1d\u8bd5\u5c06 {0} \u91cd\u547d\u540d\u4e3a {1} \u5931\u8d25"}, 149 {"unable to sign jar: ", "\u65e0\u6cd5\u5bf9 jar \u8fdb\u884c\u7b7e\u540d\uff1a "}, 150 {"Enter Passphrase for keystore: ", "\u8f93\u5165\u5bc6\u94a5\u5e93\u7684\u53e3\u4ee4\u77ed\u8bed\uff1a "}, 151 {"keystore load: ", "\u5bc6\u94a5\u5e93\u88c5\u5165\uff1a "}, 152 {"certificate exception: ", "\u8bc1\u4e66\u5f02\u5e38\uff1a "}, 153 {"unable to instantiate keystore class: ", 154 "\u65e0\u6cd5\u5b9e\u4f8b\u5316\u5bc6\u94a5\u5e93\u7c7b\uff1a "}, 155 {"Certificate chain not found for: alias. alias must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.", 156 "\u627e\u4e0d\u5230 {0} \u7684\u8bc1\u4e66\u94fe\u3002{1} \u5fc5\u987b\u5f15\u7528\u5305\u542b\u4e13\u7528\u5bc6\u94a5\u548c\u76f8\u5e94\u7684\u516c\u5171\u5bc6\u94a5\u8bc1\u4e66\u94fe\u7684\u6709\u6548\u5bc6\u94a5\u5e93\u5bc6\u94a5\u6761\u76ee\u3002"}, 157 {"File specified by -certchain does not exist", 158 "-certchain \u6307\u5b9a\u7684\u6587\u4ef6\u4e0d\u5b58\u5728"}, 159 {"Cannot restore certchain from file specified", 160 "\u65e0\u6cd5\u4ece\u6307\u5b9a\u6587\u4ef6\u6062\u590d\u8bc1\u4e66\u94fe"}, 161 {"Certificate chain not found in the file specified.", 162 "\u5728\u6307\u5b9a\u6587\u4ef6\u4e2d\u672a\u627e\u5230\u8bc1\u4e66\u94fe\u3002"}, 163 {"found non-X.509 certificate in signer's chain", 164 "\u5728\u7b7e\u540d\u8005\u7684\u94fe\u4e2d\u627e\u5230\u975e X.509 \u8bc1\u4e66"}, 165 {"incomplete certificate chain", "\u8bc1\u4e66\u94fe\u4e0d\u5b8c\u6574"}, 166 {"Enter key password for alias: ", "\u8f93\u5165 {0} \u7684\u5bc6\u94a5\u53e3\u4ee4\uff1a "}, 167 {"unable to recover key from keystore", 168 "\u65e0\u6cd5\u4ece\u5bc6\u94a5\u5e93\u4e2d\u6062\u590d\u5bc6\u94a5"}, 169 {"key associated with alias not a private key", 170 "\u4e0e {0} \u76f8\u5173\u7684\u5bc6\u94a5\u4e0d\u662f\u4e13\u7528\u5bc6\u94a5"}, 171 {"you must enter key password", "\u60a8\u5fc5\u987b\u8f93\u5165\u5bc6\u94a5\u53e3\u4ee4"}, 172 {"unable to read password: ", "\u65e0\u6cd5\u8bfb\u53d6\u53e3\u4ee4\uff1a "}, 173 {"certificate is valid from", "\u8bc1\u4e66\u7684\u6709\u6548\u671f\u4e3a {0} \u81f3 {1}"}, 174 {"certificate expired on", "\u8bc1\u4e66\u5230\u671f\u65e5\u671f\u4e3a {0}"}, 175 {"certificate is not valid until", 176 "\u76f4\u5230 {0}\uff0c\u8bc1\u4e66\u624d\u6709\u6548"}, 177 {"certificate will expire on", "\u8bc1\u4e66\u5c06\u5728 {0} \u5230\u671f"}, 178 {"[CertPath not validated: ", "[\u8bc1\u4e66\u8def\u5f84\u672a\u7ecf\u8fc7\u9a8c\u8bc1\uff1a"}, 179 {"requesting a signature timestamp", 180 "\u6b63\u5728\u8bf7\u6c42\u7b7e\u540d\u65f6\u95f4\u6233"}, 181 {"TSA location: ", "TSA \u4f4d\u7f6e\uff1a "}, 182 {"TSA certificate: ", "TSA \u8bc1\u4e66\uff1a "}, 183 {"no response from the Timestamping Authority. ", 184 "\u65f6\u95f4\u6233\u673a\u6784\u6ca1\u6709\u54cd\u5e94\u3002 "}, 185 {"When connecting from behind a firewall then an HTTP proxy may need to be specified. ", 186 "\u5982\u679c\u8981\u4ece\u9632\u706b\u5899\u540e\u9762\u8fde\u63a5\uff0c\u5219\u53ef\u80fd\u9700\u8981\u6307\u5b9a HTTP \u4ee3\u7406\u3002 "}, 187 {"Supply the following options to jarsigner: ", 188 "\u8bf7\u4e3a jarsigner \u63d0\u4f9b\u4ee5\u4e0b\u9009\u9879\uff1a "}, 189 {"Certificate not found for: alias. alias must reference a valid KeyStore entry containing an X.509 public key certificate for the Timestamping Authority.", 190 "\u627e\u4e0d\u5230 {0} \u7684\u8bc1\u4e66\u3002{1} \u5fc5\u987b\u5f15\u7528\u5305\u542b\u65f6\u95f4\u6233\u673a\u6784\u7684 X.509 \u516c\u5171\u5bc6\u94a5\u8bc1\u4e66\u7684\u6709\u6548\u5bc6\u94a5\u5e93\u6761\u76ee\u3002"}, 191 {"using an alternative signing mechanism", 192 "\u6b63\u5728\u4f7f\u7528\u66ff\u4ee3\u7684\u7b7e\u540d\u673a\u5236"}, 193 {"entry was signed on", "\u6761\u76ee\u7684\u7b7e\u540d\u65e5\u671f\u4e3a {0}"}, 194 {"Warning: ", "\u8b66\u544a\uff1a "}, 195 {"This jar contains unsigned entries which have not been integrity-checked. ", 196 "\u6b64 jar \u5305\u542b\u5c1a\u672a\u8fdb\u884c\u5b8c\u6574\u6027\u68c0\u67e5\u7684\u672a\u7b7e\u540d\u6761\u76ee\u3002 "}, 197 {"This jar contains entries whose signer certificate has expired. ", 198 "\u6b64 jar \u5305\u542b\u7b7e\u540d\u8005\u8bc1\u4e66\u5df2\u8fc7\u671f\u7684\u6761\u76ee\u3002 "}, 199 {"This jar contains entries whose signer certificate will expire within six months. ", 200 "\u6b64 jar \u5305\u542b\u7b7e\u540d\u8005\u8bc1\u4e66\u5c06\u5728\u516d\u4e2a\u6708\u5185\u8fc7\u671f\u7684\u6761\u76ee\u3002 "}, 201 {"This jar contains entries whose signer certificate is not yet valid. ", 202 "\u6b64 jar \u5305\u542b\u7b7e\u540d\u8005\u8bc1\u4e66\u4ecd\u65e0\u6548\u7684\u6761\u76ee\u3002 "}, 203 {"Re-run with the -verbose option for more details.", 204 "\u8981\u4e86\u89e3\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u4f7f\u7528 -verbose \u9009\u9879\u91cd\u65b0\u8fd0\u884c\u3002"}, 205 {"Re-run with the -verbose and -certs options for more details.", 206 "\u8981\u4e86\u89e3\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u4f7f\u7528 -verbose \u548c -certs \u9009\u9879\u91cd\u65b0\u8fd0\u884c\u3002"}, 207 {"The signer certificate has expired.", 208 "\u7b7e\u540d\u8005\u8bc1\u4e66\u5df2\u8fc7\u671f\u3002"}, 209 {"The signer certificate will expire within six months.", 210 "\u7b7e\u540d\u8005\u8bc1\u4e66\u5c06\u5728\u516d\u4e2a\u6708\u5185\u8fc7\u671f\u3002"}, 211 {"The signer certificate is not yet valid.", 212 "\u7b7e\u540d\u8005\u8bc1\u4e66\u4ecd\u65e0\u6548\u3002"}, 213 {"The signer certificate's KeyUsage extension doesn't allow code signing.", 214 "\u7531\u4e8e\u7b7e\u540d\u8005\u8bc1\u4e66\u7684 KeyUsage \u6269\u5c55\u800c\u65e0\u6cd5\u8fdb\u884c\u4ee3\u7801\u7b7e\u540d\u3002"}, 215 {"The signer certificate's ExtendedKeyUsage extension doesn't allow code signing.", 216 "\u7531\u4e8e\u7b7e\u540d\u8005\u8bc1\u4e66\u7684 ExtendedKeyUsage \u6269\u5c55\u800c\u65e0\u6cd5\u8fdb\u884c\u4ee3\u7801\u7b7e\u540d\u3002"}, 217 {"The signer certificate's NetscapeCertType extension doesn't allow code signing.", 218 "\u7531\u4e8e\u7b7e\u540d\u8005\u8bc1\u4e66\u7684 NetscapeCertType \u6269\u5c55\u800c\u65e0\u6cd5\u8fdb\u884c\u4ee3\u7801\u7b7e\u540d\u3002"}, 219 {"This jar contains entries whose signer certificate's KeyUsage extension doesn't allow code signing.", 220 "\u6b64 jar \u5305\u542b\u7531\u4e8e\u7b7e\u540d\u8005\u8bc1\u4e66\u7684 KeyUsage \u6269\u5c55\u800c\u65e0\u6cd5\u8fdb\u884c\u4ee3\u7801\u7b7e\u540d\u7684\u6761\u76ee\u3002"}, 221 {"This jar contains entries whose signer certificate's ExtendedKeyUsage extension doesn't allow code signing.", 222 "\u6b64 jar \u5305\u542b\u7531\u4e8e\u7b7e\u540d\u8005\u8bc1\u4e66\u7684 ExtendedKeyUsage \u6269\u5c55\u800c\u65e0\u6cd5\u8fdb\u884c\u4ee3\u7801\u7b7e\u540d\u7684\u6761\u76ee\u3002"}, 223 {"This jar contains entries whose signer certificate's NetscapeCertType extension doesn't allow code signing.", 224 "\u6b64 jar \u5305\u542b\u7531\u4e8e\u7b7e\u540d\u8005\u8bc1\u4e66\u7684 NetscapeCertType \u6269\u5c55\u800c\u65e0\u6cd5\u8fdb\u884c\u4ee3\u7801\u7b7e\u540d\u7684\u6761\u76ee\u3002"}, 225 {"[{0} extension does not support code signing]", 226 "[{0} \u6269\u5c55\u4e0d\u652f\u6301\u4ee3\u7801\u7b7e\u540d]"}, 227 {"The signer's certificate chain is not validated.", 228 "\u7b7e\u540d\u8005\u7684\u8bc1\u4e66\u94fe\u672a\u7ecf\u8fc7\u9a8c\u8bc1\u3002"}, 229 {"This jar contains entries whose certificate chain is not validated.", 230 "\u6b64 jar \u5305\u542b\u8bc1\u4e66\u94fe\u672a\u7ecf\u8fc7\u9a8c\u8bc1\u7684\u6761\u76ee\u3002"}, 231 }; 232 233 /** 234 * Returns the contents of this <code>ResourceBundle</code>. 235 * 236 * <p> 237 * 238 * @return the contents of this <code>ResourceBundle</code>. 239 */ 240 public Object[][] getContents() { 241 return contents; 242 } 243 }