pkcs7(1)
=pod =head1 NAME pkcs7 - PKCS#7 utility
NAME
pkcs7 - PKCS#7 ユーティリティ
=head1 SYNOPSIS
SYNOPSIS
B<openssl> B<pkcs7> [B<-inform PEM|DER>] [B<-outform PEM|DER>] [B<-in filename>] [B<-out filename>] [B<-print_certs>] [B<-text>] [B<-noout>] [B<-engine id>]
=head1 DESCRIPTION
DESCRIPTION
The B<pkcs7> command processes PKCS#7 files in DER or PEM format.
pkcs7 コマンドは DER あるいは PEM フォーマットの PKCS#7 ファイルを処理する。
=head1 COMMAND OPTIONS
COMMAND OPTIONS
=over 4 =item B<-inform DER|PEM> This specifies the input format. B<DER> format is DER encoded PKCS#7 v1.5 structure.B<PEM> (the default) is a base64 encoded version of the DER form with header and footer lines.
-inform DER|PEM
これは入力フォーマットを指定する。 DER フォーマットは DER エンコードされた PKCS#7 v1.5 構造である。 (デフォルトの) PEM は ヘッダとフッタを持つ DER 形式の base64 エンコード版である。
=item B<-outform DER|PEM> This specifies the output format, the options have the same meaning as the B<-inform> option.
-outform DER|PEM
これは出力フォーマットを指定する。オプションの意味は -inform と同じである。
=item B<-in filename> This specifies the input filename to read from or standard input if this option is not specified.
-in filename
これはデータ読み込み用入力ファイル名を指定する。このオプションが指定されない場合、標準入力から読み込まれる。
=item B<-out filename> specifies the output filename to write to or standard output by default.
-out filename
データ書き込み用出力ファイル名を指定する。標準出力がデフォルトである。
=item B<-print_certs> prints out any certificates or CRLs contained in the file. They are preceded by their subject and issuer names in one line format.
-print_certs
ファイルに含まれるすべての証明書と CRL を出力する。それぞれ、1行目に subject 及び issuer names が表示される。
=item B<-text> prints out certificates details in full rather than just subject and issuer names.
-text
証明書の全てというよりは subject 及び issuer names を出力する。
=item B<-noout> don't output the encoded version of the PKCS#7 structure (or certificates is B<-print_certs> is set).
-noout
PKCS#7 構造 (あるいは -print_certs が設定されていれば証明書) のエンコードバージョンを出力しない。
=item B<-engine id> specifying an engine (by it's unique B<id> string) will cause B<req> to attempt to obtain a functional reference to the specified engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.
-engine id
(固有の id によって) 指定されたエンジンは、 req で指定されたエンジンの機能の詳細の入手を試みさせ、必要であれば初期化を行なう。*** 結果的にエンジンはすべての利用可能なアルゴリズムに対してデフォルト値を設定する。
=back =head1 EXAMPLES
EXAMPLES
Convert a PKCS#7 file from PEM to DER: openssl pkcs7 -in file.pem -outform DER -out file.der
PKCS#7 ファイルを PEM から DER に変換する :
openssl pkcs7 -in file.pem -outform DER -out file.der
Output all certificates in a file: openssl pkcs7 -in file.pem -print_certs -out certs.pem
全ての証明書をファイルに出力する :
openssl pkcs7 -in file.pem -print_certs -out certs.pem
=head1 NOTES
NOTES
The PEM PKCS#7 format uses the header and footer lines: -----BEGIN PKCS7----- -----END PKCS7-----
PEM PKCS#7 フォーマットは以下のヘッダ及びフッタを使う :
-----BEGIN PKCS7----- -----END PKCS7-----
For compatibility with some CAs it will also accept: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
いくつかの CA との互換性のために、以下も許可される :
-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
=head1 RESTRICTIONS
RESTRICTIONS (制限事項)
There is no option to print out all the fields of a PKCS#7 file. This PKCS#7 routines only understand PKCS#7 v 1.5 as specified in RFC2315 they cannot currently parse, for example, the new CMS as described in RFC2630.
PKCS#7 形式のファイルの全てのフィールドを出力するオプションは存在しない。この PKCS#7 ルーチンは、RFC2315で指定された PKCS#7 v1.5 のみを理解する。例えば RFC2630で記載されている CMS のような新しいものは現在は解析できない。
=head1 SEE ALSO
SEE ALSO
L<crl2pkcs7(1)|crl2pkcs7(1)> =cut
キーワード:
参照:[crl2pkcs7(1)] [OpenSSL のマニュアルの翻訳]