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_ja 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 [options] jar-file alias"},
  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 <password>]   キーストア整合性のためのパスワード"},
  63         {".storetype.type.keystore.type",
  64                 "[-storetype <type>]     キーストアの型"},
  65         {".keypass.password.password.for.private.key.if.different.",
  66                 "[-keypass <password>]    秘密鍵のパスワード(異なる場合)"},
  67         {".certchain.file.name.of.alternative.certchain.file",
  68                 "[-certchain <file>]         代替証明書チェーン・ファイルの名前"},
  69         {".sigfile.file.name.of.SF.DSA.file",
  70                 "[-sigfile <file>]       .SF/.DSAファイルの名前"},
  71         {".signedjar.file.name.of.signed.JAR.file",
  72                 "[-signedjar <file>]     署名付きJARファイルの名前"},
  73         {".digestalg.algorithm.name.of.digest.algorithm",
  74                 "[-digestalg <algorithm>]  ダイジェスト・アルゴリズムの名前"},
  75         {".sigalg.algorithm.name.of.signature.algorithm",
  76                 "[-sigalg <algorithm>]    シグネチャ・アルゴリズムの名前"},
  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                 "                            サブオプションとして、すべて、グループまたはサマリーを使用できます"},
  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 <alias>]      タイムスタンプ局の公開鍵証明書"},
  89         {".altsigner.class.class.name.of.an.alternative.signing.mechanism",
  90                 "[-altsigner <class>]     代替署名メカニズムのクラス名"},
  91         {".altsignerpath.pathlist.location.of.an.alternative.signing.mechanism",
  92                 "[-altsignerpath <pathlist>]代替署名メカニズムの位置"},
  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 <name>]   プロバイダ名"},
 101         {".providerClass.class.name.of.cryptographic.service.provider.s",
 102                 "[-providerClass <class>   暗号化サービス・プロバイダの名前"},
 103         {".providerArg.arg.master.class.file.and.constructor.argument",
 104                 "  [-providerArg <arg>]] ... マスター・クラス・ファイルとコンストラクタの引数"},
 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", "別名は1つのみ指定できます"},
 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=1つ以上の証明書がキーストアで検出されました"},
 127         {".i.at.least.one.certificate.was.found.in.identity.scope",
 128                 "  i=1つ以上の証明書がアイデンティティ・スコープで検出されました"},
 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}は、秘密鍵および対応する公開鍵証明書チェーンを含む有効なKeyStore鍵エントリを参照する必要があります。"},
 157         {"File.specified.by.certchain.does.not.exist",
 158                 "-certchainで指定されているファイルは存在しません"},
 159         {"Cannot.restore.certchain.from.file.specified",
 160                 "指定されたファイルから証明書チェーンを復元できません"},
 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公開鍵証明書が含まれている有効なKeyStoreエントリを参照する必要があります。"},
 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には、署名者の証明書が6か月以内に期限切れとなるエントリが含まれています。 "},
 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                 "署名者の証明書は6か月以内に期限切れになります。"},
 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 }