jdk/src/linux/doc/man/ja/jarsigner.1
author ohair
Tue, 25 May 2010 15:58:33 -0700
changeset 5506 202f599c92aa
parent 2692 345bc8d65b19
child 5865 47da38a8c0f0
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     1
." Copyright 2004-2006 Sun Microsystems, Inc.  All Rights Reserved.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     2
." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     3
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     4
." This code is free software; you can redistribute it and/or modify it
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     5
." under the terms of the GNU General Public License version 2 only, as
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     6
." published by the Free Software Foundation.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     7
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     8
." This code is distributed in the hope that it will be useful, but WITHOUT
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
     9
." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    10
." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    11
." version 2 for more details (a copy is included in the LICENSE file that
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    12
." accompanied this code).
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    13
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    14
." You should have received a copy of the GNU General Public License version
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    15
." 2 along with this work; if not, write to the Free Software Foundation,
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    16
." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    17
."
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    18
." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    19
." or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2692
diff changeset
    20
." questions.
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    21
."
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    22
.TH jarsigner 1 "04 May 2009"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    23
." Generated from HTML by html2man (author: Eric Armstrong)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    24
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    25
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    26
.SH "名前"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    27
jarsigner \- JAR 署名および検証ツール
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    28
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    29
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    30
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    31
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    32
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    33
Java ARchive (JAR) ファイルの署名を生成し、署名付き JAR ファイルの署名を検証します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    34
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    35
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    36
.SH "形式"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    37
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    39
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    40
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    41
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    42
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    43
\fP\f3jarsigner\fP [ options ] jar\-file alias
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    44
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    45
\f3jarsigner\fP \-verify [ options ] jar\-file 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    46
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    47
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    48
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    49
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    50
.SH "説明"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    51
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    52
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    53
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    54
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    55
\f3jarsigner\fP ツールは、次の 2 つの目的で使用します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    56
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    57
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    58
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    59
1.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    60
Java ARchive (JAR) ファイルに署名を付ける 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    61
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    62
2.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    63
署名付き JAR ファイルの署名と整合性を検証する 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    64
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    65
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    66
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    67
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    68
JAR 機能を使うと、クラスファイル、イメージ、サウンド、およびその他のデジタルデータを単一のファイルにパッケージ化できるので、ファイルを迅速かつ容易に配布できます。開発者は、jar(1) という名前のツールを使って JAR ファイルを作成できます。技術的な観点から言えば、すべての ZIP ファイルも JAR ファイルとみなすことができます。 ただし、\f3jar\fP によって作成された JAR ファイル、または \f3jarsigner\fP によって処理された JAR ファイルには、META\-INF/MANIFEST.MF ファイルが含まれています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    69
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    70
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    71
「デジタル署名」は、なんらかのデータ (「署名」の対象となるデータ) と、エンティティー (人、会社など) の非公開鍵とに基づいて計算されるビット列です。手書きの署名同様、デジタル署名には多くの利点があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    72
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    73
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    74
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    75
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    76
署名の生成に使われた非公開鍵と対になる公開鍵を使って計算を行うことで、デジタル署名が本物かどうかを検証できる 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    77
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    78
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    79
非公開鍵が他人に知られない限り、デジタル署名の偽造は不可能である 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    80
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    81
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    82
デジタル署名は、その署名が付いたデータだけを対象とするものであり、ほかのデータの署名として機能することはない 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    83
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    84
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    85
署名付きのデータは変更できない。 データが変更された場合は、その署名によってデータが本物ではないことが検証される 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    86
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    87
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    88
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    89
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    90
ファイルに対してエンティティーの署名を生成するには、まず、エンティティーは、そのエンティティーに関連する公開鍵と非公開鍵のペアを持つ必要があります。 また、公開鍵を認証する 1 つまたは複数の証明書も必要です。「証明書」とは、あるエンティティーが発行したデジタル署名付きの文書で、別なエンティティーの公開鍵が特定の値であることを証明しています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    91
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    92
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    93
\f3jarsigner\fP は、「キーストア」に含まれる鍵と証明書情報を使って、JAR ファイルのデジタル署名を生成します。キーストアは、非公開鍵と、非公開鍵に関連付けられた X.509 証明書チェーンが収められたデータベースです。キーストアの作成と管理には、keytool(1) ユーティリティーを使います。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    94
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    95
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    96
\f3jarsigner\fP は、エンティティーの非公開鍵を使って署名を生成します。署名付き JAR ファイルには、ファイルの署名に使用する非公開鍵に対応する公開鍵を保存するキーストアからとった証明書のコピーも含まれています。 \f3jarsigner\fP は、署名付き JAR ファイルのデジタル署名を、ファイル内 (の署名ブロックファイル) に含まれている証明書を使って検証することができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    97
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    98
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    99
5.0 以降では、\f3jarsigner\fP はタイムスタンプを含む署名を生成するので、システムやデプロイヤ (Java Plug\-in を含む) はJAR ファイルが署名証明書の有効期間中に署名されたかどうかをチェックできます。さらに、5.0 で追加された API を使用して、アプリケーションはタイムスタンプ情報を取得できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   100
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   101
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   102
現時点では、\f3jarsigner\fP で署名できるのは、JDK の jar(1) ツールで作成された JAR ファイル、または ZIP ファイルだけです。JAR ファイルは ZIP ファイルと同じですが、JAR ファイルには META\-INF/MANIFEST.MF ファイルが含まれている点が異なります。META\-INF/MANIFEST.MF ファイルは、\f3jarsigner\fP が ZIP ファイルに署名を付けるときに自動的に作成されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   103
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   104
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   105
デフォルトでは、\f3jarsigner\fP は JAR (または ZIP) ファイルに「署名」を付けます。署名付き JAR ファイルを「検証」する場合は、\f2\-verify\fP オプションを指定します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   106
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   107
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   108
JDK 1.1 との互換性
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   114
\f3keytool\fP ツールと \f3jarsigner\fP ツールは、JDK 1.1 で提供されていた \f3javakey\fP ツールを完全に置き換えるものです。これらの新しいツールは \f3javakey\fP よりも多くの機能を備えており、キーストアと非公開鍵をパスワードで保護する機能や、署名の生成に加えて署名を検証する機能を持っています。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   116
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   117
新しいキーストアアーキテクチャーは、\f3javakey\fP が作成して管理していたアイデンティティーデータベースに代わるものです。キーストア形式と、JDK 1.1 の \f3javakey\fP が使っていたデータベース形式との間には下位互換性はありません。ただし、次のようなことは可能です。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   119
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   121
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   122
\f3keytool\fP の \f2\-identitydb\fP コマンドを使うと、アイデンティティーデータベースの情報をキーストアにインポートできます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   124
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   125
\f3jarsigner\fP は、以前に \f3javakey\fP を使って署名された JAR ファイルに署名を付けることができます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   127
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   128
\f3jarsigner\fP は、\f3javakey\fPを使って署名された JAR ファイルを検証できます。したがって、jarsigner は、Java 2 SDK のキーストアではなく JDK 1.1 のアイデンティティーデータベースからの署名者別名を認識し、これらを対象に処理を行うことができます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   129
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   130
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   133
次の表は、JDK 1.1.x で署名された JAR ファイルが、Java 2 プラットフォームでどのように扱われるかを示しています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   134
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   136
.TS
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   137
.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   138
.de 35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   139
.ps \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   140
.vs \n(.vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   141
.in \n(.iu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   142
.if \n(.u .fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   143
.if \n(.j .ad
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   144
.if \n(.j=0 .na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   145
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   146
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   147
.nr #~ 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   148
.if n .nr #~ 0.6n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   149
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   150
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   151
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   152
.nr 33 \n(.s
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   153
.rm 80 81 82 83 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   154
.nr 34 \n(.lu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   155
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   156
.am 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   157
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   158
.di a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   159
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   160
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   161
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   162
.if \n(.l<\n(80 .ll \n(80u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   163
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   164
\f3JAR ファイルのタイプ\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   165
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   166
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   167
.nr a| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   168
.nr a- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   169
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   170
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   171
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   172
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   173
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   174
.di b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   175
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   176
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   177
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   178
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   179
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   180
\f31.1 データベース内のアイデンティティー\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   181
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   182
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   183
.nr b| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   184
.nr b- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   185
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   186
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   187
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   188
.am 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   189
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   190
.di c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   191
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   192
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   193
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   194
.if \n(.l<\n(82 .ll \n(82u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   195
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   196
\f31.1 データベースから Java 2 Platform キーストアにインポートされる信頼できるアイデンティティー (4)\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   197
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   198
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   199
.nr c| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   200
.nr c- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   201
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   202
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   203
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   204
.am 83
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   205
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   206
.di d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   207
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   208
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   209
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   210
.if \n(.l<\n(83 .ll \n(83u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   211
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   212
\f3ポリシーファイルがアイデンティティー/別名に特権を与える\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   213
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   214
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   215
.nr d| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   216
.nr d- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   217
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   218
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   219
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   220
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   221
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   222
.di e+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   223
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   224
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   225
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   226
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   227
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   228
すべてのコードに与えられるデフォルトの特権
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   229
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   230
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   231
.nr e| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   232
.nr e- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   233
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   234
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   235
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   236
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   237
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   238
.di f+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   239
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   240
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   241
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   242
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   243
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   244
すべてのコードに与えられるデフォルトの特権
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   245
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   246
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   247
.nr f| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   248
.nr f- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   249
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   250
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   251
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   252
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   253
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   254
.di g+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   255
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   256
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   257
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   258
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   259
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   260
すべてのコードに与えられるデフォルトの特権
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   261
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   262
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   263
.nr g| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   264
.nr g- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   265
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   266
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   267
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   268
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   269
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   270
.di h+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   271
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   272
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   273
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   274
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   275
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   276
あり/信頼できない
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   277
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   278
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   279
.nr h| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   280
.nr h- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   281
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   282
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   283
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   284
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   285
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   286
.di i+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   287
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   288
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   289
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   290
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   291
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   292
すべてのコードに与えられるデフォルトの特権 (3)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   293
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   294
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   295
.nr i| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   296
.nr i- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   297
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   298
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   299
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   300
.am 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   301
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   302
.di j+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   303
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   304
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   305
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   306
.if \n(.l<\n(81 .ll \n(81u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   307
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   308
あり/信頼できない
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   309
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   310
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   311
.nr j| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   312
.nr j- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   313
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   314
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   315
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   316
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   317
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   318
.di k+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   319
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   320
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   321
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   322
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   323
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   324
すべてのコードに与えられるデフォルトの特権 (1,3)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   325
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   326
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   327
.nr k| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   328
.nr k- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   329
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   330
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   331
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   332
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   333
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   334
.di l+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   335
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   336
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   337
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   338
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   339
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   340
すべてのコードに与えられるデフォルトの特権とポリシーファイル内で与えられる特権
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   341
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   342
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   343
.nr l| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   344
.nr l- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   345
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   346
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   347
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   348
.am 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   349
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   350
.di m+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   351
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   352
.ft \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   353
.ll \n(34u*1u/6u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   354
.if \n(.l<\n(84 .ll \n(84u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   355
.in 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   356
すべてのコードに与えられるデフォルトの特権とポリシーファイル内で与えられる特権 (2)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   357
.br
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   358
.di
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   359
.nr m| \n(dn
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   360
.nr m- \n(dl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   361
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   362
.ec \
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   363
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   364
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   365
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   366
.nr 80 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   367
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   368
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   369
.nr 38 \w署名のない JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   370
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   371
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   372
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   373
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   374
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   375
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   376
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   377
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   378
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   379
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   380
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   381
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   382
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   383
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   384
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   385
.nr 38 \w署名付き JAR
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   386
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   387
.80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   388
.rm 80
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   389
.nr 38 \n(a-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   390
.if \n(80<\n(38 .nr 80 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   391
.nr 81 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   392
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   393
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   394
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   395
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   396
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   397
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   398
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   399
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   400
.nr 38 \wあり/信頼できる
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   401
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   402
.nr 38 \wあり/信頼できる
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   403
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   404
.nr 38 \wあり/信頼できる
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   405
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   406
.nr 38 \wあり/信頼できる
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   407
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   408
.81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   409
.rm 81
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   410
.nr 38 \n(b-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   411
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   412
.nr 38 \n(h-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   413
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   414
.nr 38 \n(j-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   415
.if \n(81<\n(38 .nr 81 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   416
.nr 82 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   417
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   418
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   419
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   420
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   421
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   422
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   423
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   424
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   425
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   426
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   427
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   428
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   429
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   430
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   431
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   432
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   433
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   434
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   435
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   436
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   437
.82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   438
.rm 82
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   439
.nr 38 \n(c-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   440
.if \n(82<\n(38 .nr 82 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   441
.nr 83 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   442
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   443
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   444
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   445
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   446
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   447
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   448
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   449
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   450
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   451
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   452
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   453
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   454
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   455
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   456
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   457
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   458
.nr 38 \wなし
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   459
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   460
.nr 38 \wあり
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   461
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   462
.83
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   463
.rm 83
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   464
.nr 38 \n(d-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   465
.if \n(83<\n(38 .nr 83 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   466
.nr 84 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   467
.nr 38 \w\f3与えられる特権\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   468
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   469
.nr 38 \wすべての特権
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   470
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   471
.nr 38 \wすべての特権 (1)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   472
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   473
.nr 38 \wすべての特権 (1)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   474
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   475
.84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   476
.rm 84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   477
.nr 38 \n(e-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   478
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   479
.nr 38 \n(f-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   480
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   481
.nr 38 \n(g-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   482
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   483
.nr 38 \n(i-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   484
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   485
.nr 38 \n(k-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   486
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   487
.nr 38 \n(l-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   488
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   489
.nr 38 \n(m-
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   490
.if \n(84<\n(38 .nr 84 \n(38
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   491
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   492
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   493
.ll \n(34u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   494
.nr 38 1n
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   495
.nr 79 0
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   496
.nr 40 \n(79+(0*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   497
.nr 80 +\n(40
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   498
.nr 41 \n(80+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   499
.nr 81 +\n(41
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   500
.nr 42 \n(81+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   501
.nr 82 +\n(42
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   502
.nr 43 \n(82+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   503
.nr 83 +\n(43
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   504
.nr 44 \n(83+(3*\n(38)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   505
.nr 84 +\n(44
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   506
.nr TW \n(84
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   507
.if t .if \n(TW>\n(.li .tm Table at line 186 file Input is too wide - \n(TW units
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   508
.fc  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   509
.nr #T 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   510
.nr #a 0-1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   511
.eo
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   512
.de T#
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   513
.ds #d .d
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   514
.if \(ts\n(.z\(ts\(ts .ds #d nl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   515
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   516
.nr ## -1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   517
.ls 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   518
.ls
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   519
..
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   520
.ec
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   521
.ne \n(a|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   522
.ne \n(b|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   523
.ne \n(c|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   524
.ne \n(d|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   525
.if (\n(a|+\n(#^-1v)>\n(#- .nr #- +(\n(a|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   526
.if (\n(b|+\n(#^-1v)>\n(#- .nr #- +(\n(b|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   527
.if (\n(c|+\n(#^-1v)>\n(#- .nr #- +(\n(c|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   528
.if (\n(d|+\n(#^-1v)>\n(#- .nr #- +(\n(d|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   529
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   530
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   531
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   532
\&\h'|\n(40u'\h'|\n(41u'\h'|\n(42u'\h'|\n(43u'\h'|\n(44u'\f3与えられる特権\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   533
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   534
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   535
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   536
.nr 37 \n(40u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   537
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   538
.a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   539
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   540
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   541
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   542
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   543
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   544
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   545
.b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   546
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   547
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   548
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   549
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   550
.nr 37 \n(42u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   551
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   552
.c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   553
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   554
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   555
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   556
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   557
.nr 37 \n(43u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   558
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   559
.d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   560
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   561
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   562
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   563
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   564
.ne \n(e|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   565
.if (\n(e|+\n(#^-1v)>\n(#- .nr #- +(\n(e|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   566
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   567
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   568
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   569
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'なし\h'|\n(42u'なし\h'|\n(43u'なし\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   570
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   571
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   572
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   573
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   574
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   575
.e+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   576
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   577
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   578
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   579
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   580
.ne \n(f|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   581
.if (\n(f|+\n(#^-1v)>\n(#- .nr #- +(\n(f|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   582
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   583
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   584
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   585
\&\h'|\n(40u'署名のない JAR\h'|\n(41u'なし\h'|\n(42u'なし\h'|\n(43u'なし\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   586
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   587
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   588
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   589
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   590
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   591
.f+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   592
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   593
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   594
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   595
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   596
.ne \n(g|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   597
.if (\n(g|+\n(#^-1v)>\n(#- .nr #- +(\n(g|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   598
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   599
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   600
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   601
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'なし\h'|\n(42u'あり\h'|\n(43u'なし\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   602
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   603
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   604
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   605
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   606
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   607
.g+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   608
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   609
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   610
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   611
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   612
.ne \n(h|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   613
.ne \n(i|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   614
.if (\n(h|+\n(#^-1v)>\n(#- .nr #- +(\n(h|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   615
.if (\n(i|+\n(#^-1v)>\n(#- .nr #- +(\n(i|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   616
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   617
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   618
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   619
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'\h'|\n(42u'なし\h'|\n(43u'なし\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   620
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   621
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   622
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   623
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   624
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   625
.h+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   626
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   627
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   628
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   629
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   630
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   631
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   632
.i+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   633
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   634
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   635
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   636
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   637
.ne \n(j|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   638
.ne \n(k|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   639
.if (\n(j|+\n(#^-1v)>\n(#- .nr #- +(\n(j|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   640
.if (\n(k|+\n(#^-1v)>\n(#- .nr #- +(\n(k|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   641
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   642
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   643
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   644
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'\h'|\n(42u'なし\h'|\n(43u'あり\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   645
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   646
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   647
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   648
.nr 37 \n(41u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   649
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   650
.j+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   651
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   652
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   653
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   654
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   655
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   656
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   657
.k+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   658
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   659
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   660
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   661
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   662
.ne \n(l|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   663
.if (\n(l|+\n(#^-1v)>\n(#- .nr #- +(\n(l|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   664
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   665
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   666
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   667
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'なし\h'|\n(42u'あり\h'|\n(43u'あり\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   668
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   669
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   670
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   671
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   672
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   673
.l+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   674
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   675
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   676
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   677
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   678
.ne \n(m|u+\n(.Vu
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   679
.if (\n(m|+\n(#^-1v)>\n(#- .nr #- +(\n(m|+\n(#^-\n(#--1v)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   680
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   681
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   682
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   683
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'あり/信頼できる\h'|\n(42u'あり\h'|\n(43u'あり\h'|\n(44u'
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   684
.mk ##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   685
.nr 31 \n(##
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   686
.sp |\n(##u-1v
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   687
.nr 37 \n(44u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   688
.in +\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   689
.m+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   690
.in -\n(37u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   691
.mk 32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   692
.if \n(32>\n(31 .nr 31 \n(32
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   693
.sp |\n(31u
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   694
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   695
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   696
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   697
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'あり/信頼できる\h'|\n(42u'なし\h'|\n(43u'なし\h'|\n(44u'すべての特権
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   698
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   699
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   700
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   701
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'あり/信頼できる\h'|\n(42u'あり\h'|\n(43u'なし\h'|\n(44u'すべての特権 (1)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   702
.ta \n(80u \n(81u \n(82u \n(83u \n(84u 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   703
.nr 31 \n(.f
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   704
.nr 35 1m
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   705
\&\h'|\n(40u'署名付き JAR\h'|\n(41u'あり/信頼できる\h'|\n(42u'なし\h'|\n(43u'あり\h'|\n(44u'すべての特権 (1)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   706
.fc
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   707
.nr T. 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   708
.T# 1
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   709
.35
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   710
.rm a+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   711
.rm b+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   712
.rm c+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   713
.rm d+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   714
.rm e+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   715
.rm f+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   716
.rm g+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   717
.rm h+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   718
.rm i+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   719
.rm j+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   720
.rm k+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   721
.rm l+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   722
.rm m+
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   723
.TE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   724
.if \n-(b.=0 .nr c. \n(.c-\n(d.-50
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   725
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   726
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   727
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   728
注 \-
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   729
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   730
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   731
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   732
1.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   733
ポリシーファイル内にアイデンティティー/別名についての言及がある場合、それをキーストアにインポートして、ポリシーファイルの設定が与えられた特権に反映されるようにする必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   734
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   735
2.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   736
ポリシーファイル/キーストアの組み合わせは、アイデンティティーデータベース内の信頼できるアイデンティティーよりも優先されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   737
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   738
3.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   739
Java 2 プラットフォームでは、信頼できないアイデンティティーは無視されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   740
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   741
4.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   742
Java 2 SDK キーストアにインポートできるのは、信頼できるアイデンティティーだけです。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   743
.RE
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   744
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   745
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   746
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   747
キーストアの別名
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   748
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   749
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   750
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   751
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   752
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   753
キーストアのすべてのエントリは、一意の「別名」を介してアクセスされます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   754
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   755
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   756
\f3jarsigner\fP を使って JAR ファイルに署名を付けるときは、署名の生成に必要な非公開鍵を含むキーストアエントリの別名を指定する必要があります。たとえば、次の例は、working ディレクトリの mystore という名前のキーストアに含まれる別名 duke に関連付けられた非公開鍵を使って、MyJARFile.jar という名前の JAR ファイルに署名を付けます。出力ファイルは指定されていないので、MyJARFile.jar は署名付きの JAR ファイルによって上書きされます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   757
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   758
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   759
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   760
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   761
    jarsigner \-keystore /working/mystore \-storepass myspass
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   762
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   763
      \-keypass dukekeypasswd MyJARFile.jar duke 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   764
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   765
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   766
.fi
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   767
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   768
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   769
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   770
キーストアはパスワードで保護されているので、ストアのパスワード (上の例では mypass) を指定する必要があります。コマンド行でストアのパスワードを指定しないと、パスワードの入力を求められます。同様に、非公開鍵もキーストア内でパスワードによって保護されているため、非公開鍵のパスワード (上の例では dukekeypasswd) を指定する必要があります。 コマンド行で非公開鍵のパスワードを指定していない、また、指定したパスワートが保存されているパスワードと違っている場合には、非公開鍵のパスワードの入力を求められます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   771
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   772
.RE
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   773
.SS 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   774
キーストアの場所
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   775
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   776
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   777
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   778
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   779
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   780
\f3jarsigner\fP には、使用するキーストアの URL を指定する \f2\-keystore\fP オプションがあります。キーストアは、デフォルトではユーザーのホームディレクトリの \f2.keystore\fP という名前のファイルに格納されます。 ユーザーのホームディレクトリは、\f2user.home\fP システムプロパティーによって決まります。Solaris システムの場合、\f2user.home\fP がデフォルトでユーザーのホームディレクトリになっています。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   781
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   782
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   783
\f2\-keystore\fP オプションからの入力ストリームは、\f2KeyStore.load\fP メソッドに渡されます。URL として \f2NONE\fP が指定されている場合は、null のストリームが \f2KeyStore.load\fP メソッドに渡されます。\f2NONE\fP は、\f2KeyStore\fP がファイルベースではなく、たとえば、ハードウェアトークンデバイスに置かれている場合に指定します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   784
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   785
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   786
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   787
キーストアの実装
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   788
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   789
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   790
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   791
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   792
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   793
\f2java.security\fP パッケージで提供される \f2KeyStore\fP クラスには、キーストア内の情報に対するアクセスと変更を行うための明確に定義されたインタフェースが用意されています。キーストアの固定実装としては、それぞれが特定の「タイプ」のキーストアを対象とする複数の異なる実装が存在可能です。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   794
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   795
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   796
現在、キーストアの実装を使用するものとして、\f3keytool\fP と \f3jarsigner\fP の 2 つのコマンド行ツールと、\f3Policy Tool\fP という名前の 1 つの GUI ベースのツールがあります。\f2KeyStore\fP は public として使用可能なので、Java 2 SDK ユーザーは KeyStore を使ったほかのセキュリティーアプリケーションも作成できます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   797
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   798
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   799
キーストアには、Sun が提供する組み込みのデフォルトの実装があります。これは、JKS という名前の独自のキーストアタイプ (形式) を利用するもので、キーストアをファイルとして実装しています。この実装では、個々の非公開鍵は個別のパスワードによって保護され、キーストア全体の整合性も (非公開鍵とは別の) パスワードによって保護されます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   800
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   801
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   802
キーストアの実装は、プロバイダベースです。具体的には、\f2KeyStore\fP が提供するアプリケーションインタフェースは、Service Provider Interface (SPI) という形で実装されています。つまり、対応する \f2KeystoreSpi\fP 抽象クラス (これも \f2java.security\fP パッケージに含まれている) があり、このクラスが Service Provider Interface のメソッドを定義しています。 これらのメソッドは、「プロバイダ」が実装しなければなりません。ここで、「プロバイダ」とは、Java Security API によってアクセス可能なサービスのサブセットに対し、その固定実装を提供するパッケージまたはパッケージの集合のことです。したがって、キーストアの実装を提供するには、
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   803
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   804
\f2「Java 暗号化アーキテクチャー用プロバイダの実装方法」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   805
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   806
http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/HowToImplAProvider.htmlで説明しているように、クライアントが「プロバイダ」を実装し、KeystoreSpi サブクラスの実装を提供する必要があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   807
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   808
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   809
アプリケーションでは、\f2KeyStore\fP クラスが提供する getInstance ファクトリメソッドを使うことで、さまざまなプロバイダから異なる「タイプ」のキーストアの実装を選択できます。キーストアのタイプは、キーストア情報の格納形式とデータ形式を定義するとともに、キーストア内の非公開鍵とキーストア自体の整合性を保護するために使われるアルゴリズムを定義します。異なるタイプのキーストアの実装には、互換性はありません。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   810
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   811
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   812
\f3keytool\fP は、任意のファイルベースのキーストア実装で動作します。keytool は、コマンド行から渡されたキーストアの場所をファイル名として扱い、これを FileInputStream に変換して、FileInputStream からキーストアの情報をロードします。一方、\f3jarsigner\fP ツールと \f3policytool\fP ツールは、URL で指定可能な任意の場所からキーストアを読み込むことができます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   813
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   814
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   815
\f3jarsigner\fP と \f3keytool\fP の場合、\f2\-storetype\fP オプションを使ってコマンド行でキーストアのタイプを指定できます。\f3Policy Tool\fP の場合は、[Edit] メニューの [Change Keystore] コマンドを使ってキーストアのタイプを指定できます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   816
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   817
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   818
キーストアのタイプを明示的に指定しない場合、keytool、jarsigner、および policytool の各ツールは、セキュリティープロパティーファイル内で指定された \f2keystore.type\fP プロパティーの値に基づいてキーストアの実装を選択します。セキュリティープロパティーファイルは、\f2java.security\fP という名前で SDK セキュリティープロパティーディレクトリ \f2java.home\fP/lib/security に置かれています。 \f2java.home\fP は、実行環境のディレクトリ (SDK の \f2jre\fP ディレクトリまたは Java 2 Runtime Environment の最上位のディレクトリ) です。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   819
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   820
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   821
各ツールは、\f2keystore.type\fP の値を取得し、この値で指定されたタイプのキーストアを実装しているプロバイダが見つかるまで、現在インストールされているすべてのプロバイダを調べます。目的のプロバイダが見つかると、そのプロバイダからのキーストアの実装を使います。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   822
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   823
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   824
\f2KeyStore\fP クラスでは \f2getDefaultType\fP という名前の static メソッドが定義されており、アプリケーションとアプレットはこのメソッドを使うことで \f2keystore.type\fP プロパティーの値を取得できます。次のコードは、デフォルトのキーストアタイプ (\f2keystore.type\fP プロパティーで指定されたタイプ) のインスタンスを生成します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   825
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   826
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
   827
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   828
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   829
    KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   830
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
   831
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   832
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
   833
90ce3da70b43 Initial load
duke
parents:
diff changeset
   834
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   835
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   836
デフォルトのキーストアタイプは JKS (Sun が提供する独自のタイプのキーストアの実装) です。これは、セキュリティープロパティーファイル内の次の行によって指定されています。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   837
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   838
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   839
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   840
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   841
    keystore.type=jks
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   842
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   843
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   844
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   845
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   846
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   847
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   848
注:キーストアのタイプの指定では、大文字と小文字は区別されません。たとえば、JKS と jks は同じものとして扱われます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   849
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   850
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   851
各ツールでデフォルト以外のキーストアの実装を使用するには、上の行を変更して別のキーストアのタイプを指定します。たとえば、pkcs12 と呼ばれるタイプのキーストアの実装を提供しているプロバイダパッケージを使用するには、上の行を次のように変更します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   852
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   853
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   854
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   855
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   856
    keystore.type=pkcs12
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   857
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   858
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   859
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   860
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   861
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   862
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   863
PKCS#11 プロバイダパッケージを使用する場合、その詳細については、「Java PKCS#11 Reference Guide」にある
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   864
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   865
\f2「KeyTool and JarSigner」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   866
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   867
http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html#KeyToolJarSignerの節を参照してください。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   868
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   869
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   870
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   871
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   872
サポートされるアルゴリズム
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   873
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   874
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   875
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   876
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   877
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   878
デフォルトでは、\f3jarsigner\fP は次のどちらかのアルゴリズムを使って JAR ファイルに署名します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   879
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   880
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   881
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   882
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   883
SHA\-1 ダイジェストアルゴリズムを使った DSA (デジタル署名アルゴリズム) 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   884
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   885
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   886
MD5 ダイジェストアルゴリズムを使った RSA アルゴリズム 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   887
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   888
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   889
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   890
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   891
具体的には、署名者の公開鍵と非公開鍵が DSA 鍵である場合、\f3jarsigner\fP は SHA1withDSA アルゴリズムを使って JAR ファイルに署名を付けます。署名者の鍵が RSA 鍵である場合、\f3jarsigner\fP は MD5withRSA アルゴリズムを使って JAR ファイルに署名を付けます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   892
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   893
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   894
これらのデフォルトの署名アルゴリズムは、\f2\-sigalg\fP オプションを使ってオーバーライドできます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   895
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   896
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   897
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   898
署名付き JAR ファイル
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   899
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   900
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   901
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   902
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   903
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   904
\f3jarsigner\fP を使って JAR ファイルに署名を付けた場合、出力される署名付き JAR ファイルは入力 JAR ファイルと同じですが、次の 2 つの追加ファイルが META\-INF ディレクトリに置かれる点が異なります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   905
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   906
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   907
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   908
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   909
.SF 拡張子の付いた署名ファイル 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   910
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   911
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   912
.DSA 拡張子の付いた署名ブロックファイル 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   913
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   914
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   915
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   916
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   917
これら 2 つのファイルのベースファイル名は、\f2\-sigFile\fP オプションの値から作成されます。たとえば、次のようにオプションを指定したとします。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   918
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   919
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   920
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   921
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   922
  \-sigFile MKSIGN
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   923
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   924
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   925
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   926
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   927
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   928
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   929
この場合、ファイル名はそれぞれ MKSIGN.SF と MKSIGN.DSA になります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   930
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   931
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   932
コマンド行で \f2\-sigfile\fP オプションを指定しなかった場合、.SF ファイルと .DSA ファイルのベースファイル名は、コマンド行で指定された別名の先頭の 8 文字をすべて大文字に変換したものになります。別名が 8 文字未満の場合は、別名がそのまま使われます。別名の中に、署名ファイル名に使用できない文字が含まれている場合は、該当する文字を下線 (_) に置き換えてファイル名が作成されます。使用できる文字は、アルファベット、数字、下線 (_)、ハイフンです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   933
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   934
\f3署名 (.SF) ファイル\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   935
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   936
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   937
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   938
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   939
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   940
署名ファイル (.SF ファイル) は、\f3jarsigner\fP で署名を付けた JAR ファイルに常に含まれるマニフェストファイルと似ています。つまり、マニフェストファイル同様、.SF ファイルには、JAR ファイルに含まれているソースファイルごとに、次の 3 つの行があります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   941
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   942
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   943
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   944
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   945
ファイル名 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   946
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   947
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   948
使われているダイジェストアルゴリズム (SHA) の名前 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   949
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   950
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   951
SHA ダイジェストの値 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   952
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   953
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   954
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   955
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   956
マニフェストファイルでは、SHA ダイジェストの値は、ソースファイルのバイナリデータのダイジェスト (ハッシュ) です。一方、.SF ファイルでは、ソースファイルのダイジェストの値は、マニフェストファイル中の該当するソースファイルに対応する 3 行のハッシュです。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   957
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   958
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   959
署名ファイルには、デフォルトでマニフェストファイル全体のハッシュも含まれています。後述の「JAR ファイルの検証」で説明するように、このヘッダーの存在によって検証の最適化が可能になっています。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   960
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   961
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   962
\f3署名ブロック (.DSA) ファイル\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   963
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   964
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   965
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   966
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   967
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   968
.SF ファイルには署名が付けられ、署名は .DSA ファイルに置かれます。.DSA ファイルには、キーストアからの証明書または証明書チェーンも符号化された形で含まれています。 証明書または証明書チェーンは、署名に使われた非公開鍵に対応する公開鍵を認証します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   969
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   970
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   971
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   972
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   973
署名タイムスタンプ
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   974
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   975
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   976
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   977
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   978
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   979
J2SE 5.0 リリースの \f2jarsigner\fP ツールは、JAR ファイルの署名時に署名タイムスタンプを生成および格納できるようになりました。さらに、\f2jarsigner\fP は代替署名機構をサポートします。この動作は省略可能で、署名時に次の各オプションによって制御されます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   980
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   981
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   982
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   983
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
   984
\f2\-tsa url\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   985
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   986
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
   987
\f2\-tsacert alias\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   988
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   989
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
   990
\f2\-altsigner class\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   991
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   992
o
90ce3da70b43 Initial load
duke
parents:
diff changeset
   993
\f2\-altsignerpath classpathlist\fP 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   994
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   995
90ce3da70b43 Initial load
duke
parents:
diff changeset
   996
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   997
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   998
これらの各オプションの詳細については、後述の「オプション」節を参照してください。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   999
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1000
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1001
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1002
JAR ファイルの検証
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1003
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1004
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1005
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1006
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1007
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1008
JAR ファイルの検証が成功するのは、署名が有効であり、かつ署名の生成以後に JAR ファイル内のどのファイルも変更されていない場合です。JAR ファイルの検証は、次の手順で行われます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1009
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1010
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1011
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1012
1.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1013
.SF ファイルそれ自体の署名を検証します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1014
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1015
この手順では、各署名ブロック (.DSA) ファイルに格納されている署名が、実際に、公開鍵に対応する非公開鍵を使って生成されたものであることを確認します。 .DSA ファイルには、公開鍵の証明書 (または証明書チェーン) も含まれています。また、この手順では、目的の署名が、対応する署名 (.SF) ファイル内の有効な署名であるかどうかを調べ、.SF ファイルが改変されていないことも確認します。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1016
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1017
2.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1018
.SF ファイル内の各エントリのダイジェストをマニフェスト内の対応する各セクションと突き合わせて検証します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1019
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1020
.SF ファイルには、マニフェストファイル全体のハッシュが格納されたヘッダーがデフォルトで含まれています。このヘッダーが存在する場合は、ヘッダー内のハッシュが実際にマニフェストファイルのハッシュと一致するかどうかを検証することができます。ハッシュが一致する場合は、次の手順に進みます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1021
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1022
ハッシュが一致しない場合は、効率的には劣る方法を使って検証を行います。 具体的には、.SF ファイル内の各ソースファイル情報セクションのハッシュが、マニフェストファイル内の対応するセクションのハッシュと一致するかどうかを確認します (「署名 (.SF) ファイル」を参照)。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1023
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1024
.SF ファイルのヘッダーに格納されたマニフェストファイルのハッシュと、実際のマニフェストファイルのハッシュとが一致しない場合は、署名 (および .SF ファイル) の生成後に、JAR ファイルに 1 つ以上のファイルが追加 (\f2jar\fP ツールを使用) された可能性があります。\f2jar\fP ツールを使ってファイルを追加した場合、マニフェストファイルは変更されますが (新しいファイル用のセクションが追加される)、.SF ファイルは変更されません。この場合、.SF ファイルのヘッダー以外のセクションに格納されたハッシュが、マニフェストファイル内の対応するセクションのハッシュと一致するときは、署名の生成時に JAR ファイル内に存在していたファイルのうち、どのファイルも変更されていないことになり、検証は成功したものとして扱われます。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1025
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1026
3.
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1027
JAR ファイル内のファイルのうち、.SF ファイル内にエントリを持つ各ファイルを読み込みます。読み込み中にファイルのダイジェストを計算し、結果をマニフェストセクション内の該当するファイルのダイジェストと比較します。2 つのダイジェストは同じでなければならず、そうでない場合は検証が失敗します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1028
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1029
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1030
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1031
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1032
検証プロセスの途中でなんらかの重大な検証エラーが発生した場合、検証プロセスは中止され、セキュリティー例外がスローされます。スローされたセキュリティー例外は、\f3jarsigner\fP がキャッチして表示します。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1033
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1034
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1035
.SS 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1036
1 つの JAR ファイルを対象とする複数の署名
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1037
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1038
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1039
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1040
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1041
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1042
1 つの JAR ファイルに対して \f3jarsigner\fP ツールを複数回実行し、実行のたびに、異なるユーザーの別名を指定すれば、JAR ファイルに複数のユーザーの署名を付けることができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1043
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1044
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1045
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1046
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1047
  jarsigner myBundle.jar susan
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1048
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1049
  jarsigner myBundle.jar kevin
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1050
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1051
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1052
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1053
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1054
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1055
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1056
JAR ファイルが複数回署名されている場合、その JAR ファイルには .SF ファイルと .DSA ファイルの対が複数含まれることになります。 .SF ファイルと .DSA ファイルの対は、1 回の署名に対して 1 つ作成されます。したがって、上の例で出力される JAR ファイルには、次の名前を持つファイルが含まれます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1057
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1058
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1059
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1060
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1061
  SUSAN.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1062
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1063
  SUSAN.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1064
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1065
  KEVIN.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1066
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1067
  KEVIN.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1068
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1069
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1070
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1071
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1072
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1073
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1074
注:JAR ファイルでは、JDK 1.1 の \f3javakey\fP ツールで生成された署名と \f3jarsigner\fP で生成された署名が混在できます。つまり、すでに \f3javakey\fP を使って署名が付けられている JAR ファイルに、\f3jarsigner\fP を使って署名を付けることができます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1075
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1076
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1077
.SH "オプション"
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1078
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1079
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1080
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1081
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1082
以下では、\f3jarsigner\fP のオプションについて説明します。注:
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1083
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1084
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1085
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1086
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1087
どのオプション名にも先頭にマイナス記号 (\-) が付く 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1088
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1089
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1090
オプションは任意の順序で指定できる 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1091
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1092
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1093
イタリック体の項目の実際の値 (オプションの値) は、ユーザーが指定する必要がある 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1094
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1095
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1096
\f2\-keystore\fP、\f2\-storepass\fP、\f2\-keypass\fP、\f2\-sigfile\fP、\f2\-sigalg\fP、\f2\-digestalg\fP および \f2\-signedjar\fP の各オプションを使用できるのは、JAR ファイルに署名を付ける場合だけである。 これらのオプションは、JAR ファイルを検証する場合には使用できない。同様に、別名をコマンド行で指定するのは、JAR ファイルに署名を付ける場合だけである 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1097
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1098
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1099
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1100
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1101
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1102
\-keystore url 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1103
キーストアの場所を示す URL を指定します。デフォルトは、ユーザーのホームディレクトリ内のファイル \f2.keystore\fP です。 ユーザーのホームディレクトリは、user.home システムプロパティーによって決まります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1104
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1105
署名するときはキーストアが必要です。 このため、デフォルトのキーストアが存在しない場合、あるいはデフォルト以外のほかのキーストアを使用する場合は、キーストアを明示的に指定する必要があります。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1106
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1107
検証するときはキーストアは必要ありません。 ただし、キーストアが指定されているか、あるいはデフォルトのキーストアが存在していて、さらに \f2\-verbose\fP オプションも指定されている場合は、JAR ファイルの検証に使われる証明書がキーストアに存在するかどうかについての追加情報が出力されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1108
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1109
注:\f2\-keystore\fP の引数には、URL の代わりにファイル名 (とパス) を指定できます。 ファイル名 (とパス) を指定した場合は、「file:」URL として扱われます。たとえば、次のように指定できます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1110
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1111
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1112
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1113
  \-keystore \fP\f4filePathAndName\fP\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1114
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1115
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1116
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1117
これは、次の指定と同じものとして扱われます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1118
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1119
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1120
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1121
  \-keystore file:\fP\f4filePathAndName\fP\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1122
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1123
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1124
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1125
JRE の \f2$JAVA_HOME/lib/security\fP ディレクトリに格納された \f2java.security\fP セキュリティープロパティーファイル内で Sun PKCS#11 プロバイダが設定されている場合、keytool と jarsigner は PKCS#11 トークンに基づいて動作できます。 次のオプションを指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1126
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1127
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1128
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1129
\f2\-keystore NONE\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1130
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1131
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1132
\f2\-storetype PKCS11\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1133
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1134
たとえば、次のコマンドは、設定された PKCS#11 トークンの内容を一覧表示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1135
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1136
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1137
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1138
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1139
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1140
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1141
   jarsigner \-keystore NONE \-storetype PKCS11 \-list
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1142
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1143
  
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1144
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1145
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1146
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1147
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1148
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1149
\-storetype storetype 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1150
インスタンスを生成するキーストアのタイプを指定します。デフォルトのキーストアタイプは、セキュリティープロパティーファイル内の keystore.type プロパティーの値で指定されたタイプです。 この値は、\f2java.security.KeyStore\fP の static \f2getDefaultType\fP メソッドで取得できます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1151
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1152
\f2\-storepass\fP オプションを使って PCKS#11 トークンの PIN を指定することもできます。何も指定しなかった場合、keytool と jarsigner はユーザーにトークン PIN の 入力を求めます。トークンに保護された認証パス (専用の PIN パッドや生体読み取り機など) がある場合、\f2\-protected\fP オプションを指定する必要がありますが、パスワードオプションを指定する必要はありません。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1153
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1154
\-storepass password 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1155
キーストアにアクセスするのに必要なパスワードを指定します。このオプションが必要なのは、JAR ファイルに署名を付けるときだけです (JAR ファイルを検証するときは不要)。署名を付けるときに、コマンド行で \f2\-storepass\fP オプションを指定しなかった場合は、パスワードの入力を求められます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1156
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1157
注:テストを目的とする場合、またはセキュリティー保護されたシステムを使用している場合以外は、コマンド行やスクリプトでパスワードを指定しないでください。また、password プロンプトでパスワードを入力すると、入力したパスワードがエコーされ、そのまま画面に表示されます。 このため、周囲にほかのユーザーがいる場合は、パスワードを見られないように注意してください。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1158
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1159
\-keypass password 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1160
コマンド行で指定された別名に対応するキーストアエントリの非公開鍵を保護するのに使うパスワードを指定します。\f3jarsigner\fP を使って JAR ファイルに署名を付けるときは、パスワードが必要です。コマンド行でパスワードが指定されておらず、必要なパスワードがストアのパスワードと異なる場合は、パスワードの入力を求められます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1161
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1162
注:テストを目的とする場合、またはセキュリティー保護されたシステムを使用している場合以外は、コマンド行やスクリプトでパスワードを指定しないでください。また、password プロンプトでパスワードを入力すると、入力したパスワードがエコーされ、そのまま画面に表示されます。 このため、周囲にほかのユーザーがいる場合は、パスワードを見られないように注意してください。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1163
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1164
\-sigfile file 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1165
.SF ファイルと .DSA ファイルの生成に使うベースファイル名を指定します。たとえば、\f2file\fP に DUKESIGN を指定すると、生成される .SF ファイルと .DSA ファイルの名前は、それぞれ DUKESIGN.SF と DUKESIGN.DSA になります。 これらのファイルは、署名付き JAR ファイルの META\-INF ディレクトリに置かれます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1166
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1167
\f2file\fP に使用できる文字は「a\-zA\-Z0\-9_\-」です。つまり、文字、数字、下線、およびハイフンだけを使用できます。注:.SF および .DSA のファイル名では、小文字はすべて大文字に変換されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1168
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1169
コマンド行で \f2\-sigfile\fP オプションを指定しなかった場合、.SF ファイルと .DSA ファイルのベースファイル名は、コマンド行で指定された別名の先頭の 8 文字をすべて大文字に変換したものになります。別名が 8 文字未満の場合は、別名がそのまま使われます。別名の中に、署名ファイル名に使用できない文字が含まれている場合は、該当する文字を下線 (_) に置き換えてファイル名が作成されます。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1170
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1171
\-sigalg algorithm 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1172
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1173
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1174
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1175
JAR ファイルの署名に使用する署名アルゴリズムの名前を指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1176
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1177
標準署名アルゴリズム名の一覧については、「Java Cryptography Architecture」にある 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1178
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1179
\f2「Appendix A 」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1180
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1181
http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppAを参照してください。このアルゴリズムは、JAR ファイルの署名に使用する秘密鍵と互換性のあるものでなければなりません。このオプションを指定しなかった場合、秘密鍵のタイプに応じて SHA1withDSA、MD5withRSA のいずれかが使用されます。指定されたアルゴリズムの実装を提供するプロバイダが静的にインストールされているか、あるいはユーザーがそのようなプロバイダを \f2\-providerClass\fP オプションを使って指定する必要があります。 そうでない場合、コマンドの実行が失敗します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1182
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1183
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1184
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1185
\-digestalg algorithm 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1186
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1187
JAR ファイルのエントリをダイジェストする際に使用するメッセージダイジェストアルゴリズムの名前を指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1188
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1189
標準メッセージダイジェストアルゴリズム名の一覧については、「Java Cryptography Architecture」にある 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1190
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1191
\f2「Appendix A 」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1192
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1193
http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html#AppAを参照してください。このオプションを指定しなかった場合、SHA\-1 が使用されます。指定されたアルゴリズムの実装を提供するプロバイダが静的にインストールされているか、あるいはユーザーがそのようなプロバイダを \f2\-providerClass\fP オプションを使って指定する必要があります。 そうでない場合、コマンドの実行が失敗します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1194
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1195
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1196
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1197
\-signedjar file 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1198
署名付き JAR ファイルの名前を指定します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1199
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1200
コマンド行で名前を指定しなかった場合は、入力 JAR ファイル (署名の対象となる JAR ファイル) の名前と同じ名前が使われます。 この場合、入力 JAR ファイルは署名付き JAR ファイルによって上書きされます。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1201
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1202
\-verify 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1203
コマンド行でこのオプションが指定されている場合は、指定された JAR ファイルが検証されます。JAR ファイルへの署名は行われません。 検証が成功すると、「jar が検証されました。」 というメッセージが表示されます。署名されていない JAR ファイル、またはサポートされていないアルゴリズム (RSA プロバイダのインストールを終了していない場合の RSA など) を使って署名された JAR ファイルを検証しようとすると、「jar は署名されていません。(署名が見つからないか、構文解析できません)」というメッセージが表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1204
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1205
署名付き JAR ファイルは、\f3jarsigner\fP または JDK 1.1 の \f3javakey\fP ツール、あるいはその両方を使って検証できます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1206
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1207
検証についての詳細は、「JAR ファイルの検証」を参照してください。  
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1208
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1209
\-certs 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1210
コマンド行で、\f2\-verify\fP および \f2\-verbose\fP オプションとともにこのオプションが指定されている場合は、JAR ファイルの各署名者の証明書情報も出力されます。証明書情報には次のものが含まれます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1211
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1212
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1213
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1214
署名者の公開鍵を証明する (.DSA ファイルに格納された) 証明書の種類の名前 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1215
.TP 2
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1216
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1217
証明書が X.509 証明書 (つまり、\f2java.security.cert.X509Certificate\fP のインスタンス) である場合は、署名者の識別名 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1218
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1219
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1220
キーストアの確認も行われます。コマンド行でキーストアの値が指定されていない場合、デフォルトのキーストアファイルがあれば、検査されます。署名者の公開鍵の証明書がキーストア内のエントリと一致した場合は、次の情報も表示されます。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1221
.RS 3
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1222
.TP 2
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1223
o
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1224
署名者に該当するキーストアエントリの別名。 この別名は括弧で囲まれます。ただし、キーストアではなく JDK 1.1 のアイデンティティーデータベースに由来する署名者の場合は、括弧ではなく大括弧で囲まれます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1225
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1226
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1227
\-verbose 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1228
コマンド行でこのオプションが指定されている場合、\f3jarsigner\fP は「冗長」モードで動作し、JAR の署名または検証の進行状況に関する追加情報を出力します。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1229
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1230
\-internalsf 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1231
以前は、JAR ファイルの署名時に生成された .DSA (署名ブロック) ファイルの中に、生成された .SF ファイル (署名ファイル) の完全なコピーが符号化された形で含まれていました。この動作は変更されました。この動作は変更になり、現在では、出力 JAR ファイル全体のサイズを小さくするために、デフォルトでは .SF ファイルが .DSA ファイルに含まれないようになっています。ただし、コマンド行で \f2\-internalsf\fP オプションを指定すると、以前と同じように動作します。\f3このオプションは、テストを行う場合には便利ですが、それ以外には使用しないでください。 このオプションを使用すると、有益な最適化が行われなくなります。\fP 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1232
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1233
\-sectionsonly 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1234
コマンド行でこのオプションが指定されている場合、JAR ファイルの署名時に生成される .SF ファイル (署名ファイル) には、マニフェストファイル全体のハッシュを含むヘッダーは追加されません。この場合、.SF ファイルに含まれるのは、JAR ファイル内の各ソースファイルに関する情報およびハッシュだけです。 詳細は、「署名 (.SF) ファイル」を参照してください。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1235
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1236
デフォルトでは、最適化を行うために、マニフェストファイル全体のハッシュを含むヘッダーが追加されます。ヘッダーが存在する場合は、JAR ファイルの検証時に、まずヘッダー内のハッシュが、マニフェストファイル全体のハッシュと実際に一致するかどうかが確認されます。ハッシュが一致する場合、検証は次の手順に進みます。ハッシュが一致しない場合は、効率的には劣る方法を使って検証を行います。 具体的には、.SF ファイル内の各ソースファイル情報セクションのハッシュが、マニフェストファイル内の対応するセクションのハッシュと一致するかどうかを確認します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1237
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1238
詳細は、「JAR ファイルの検証」を参照してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1239
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1240
\f3このオプションは、テストを行う場合には便利ですが、それ以外には使用しないでください。 このオプションを使用すると、有益な最適化が行われなくなります。\fP   
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1241
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1242
\-protected 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1243
\f2true\fP または \f2false\fP のいずれか。専用 PIN リーダーなどの保護された認証パスを介してパスワードを指定する必要がある場合には、この値に \f2true\fP を指定してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1244
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1245
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1246
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1247
\-provider provider\-class\-name 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1248
サービスプロバイダがセキュリティープロパティーファイル (\f2java.security\fP) のリストに入っていないときに、暗号化サービスプロバイダのマスタークラスファイルの名前を指定します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1249
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1250
\f2\-providerArg\fP \f2ConfigFilePath\fP オプションと組み合わせて使用します。 keytool と jarsigner はプロバイダを動的にインストールします (ここで、\f2ConfigFilePath\fP はトークン設定ファイルへのパスです)。セキュリティープロパティーファイル内で Sun PKCS#11 プロバイダが設定されていない場合に PKCS#11 キーストアを一覧表示するコマンドの例を次に示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1251
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1252
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1253
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1254
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1255
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1256
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1257
jarsigner \-keystore NONE \-storetype PKCS11 \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1258
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1259
          \-providerClass sun.security.pkcs11.SunPKCS11 \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1260
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1261
          \-providerArg /foo/bar/token.config \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1262
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1263
          \-list
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1264
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1265
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1266
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1267
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1268
.TP 3
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1269
\-providerName providerName 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1270
\f2java.security\fP セキュリティープロパティーファイル内で 2 つ以上のプロバイダが設定されている場合、\f2\-providerName\fP オプションを使って特定のプロバイダインスタンスを選択できます。このオプションの引数は、プロバイダの名前です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1271
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1272
Sun PKCS#11 プロバイダの場合、\f2providerName\fP は \f2SunPKCS11\-\fP\f2TokenName\fP という形式になります。 ここで「\f2TokenName\fP」は、プロバイダインスタンスが構成された名前の接尾辞です。 詳細は
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1273
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1274
\f2構成属性の表\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1275
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1276
http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html#ATTRSを参照してください。たとえば、以下のコマンドでは、名前接尾辞 \f2SmartCard\fP の PKCS#11 キーストアプロバイダインスタンスの内容をリストします。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1277
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1278
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1279
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1280
.nf
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1281
\f3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1282
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1283
jarsigner \-keystore NONE \-storetype PKCS11 \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1284
.fl
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1285
        \-providerName SunPKCS11\-SmartCard \\ 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1286
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1287
        \-list
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1288
.fl
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1289
\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1290
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1291
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1292
.TP 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1293
\-Jjavaoption 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1294
指定された \f2javaoption\fP 文字列を Java インタプリタに直接渡します。(\f3jarsigner\fP は、実際には Java インタプリタに対する「ラッパー」です。このオプションには、空白を含めることはできません。このオプションは、実行環境またはメモリー使用を調整する場合に便利です。指定できるインタプリタオプションを一覧表示するには、コマンド行で \f2java \-h\fP または \f2java \-X\fP と入力してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1295
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1296
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1297
\-tsa url 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1298
JAR ファイルの署名時にコマンド行に「\f2\-tsa http://example.tsa.url\fP」が表示される場合、署名のタイムスタンプが生成されます。URL \f2http://example.tsa.url\fP は、TSA (Time Stamping Authority) の場所を特定します。これは、\f2\-tsacert\fP オプションで検出された URL をオーバーライドします。\f2\-tsa\fP オプションでは、TSA の公開鍵証明書をキーストアに配置する必要はありません。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1299
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1300
タイムスタンプを生成するため、\f2jarsigner\fP は 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1301
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1302
\f2RFC 3161\fP @
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1303
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1304
http://www.ietf.org/rfc/rfc3161.txt で定義されている TSP (Time\-Stamp Protocol) を使用して TSA と通信します。成功すると、TSA から返されたタイムスタンプトークンは署名ブロックファイルの署名とともに保存されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1305
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1306
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1307
\-tsacert alias 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1308
JAR ファイルの署名時にコマンド行に「\f2\-tsacert alias\fP」が表示される場合、署名のタイムスタンプが生成されます。\f2alias\fP は、キーストア内の現在有効な TSA の公開鍵証明書を特定します。エントリの証明書で、TSA の場所を特定する URL を含む Subject Information Access 拡張機能が確認されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1309
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1310
TSA の公開鍵証明書は、\f2\-tsacert\fP を使った場合、キーストアに配置されている必要があります。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1311
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1312
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1313
\-altsigner class 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1314
代替署名機構を使用することを指定します。完全修飾クラス名は、\f2com.sun.jarsigner.ContentSigner\fP の abstract クラスを拡張するクラスファイルを特定します。このクラスファイルへのパスは、\f2\-altsignerpath\fP オプションによって定義されます。\f2\-altsigner\fP オプションを使用した場合、\f2jarsigner\fP は指定されたクラスが提供する署名機構を使用します。または、\f2jarsigner\fP はデフォルトの署名機構を使用します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1315
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1316
たとえば、\f2com.sun.sun.jarsigner.AuthSigner\fP というクラスが提供する署名機構を使用するには、\f2jarsigner\fP オプション「\f2\-altsigner com.sun.jarsigner.AuthSigner\fP」を使用します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1317
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1318
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1319
\-altsignerpath classpathlist 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1320
クラスファイル (クラスファイル名は上記のように \f2\-altsigner\fP オプションで指定される) およびそれが依存する JAR ファイルへのパスを指定します。クラスファイルが JAR ファイル内にある場合、以下の例のように JAR ファイルへのパスが指定されます。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1321
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1322
絶対パスまたは現在のディレクトリからの相対パスを指定できます。\f2classpathlist\fP には、複数のパスまたは JAR ファイルを含めることができます。 その場合、各パスまたは JAR ファイルを、Solaris の場合にはコロン (\f2:\fP)、Windows の場合にはセミコロン (\f2;\fP) で区切ります。目的のクラスがすでに検索パス内にある場合は、このオプションは不要です。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1323
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1324
クラスファイルを含む、JAR ファイルへのパスを指定する例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1325
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1326
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1327
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1328
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1329
\f2\-altsignerpath /home/user/lib/authsigner.jar\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1330
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1331
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1332
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1333
JAR ファイル名が含まれていることに注意してください。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1334
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1335
クラスファイルを含む JAR ファイルへのパスを指定する例を示します。 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1336
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1337
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1338
\f2\-altsignerpath /home/user/classes/com/sun/tools/jarsigner/\fP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1339
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1340
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1341
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1342
JAR ファイル名は含まれていないことに留意してください。  
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1343
.RE
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1344
.SH "例"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1345
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1346
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1347
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1348
.SS 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1349
JAR ファイルの署名
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1350
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1351
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1352
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1353
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1354
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1355
bundle.jar という名前の JAR ファイルがあるとします。 このファイルに、キーストアの別名が jane であるユーザーの非公開鍵を使って、署名を付けるとします。キーストアは、mystore という名前で、C ドライブの working ディレクトリにあり、キーストアのパスワードは mypass、\f2jane\fP の非公開鍵のパスワードは j638klm とします。この場合、次のコマンドを実行すると、JAR ファイルに署名を付けて sbundle.jar という署名付き JAR ファイルを作成できます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1356
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1357
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1358
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1359
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1360
    jarsigner \-keystore /working/mystore \-storepass myspass
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1361
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1362
      \-keypass j638klm \-signedjar sbundle.jar bundle.jar jane 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1363
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1364
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1365
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1366
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1367
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1368
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1369
上のコマンドでは \f2\-sigfile\fP オプションが指定されていないため、署名付き JAR ファイルに格納される .SF ファイルと .DSA ファイルの名前は、別名からデフォルト名がつけられます。つまり、\f2JANE.SF\fP と \f2JANE.DSA\fP になります。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1370
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1371
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1372
ストアのパスワードと非公開鍵のパスワードをあとで入力する場合は、上のコマンドを短縮して次のように入力できます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1373
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1374
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1375
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1376
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1377
    jarsigner \-keystore /working/mystore
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1378
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1379
      \-signedjar sbundle.jar bundle.jar jane 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1380
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1381
\fP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1382
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1383
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1384
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1385
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1386
デフォルトのキーストア (ホームディレクトリ内の .keystore という名前のキーストア) を使用する場合は、次に示すように、キーストアの指定を省略できます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1387
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1388
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1389
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1390
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1391
    jarsigner \-signedjar sbundle.jar bundle.jar jane 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1392
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1393
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1394
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1395
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1396
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1397
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1398
また、署名付き JAR ファイルで入力 JAR ファイル (\f2bundle.jar\fP) を上書きする場合は、\f2\-signedjar\fP オプションの指定も省略できます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1399
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1400
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1401
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1402
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1403
    jarsigner bundle.jar jane 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1404
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1405
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1406
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1407
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1408
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1409
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1410
.SS 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1411
署名付き JAR ファイルの検証
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1412
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1413
.RS 3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1414
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1415
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1416
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1417
次に示すのは、署名付き JAR ファイルを検証し、署名が有効で JAR ファイルが改変されていないことを確認するためのコマンド例です。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1418
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1419
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1420
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1421
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1422
    jarsigner \-verify sbundle.jar 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1423
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1424
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1425
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1426
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1427
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1428
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1429
検証が成功すると、次のようなメッセージが表示されます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1430
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1431
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1432
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1433
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1434
    jar が検証されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1435
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1436
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1437
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1438
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1439
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1440
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1441
というメッセージが表示されます。検証が成功しなかった場合は、エラーメッセージが表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1442
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1443
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1444
\f2\-verbose\fP オプションを使うと、より多くの情報が表示されます。次に示すのは、\f2\-verbose\fP オプションを指定した \f3jarsigner\fP の実行例とその出力結果です。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1445
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1446
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1447
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1448
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1449
    jarsigner \-verify \-verbose sbundle.jar
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1450
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1451
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1452
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1453
           198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1454
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1455
           199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1456
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1457
          1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1458
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1459
    smk   2752 Fri Sep 26 16:12:30 PDT 1997 AclEx.class
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1460
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1461
    smk    849 Fri Sep 26 16:12:46 PDT 1997 test.class
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1462
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1463
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1464
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1465
      s = 署名が検証されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1466
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1467
      m = エントリがマニフェスト内にリストされます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1468
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1469
      k = 1 つ以上の証明書がキーストアで検出されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1470
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1471
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1472
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1473
    jar が検証されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1474
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1475
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1476
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1477
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1478
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1479
.SS 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1480
証明書情報を使った検証
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1481
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1482
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1483
検証時に、\f2\-verify\fP と \f2\-verbose\fP オプションに加えて \f2\-certs\fP オプションを指定した場合は、JAR ファイル内の各署名者の証明書情報も出力されます。 これには、証明書のタイプ、署名者の識別名情報 (X.509 証明書の場合)、および JAR ファイルの公開鍵の証明書がキーストアエントリの公開鍵の証明書と一致する場合には、括弧で囲まれた署名者のキーストア別名が含まれます。次に例を示します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1484
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1485
.nf
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1486
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1487
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1488
    jarsigner \-keystore /working/mystore \-verify \-verbose \-certs myTest.jar
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1489
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1490
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1491
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1492
           198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1493
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1494
           199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1495
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1496
          1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1497
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1498
           208 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1499
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1500
          1087 Fri Sep 26 16:23:30 PDT 1997 META\-INF/JAVATEST.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1501
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1502
    smk   2752 Fri Sep 26 16:12:30 PDT 1997 Tst.class
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1503
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1504
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1505
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1506
      X.509, CN=Test Group, OU=Java Software, O=Sun Microsystems, L=CUP, S=CA, C=US (javatest)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1507
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1508
      X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1509
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1510
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1511
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1512
      s = 署名が検証されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1513
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1514
      m = エントリがマニフェスト内にリストされます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1515
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1516
      k = 1 つ以上の証明書がキーストアで検出されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1517
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1518
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1519
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1520
    jar が検証されました。 
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1521
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1522
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1523
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1524
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1525
.LP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1526
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1527
署名者の証明書が X.509 証明書でない場合は、識別名情報は表示されません。その場合には、証明書のタイプと別名だけが表示されます。たとえば、証明書が PGP 証明書で、別名が bob の場合は、次のように表示されます。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1528
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1529
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1530
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1531
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1532
      PGP, (bob)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1533
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1534
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1535
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1536
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1537
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1538
.SS 
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1539
アイデンティティーデータベースの署名者を含む JAR ファイルの検証
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1540
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1541
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1542
JAR ファイルが、JDK 1.1 の \f3javakey\fP ツールを使って署名されている場合、署名者はアイデンティティーデータベース内の別名です。 この場合、検証の出力には i という記号が含まれます。JAR ファイルが、アイデンティティーデータベース内の別名とキーストア内の別名の両方によって署名されている場合は、k と i の両方が表示されます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1543
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1544
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1545
\f2\-certs\fP オプションを指定した場合、キーストアの別名は括弧で囲まれるのに対し、アイデンティティーデータベース内の別名は角括弧で囲まれて表示されます。例を示します。
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1546
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1547
.nf
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1548
\f3
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1549
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1550
    jarsigner \-keystore /working/mystore \-verify \-verbose \-certs writeFile.jar
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1551
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1552
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1553
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1554
           198 Fri Sep 26 16:14:06 PDT 1997 META\-INF/MANIFEST.MF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1555
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1556
           199 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1557
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1558
          1013 Fri Sep 26 16:22:10 PDT 1997 META\-INF/JANE.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1559
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1560
           199 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.SF
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1561
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1562
          1013 Fri Sep 27 12:22:30 PDT 1997 META\-INF/DUKE.DSA
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1563
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1564
   smki   2752 Fri Sep 26 16:12:30 PDT 1997 writeFile.html
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1565
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1566
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1567
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1568
      X.509, CN=Jane Smith, OU=Java Software, O=Sun, L=cup, S=ca, C=us (jane)
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1569
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1570
      X.509, CN=Duke, OU=Java Software, O=Sun, L=cup, S=ca, C=us [duke]
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1571
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1572
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1573
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1574
      s = 署名が検証されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1575
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1576
      m = エントリがマニフェスト内にリストされます。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1577
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1578
      k = 1 つ以上の証明書がキーストアで検出されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1579
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1580
      i = 1 つ以上の証明書がアイデンティティースコープで検出されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1581
.fl
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1582
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1583
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1584
    jar が検証されました。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1585
.fl
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1586
\fP
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1587
.fi
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1588
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1589
.LP
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1590
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1591
別名 duke は角括弧で囲まれているので、この別名はキーストアの別名ではなく、アイデンティティーデータベースの別名です。
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1592
.LP
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1593
.RE
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1594
.SH "関連項目"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1595
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1596
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1597
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1598
.RS 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1599
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1600
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1601
jar(1) ツールのドキュメント 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1602
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1603
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1604
keytool(1) ツールのドキュメント 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1605
.TP 2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1606
o
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1607
\f3jarsigner\fP ツールの使用例については、
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1608
.na
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1609
\f4「Java Tutorial」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1610
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1611
http://java.sun.com/docs/books/tutorial/index.htmlの
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1612
.na
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1613
\f4「Security」\fP @
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1614
.fi
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
  1615
http://java.sun.com/docs/books/tutorial/security/index.htmlを参照 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1616
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1617
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1618
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1619
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1620
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
  1621