RFC2630 日本語訳

2630 Cryptographic Message Syntax. R. Housley. June 1999. (Format: TXT=128599 bytes) (Obsoleted by RFC3369, RFC3370) (Status: PROPOSED STANDARD)
プログラムでの自動翻訳です。
英語原文

Network Working Group                                        R. Housley
Request for Comments: 2630                                       SPYRUS
Category: Standards Track                                     June 1999

Housleyがコメントのために要求するワーキンググループR.をネットワークでつないでください: 2630年のSPYRUSカテゴリ: 標準化過程1999年6月

                      Cryptographic Message Syntax

暗号のメッセージ構文

Status of this Memo

このMemoの状態

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

このドキュメントは、インターネットコミュニティにインターネット標準化過程プロトコルを指定して、改良のために議論と提案を要求します。 このプロトコルの標準化状態と状態への「インターネット公式プロトコル標準」(STD1)の現行版を参照してください。 このメモの分配は無制限です。

Copyright Notice

版権情報

   Copyright (C) The Internet Society (1999).  All Rights Reserved.

Copyright(C)インターネット協会(1999)。 All rights reserved。

Abstract

要約

   This document describes the Cryptographic Message Syntax.  This
   syntax is used to digitally sign, digest, authenticate, or encrypt
   arbitrary messages.

このドキュメントはCryptographic Message Syntaxについて説明します。 この構文は、任意のメッセージをデジタルに署名するか、読みこなすか、認証するか、または暗号化するのに使用されます。

   The Cryptographic Message Syntax is derived from PKCS #7 version 1.5
   as specified in RFC 2315 [PKCS#7].  Wherever possible, backward
   compatibility is preserved; however, changes were necessary to
   accommodate attribute certificate transfer and key agreement
   techniques for key management.

RFC2315[PKCS#7]の指定されるとしてのPKCS#7バージョン1.5からCryptographic Message Syntaxを得ます。 可能であって、どこでも、後方であるところでは、互換性が保存されます。 しかしながら、変化が、属性証明書転送とかぎ管理に、主要な協定のテクニックに対応するのに必要でした。

Housley                     Standards Track                     [Page 1]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[1ページ]RFC2630

Table of Contents

目次

   1   Introduction .................................................  4
   2   General Overview .............................................  4
   3   General Syntax ...............................................  5
   4   Data Content Type ............................................  5
   5   Signed-data Content Type .....................................  6
       5.1  SignedData Type .........................................  7
       5.2  EncapsulatedContentInfo Type ............................  8
       5.3  SignerInfo Type .........................................  9
       5.4  Message Digest Calculation Process ...................... 11
       5.5  Message Signature Generation Process .................... 12
       5.6  Message Signature Verification Process .................. 12
   6   Enveloped-data Content Type .................................. 12
       6.1  EnvelopedData Type ...................................... 14
       6.2  RecipientInfo Type ...................................... 15
            6.2.1  KeyTransRecipientInfo Type ....................... 16
            6.2.2  KeyAgreeRecipientInfo Type ....................... 17
            6.2.3  KEKRecipientInfo Type ............................ 19
       6.3  Content-encryption Process .............................. 20
       6.4  Key-encryption Process .................................. 20
   7   Digested-data Content Type ................................... 21
   8   Encrypted-data Content Type .................................. 22
   9   Authenticated-data Content Type .............................. 23
       9.1  AuthenticatedData Type .................................. 23
       9.2  MAC Generation .......................................... 25
       9.3  MAC Verification ........................................ 26
   10  Useful Types ................................................. 27
       10.1  Algorithm Identifier Types ............................. 27
             10.1.1  DigestAlgorithmIdentifier ...................... 27
             10.1.2  SignatureAlgorithmIdentifier ................... 27
             10.1.3  KeyEncryptionAlgorithmIdentifier ............... 28
             10.1.4  ContentEncryptionAlgorithmIdentifier ........... 28
             10.1.5  MessageAuthenticationCodeAlgorithm ............. 28
       10.2  Other Useful Types ..................................... 28
             10.2.1  CertificateRevocationLists ..................... 28
             10.2.2  CertificateChoices ............................. 29
             10.2.3  CertificateSet ................................. 29
             10.2.4  IssuerAndSerialNumber .......................... 30
             10.2.5  CMSVersion ..................................... 30
             10.2.6  UserKeyingMaterial ............................. 30
             10.2.7  OtherKeyAttribute .............................. 30

1つの序論… 4 2概要… 4 3の一般構文… 5 4データcontent type… データが署名された5 5content type… 6 5.1 SignedDataはタイプします… 7 5.2 EncapsulatedContentInfoはタイプします… 8 5.3 SignerInfoはタイプします… 9 5.4 メッセージダイジェスト計算過程… 11 5.5メッセージ署名世代、処理してください… 12 5.6メッセージ署名照合プロセス… 12 6 おおわれたデータcontent type… 12 6.1 EnvelopedDataはタイプします… 14 6.2 RecipientInfoはタイプします… 15 6.2 .1 KeyTransRecipientInfoはタイプします… 16 6.2 .2 KeyAgreeRecipientInfoはタイプします… 17 6.2 .3 KEKRecipientInfoはタイプします… 19 6.3満足している暗号化プロセス… 20 6.4主要な暗号化プロセス… 20 7 読みこなされたデータcontent type… 21 8 暗号化されたデータcontent type… 22 9 認証されたデータcontent type… 23 9.1 AuthenticatedDataはタイプします… 23 9.2MAC世代… 25 9.3 MAC検証… 26 10の役に立つタイプ… 27 10.1 アルゴリズム識別子タイプ… 27 10.1.1 DigestAlgorithmIdentifier… 27 10.1.2 SignatureAlgorithmIdentifier… 27 10.1.3 KeyEncryptionAlgorithmIdentifier… 28 10.1.4 ContentEncryptionAlgorithmIdentifier… 28 10.1.5 MessageAuthenticationCodeAlgorithm… 28 10.2 他の役に立つタイプ… 28 10.2.1 CertificateRevocationLists… 28 10.2.2 CertificateChoices… 29 10.2.3 CertificateSet… 29 10.2.4 IssuerAndSerialNumber… 30 10.2.5 CMSVersion… 30 10.2.6 UserKeyingMaterial… 30 10.2.7 OtherKeyAttribute… 30

Housley                     Standards Track                     [Page 2]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[2ページ]RFC2630

   11  Useful Attributes ............................................ 31
       11.1  Content Type ........................................... 31
       11.2  Message Digest ......................................... 32
       11.3  Signing Time ........................................... 32
       11.4  Countersignature ....................................... 34
   12  Supported Algorithms ......................................... 35
       12.1  Digest Algorithms ...................................... 35
             12.1.1  SHA-1 .......................................... 35
             12.1.2  MD5 ............................................ 35
       12.2  Signature Algorithms ................................... 36
             12.2.1  DSA ............................................ 36
             12.2.2  RSA ............................................ 36
       12.3  Key Management Algorithms .............................. 36
             12.3.1  Key Agreement Algorithms ....................... 36
                     12.3.1.1  X9.42 Ephemeral-Static Diffie-Hellman. 37
             12.3.2  Key Transport Algorithms ....................... 38
                     12.3.2.1  RSA .................................. 39
             12.3.3  Symmetric Key-Encryption Key Algorithms ........ 39
                     12.3.3.1  Triple-DES Key Wrap .................. 40
                     12.3.3.2  RC2 Key Wrap ......................... 41
      12.4  Content Encryption Algorithms ........................... 41
            12.4.1  Triple-DES CBC .................................. 42
            12.4.2  RC2 CBC ......................................... 42
      12.5  Message Authentication Code Algorithms .................. 42
            12.5.1  HMAC with SHA-1 ................................. 43
      12.6  Triple-DES and RC2 Key Wrap Algorithms .................. 43
            12.6.1  Key Checksum .................................... 44
            12.6.2  Triple-DES Key Wrap ............................. 44
            12.6.3  Triple-DES Key Unwrap ........................... 44
            12.6.4  RC2 Key Wrap .................................... 45
            12.6.5  RC2 Key Unwrap .................................. 46
   Appendix A:  ASN.1 Module ........................................ 47
   References ....................................................... 55
   Security Considerations .......................................... 56
   Acknowledgments .................................................. 58
   Author's Address ................................................. 59
   Full Copyright Statement ......................................... 60

11の役に立つ属性… 31 11.1content type… 31 11.2メッセージダイジェスト… 32 11.3 署名時間… 32 11.4副署… 34 12はアルゴリズムをサポートしました… 35 12.1 アルゴリズムを読みこなしてください… 35 12.1.1 SHA-1… 35 12.1.2 MD5… 35 12.2 署名アルゴリズム… 36 12.2.1 DSA… 36 12.2.2 RSA… 36 12.3 Key Managementアルゴリズム… 36 12.3.1 主要な協定アルゴリズム… 36 12.3.1.1 X9.42のはかなく静的なディフィー-ヘルマン。 37 12.3.2 主要な輸送アルゴリズム… 38 12.3.2.1 RSA… 39 12.3.3 左右対称の主要な暗号化主要なアルゴリズム… 39 12.3.3.1 三重のDESの主要な包装… 40 12.3.3.2 RC2の主要な包装… 41 12.4 満足している暗号化アルゴリズム… 41 12.4.1 三重のDES CBC… 42 12.4.2 RC2 CBC… 42 12.5 メッセージ立証コードアルゴリズム… 42 12.5.1 SHA-1とHMAC… 43 12.6 三重のDESとRC2キーはアルゴリズムを包装します… 43 12.6.1 主要なチェックサム… 44 12.6.2 三重のDESの主要な包装… 44 12.6.3 三重のDESキーは開けられます… 44 12.6.4 RC2の主要な包装… 45 12.6.5 RC2キーは開けられます… 46 付録A: ASN.1モジュール… 47の参照箇所… 55 セキュリティ問題… 56の承認… 58作者のアドレス… 59 完全な著作権宣言文… 60

Housley                     Standards Track                     [Page 3]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[3ページ]RFC2630

1  Introduction

1つの序論

   This document describes the Cryptographic Message Syntax.  This
   syntax is used to digitally sign, digest, authenticate, or encrypt
   arbitrary messages.

このドキュメントはCryptographic Message Syntaxについて説明します。 この構文は、任意のメッセージをデジタルに署名するか、読みこなすか、認証するか、または暗号化するのに使用されます。

   The Cryptographic Message Syntax describes an encapsulation syntax
   for data protection.  It supports digital signatures, message
   authentication codes, and encryption.  The syntax allows multiple
   encapsulation, so one encapsulation envelope can be nested inside
   another.  Likewise, one party can digitally sign some previously
   encapsulated data.  It also allows arbitrary attributes, such as
   signing time, to be signed along with the message content, and
   provides for other attributes such as countersignatures to be
   associated with a signature.

Cryptographic Message Syntaxはデータ保護のためにカプセル化構文について説明します。 それはデジタル署名、メッセージ確認コード、および暗号化をサポートします。 構文が複数のカプセル化を許容するので、別のものの中で1個のカプセル化封筒を入れ子にすることができます。 同様に、1回のパーティーがいくつかの以前にカプセル化されたデータにデジタルに署名することができます。 それは、また、メッセージ内容と共に署名するべき署名時間などの任意の属性を許容して、署名に関連しているように副署などの他の属性に備えます。

   The Cryptographic Message Syntax can support a variety of
   architectures for certificate-based key management, such as the one
   defined by the PKIX working group.

Cryptographic Message Syntaxは証明書を拠点とするかぎ管理のためにさまざまなアーキテクチャをサポートできます、PKIXワーキンググループによって定義されたものなどのように。

   The Cryptographic Message Syntax values are generated using ASN.1
   [X.208-88], using BER-encoding [X.209-88].  Values are typically
   represented as octet strings.  While many systems are capable of
   transmitting arbitrary octet strings reliably, it is well known that
   many electronic-mail systems are not.  This document does not address
   mechanisms for encoding octet strings for reliable transmission in
   such environments.

BERをコード化している[X.209-88]を使用して、ASN.1[X.208-88]を使用するのはCryptographic Message Syntax値に生成されます。 値は八重奏ストリングとして通常表されます。 多くのシステムが任意の八重奏ストリングを確かに伝えることができますが、多くの電子メール・システムがそうでないことはよく知られています。 このドキュメントは、そのような環境における信頼できるトランスミッションのために八重奏ストリングをコード化するためにメカニズムを扱いません。

2  General Overview

2 概要

   The Cryptographic Message Syntax (CMS) is general enough to support
   many different content types.  This document defines one protection
   content, ContentInfo.  ContentInfo encapsulates a single identified
   content type, and the identified type may provide further
   encapsulation.  This document defines six content types: data,
   signed-data, enveloped-data, digested-data, encrypted-data, and
   authenticated-data.  Additional content types can be defined outside
   this document.

Cryptographic Message Syntax(CMS)は多くの異なったcontent typeをサポートするほど一般的です。 ContentInfo、このドキュメントは1つの保護内容を定義します。 ContentInfoはただ一つの特定されたcontent typeをカプセル化します、そして、特定されたタイプはさらなるカプセル化を提供するかもしれません。 このドキュメントは6つのcontent typeを定義します: データ、署名しているデータ、おおわれたデータ、読みこなされたデータ、暗号化されたデータ、および認証されたデータ。 このドキュメントの外で追加content typeを定義できます。

   An implementation that conforms to this specification must implement
   the protection content, ContentInfo, and must implement the data,
   signed-data, and enveloped-data content types.  The other content
   types may be implemented if desired.

この仕様に従う実装は、保護が内容、ContentInfoであると実装しなければならなくて、データ、署名しているデータ、およびおおわれたデータにcontent typeを実装しなければなりません。 望まれているなら、他のcontent typeは実装されるかもしれません。

   As a general design philosophy, each content type permits single pass
   processing using indefinite-length Basic Encoding Rules (BER)
   encoding.  Single-pass operation is especially helpful if content is
   large, stored on tapes, or is "piped" from another process.  Single-

一般的な設計理念として、各content typeは、無期長さのBasic Encoding Rules(BER)コード化を使用することでただ一つのパス処理を可能にします。 内容がテープに大きく、保存されているか、または別のプロセスから「運ばれる」なら、単一のパス操作は特に役立っています。 シングル

Housley                     Standards Track                     [Page 4]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[4ページ]RFC2630

   pass operation has one significant drawback: it is difficult to
   perform encode operations using the Distinguished Encoding Rules
   (DER) [X.509-88] encoding in a single pass since the lengths of the
   various components may not be known in advance.  However, signed
   attributes within the signed-data content type and authenticated
   attributes within the authenticated-data content type require DER
   encoding.  Signed attributes and authenticated attributes must be
   transmitted in DER form to ensure that recipients can verify a
   content that contains one or more unrecognized attributes.  Signed
   attributes and authenticated attributes are the only CMS data types
   that require DER encoding.

パス操作には、1つの重要な欠点があります: エンコード操作を実行するのは様々なコンポーネントの長さがあらかじめ知られていないかもしれないので単一のパスでDistinguished Encoding Rules(DER)[X.509-88]コード化を使用するのにおいて難しいです。 しかしながら、署名しているデータcontent typeの中の署名している属性と認証されたデータcontent typeの中の認証された属性はDERコード化を必要とします。 受取人が1つ以上の認識されていない属性を含む内容について確かめることができるのを保証するためにDERフォームで署名している属性と認証された属性を伝えなければなりません。 属性と認証された属性であると署名されているのは、DERコード化を必要とする唯一のCMSデータ型です。

3  General Syntax

3の一般構文

   The Cryptographic Message Syntax (CMS) associates a content type
   identifier with a content.  The syntax shall have ASN.1 type
   ContentInfo:

Cryptographic Message Syntax(CMS)はcontent type識別子を内容に関連づけます。 構文で、ASN.1はContentInfoをタイプするものとします:

      ContentInfo ::= SEQUENCE {
        contentType ContentType,
        content [0] EXPLICIT ANY DEFINED BY contentType }

ContentInfo:、:= 系列contentType ContentType、内容[0]EXPLICIT ANY DEFINED BY contentType

      ContentType ::= OBJECT IDENTIFIER

ContentType:、:= オブジェクト識別子

   The fields of ContentInfo have the following meanings:

ContentInfoの分野には、以下の意味があります:

      contentType indicates the type of the associated content.  It is
      an object identifier; it is a unique string of integers assigned
      by an authority that defines the content type.

contentTypeは関連内容のタイプを示します。 それはオブジェクト識別子です。 それはcontent typeを定義する権威によって割り当てられた整数のユニークなストリングです。

      content is the associated content.  The type of content can be
      determined uniquely by contentType.  Content types for data,
      signed-data, enveloped-data, digested-data, encrypted-data, and
      authenticated-data are defined in this document.  If additional
      content types are defined in other documents, the ASN.1 type
      defined should not be a CHOICE type.

内容は関連内容です。 contentTypeは唯一内容のタイプを決定できます。 データのためのcontent type、署名しているデータ、おおわれたデータ、読みこなされたデータ、暗号化されたデータ、および認証されたデータは本書では定義されます。 追加content typeが他のドキュメントで定義されるなら、タイプが定義したASN.1はCHOICEタイプであるべきではありません。

4  Data Content Type

4データcontent type

   The following object identifier identifies the data content type:

以下のオブジェクト識別子はデータcontent typeを特定します:

      id-data OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs7(7) 1 }

イドデータOBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)1をメンバーと同じくらい具体化させます。

   The data content type is intended to refer to arbitrary octet
   strings, such as ASCII text files; the interpretation is left to the
   application.  Such strings need not have any internal structure

データcontent typeがASCIIテキスト・ファイルなどの任意の八重奏ストリングについて言及することを意図します。 解釈はアプリケーションに残されます。 そのようなストリングには、少しの内部の構造もある必要はありません。

Housley                     Standards Track                     [Page 5]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[5ページ]RFC2630

   (although they could have their own ASN.1 definition or other
   structure).

(彼らには、それら自身のASN.1定義か非重要構造があるかもしれませんが。)

   The data content type is generally encapsulated in the signed-data,
   enveloped-data, digested-data, encrypted-data, or authenticated-data
   content type.

一般に、データcontent typeは署名しているデータ、おおわれたデータ、読みこなされたデータ、暗号化されたデータ、または認証されたデータcontent typeでカプセル化されます。

5  Signed-data Content Type

5 署名しているデータcontent type

   The signed-data content type consists of a content of any type and
   zero or more signature values.  Any number of signers in parallel can
   sign any type of content.

署名しているデータcontent typeはどんなタイプとゼロの内容か、より多くの署名値からも成ります。 平行ないろいろな署名者がどんなタイプの内容にも署名することができます。

   The typical application of the signed-data content type represents
   one signer's digital signature on content of the data content type.
   Another typical application disseminates certificates and certificate
   revocation lists (CRLs).

署名しているデータcontent typeの主用途はデータcontent typeの内容に1つの署名者のデジタル署名を表します。 別の主用途は証明書と証明書失効リスト(CRLs)を広めます。

   The process by which signed-data is constructed involves the
   following steps:

署名しているデータが構成されるプロセスは以下のステップにかかわります:

      1.  For each signer, a message digest, or hash value, is computed
      on the content with a signer-specific message-digest algorithm.
      If the signer is signing any information other than the content,
      the message digest of the content and the other information are
      digested with the signer's message digest algorithm (see Section
      5.4), and the result becomes the "message digest."

1. 各署名者に関しては、メッセージダイジェスト、またはハッシュ値が内容で署名者特有のメッセージダイジェストアルゴリズムで計算されます。 署名者が何か内容以外の情報に署名しているなら、内容のメッセージダイジェストと他の情報は署名者のメッセージダイジェストアルゴリズムで読みこなされます、そして、(セクション5.4を見てください)結果は「メッセージダイジェスト」になります。

      2.  For each signer, the message digest is digitally signed using
      the signer's private key.

2. 各署名者に関しては、署名者の秘密鍵を使用することでメッセージダイジェストはデジタルに署名されます。

      3.  For each signer, the signature value and other signer-specific
      information are collected into a SignerInfo value, as defined in
      Section 5.3.  Certificates and CRLs for each signer, and those not
      corresponding to any signer, are collected in this step.

3. 各署名者に関しては、署名値と他の署名者特殊情報はSignerInfo値に集められます、セクション5.3で定義されるように。 各署名者のための証明書とCRLs、およびどんな署名者にも対応しないものはこのステップに集められます。

      4.  The message digest algorithms for all the signers and the
      SignerInfo values for all the signers are collected together with
      the content into a SignedData value, as defined in Section 5.1.

4. すべての署名者のためのメッセージダイジェストアルゴリズムとすべての署名者のためのSignerInfo値は内容と共にSignedData値に集められます、セクション5.1で定義されるように。

   A recipient independently computes the message digest.  This message
   digest and the signer's public key are used to verify the signature
   value.  The signer's public key is referenced either by an issuer
   distinguished name along with an issuer-specific serial number or by
   a subject key identifier that uniquely identifies the certificate
   containing the public key.  The signer's certificate may be included
   in the SignedData certificates field.

受取人は独自にメッセージダイジェストを計算します。 このメッセージダイジェストと署名者の公開鍵は、署名値について確かめるのに使用されます。 署名者の公開鍵は発行人特有の通し番号に伴う発行人分類名か唯一公開鍵を含む証明書を特定する対象の主要な識別子によって参照をつけられます。 署名者の証明書はSignedData証明書分野に含まれるかもしれません。

Housley                     Standards Track                     [Page 6]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[6ページ]RFC2630

   This section is divided into six parts.  The first part describes the
   top-level type SignedData, the second part describes
   EncapsulatedContentInfo, the third part describes the per-signer
   information type SignerInfo, and the fourth, fifth, and sixth parts
   describe the message digest calculation, signature generation, and
   signature verification processes, respectively.

このセクションは6つの部品に分割されます。 最初の部分はトップレベルタイプSignedDataについて説明します、そして、第二部はEncapsulatedContentInfoについて説明します、そして、3番目の部分は署名者情報タイプSignerInfoについて説明します、そして、4番目、5番目、および6番目の部品はメッセージダイジェスト計算について説明します、署名世代、そして、署名照合がそれぞれ処理されます。

5.1  SignedData Type

5.1 SignedDataはタイプします。

   The following object identifier identifies the signed-data content
   type:

以下のオブジェクト識別子は署名しているデータcontent typeを特定します:

      id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 }

イド-signedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)2をメンバーと同じくらい具体化させます。

   The signed-data content type shall have ASN.1 type SignedData:

署名しているデータcontent typeで、ASN.1はSignedDataをタイプするものとします:

      SignedData ::= SEQUENCE {
        version CMSVersion,
        digestAlgorithms DigestAlgorithmIdentifiers,
        encapContentInfo EncapsulatedContentInfo,
        certificates [0] IMPLICIT CertificateSet OPTIONAL,
        crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
        signerInfos SignerInfos }

SignedData:、:= 系列バージョンCMSVersion、digestAlgorithms DigestAlgorithmIdentifiers、encapContentInfo EncapsulatedContentInfo、証明書[0]IMPLICIT CertificateSet OPTIONAL、crls[1]IMPLICIT CertificateRevocationLists OPTIONAL signerInfos SignerInfos

      DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier

DigestAlgorithmIdentifiers:、:= DigestAlgorithmIdentifierのセット

      SignerInfos ::= SET OF SignerInfo

SignerInfos:、:= SignerInfoのセット

   The fields of type SignedData have the following meanings:

タイプSignedDataの分野には、以下の意味があります:

      version is the syntax version number.  If no attribute
      certificates are present in the certificates field, the
      encapsulated content type is id-data, and all of the elements of
      SignerInfos are version 1, then the value of version shall be 1.
      Alternatively, if attribute certificates are present, the
      encapsulated content type is other than id-data, or any of the
      elements of SignerInfos are version 3, then the value of version
      shall be 3.

バージョンは構文バージョン番号です。 どんな属性証明書も証明書分野に存在していなくて、カプセル化されたcontent typeがイドデータであり、SignerInfosの要素のすべてがバージョン1であるなら、バージョンの値は1になるでしょう。 SignerInfosの要素のどれかがバージョン3である、そして、バージョンの値はあるいはまた、属性証明書が存在しているなら、イドデータを除いて、カプセル化されたcontent typeがあるか、3になるでしょう。

      digestAlgorithms is a collection of message digest algorithm
      identifiers.  There may be any number of elements in the
      collection, including zero.  Each element identifies the message
      digest algorithm, along with any associated parameters, used by
      one or more signer.  The collection is intended to list the
      message digest algorithms employed by all of the signers, in any
      order, to facilitate one-pass signature verification.  The message
      digesting process is described in Section 5.4.

digestAlgorithmsはメッセージダイジェストアルゴリズム識別子の収集です。 ゼロを含んでいて、収集におけるいろいろな要素があるかもしれません。 各要素は1つ以上の署名者によって使用されるどんな関連パラメタに伴うメッセージダイジェストアルゴリズムも特定します。 収集が署名者のすべてによって順不同に使われた、1パスの署名照合を容易にしたメッセージダイジェストアルゴリズムを記載することを意図します。 メッセージ読みこなすプロセスはセクション5.4で説明されます。

Housley                     Standards Track                     [Page 7]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[7ページ]RFC2630

      encapContentInfo is the signed content, consisting of a content
      type identifier and the content itself.  Details of the
      EncapsulatedContentInfo type are discussed in section 5.2.

encapContentInfoは署名している内容と、content type識別子から成って、内容自体です。 セクション5.2でEncapsulatedContentInfoタイプの細部について議論します。

      certificates is a collection of certificates.  It is intended that
      the set of certificates be sufficient to contain chains from a
      recognized "root" or "top-level certification authority" to all of
      the signers in the signerInfos field.  There may be more
      certificates than necessary, and there may be certificates
      sufficient to contain chains from two or more independent top-
      level certification authorities.  There may also be fewer
      certificates than necessary, if it is expected that recipients
      have an alternate means of obtaining necessary certificates (e.g.,
      from a previous set of certificates).  As discussed above, if
      attribute certificates are present, then the value of version
      shall be 3.

証明書は証明書の収集です。 証明書のセットがsignerInfos分野に認識された「根」か「トップレベル証明権威」から署名者のすべてまでのチェーンを保管するために十分であることを意図します。 必要とするより多くの証明書があるかもしれません、そして、2つ以上の独立しているトップ平らな証明当局からのチェーンを含むことができるくらいの証明書があるかもしれません。 また、必要とするより少ない証明書があるかもしれません、受取人には必要な証明書(例えば、前の1セットの証明書からの)を入手する代替の手段があると予想されるなら。 上で議論するように、属性証明書が存在しているなら、バージョンの値は3になるでしょう。

      crls is a collection of certificate revocation lists (CRLs).  It
      is intended that the set contain information sufficient to
      determine whether or not the certificates in the certificates
      field are valid, but such correspondence is not necessary.  There
      may be more CRLs than necessary, and there may also be fewer CRLs
      than necessary.

crlsは証明書失効リスト(CRLs)の収集です。 セットが中の証明書がさばく証明書が有効であるかどうか決定できるくらいの情報を含むことを意図しますが、そのような通信は必要ではありません。 必要とするより多くのCRLsがあるかもしれません、そして、また、必要とするより少ないCRLsがあるかもしれません。

      signerInfos is a collection of per-signer information.  There may
      be any number of elements in the collection, including zero.  The
      details of the SignerInfo type are discussed in section 5.3.

signerInfosは1署名者あたりの情報の収集です。 ゼロを含んでいて、収集におけるいろいろな要素があるかもしれません。 セクション5.3でSignerInfoタイプの細部について議論します。

5.2  EncapsulatedContentInfo Type

5.2 EncapsulatedContentInfoはタイプします。

   The content is represented in the type EncapsulatedContentInfo:

内容はタイプEncapsulatedContentInfoで表されます:

      EncapsulatedContentInfo ::= SEQUENCE {
        eContentType ContentType,
        eContent [0] EXPLICIT OCTET STRING OPTIONAL }

EncapsulatedContentInfo:、:= 系列eContentType ContentTypeで、eContentの[0]の明白な八重奏ストリング任意です。

      ContentType ::= OBJECT IDENTIFIER

ContentType:、:= オブジェクト識別子

   The fields of type EncapsulatedContentInfo have the following
   meanings:

タイプEncapsulatedContentInfoの分野には、以下の意味があります:

      eContentType is an object identifier that uniquely specifies the
      content type.

eContentTypeは唯一content typeを指定するオブジェクト識別子です。

      eContent is the content itself, carried as an octet string.  The
      eContent need not be DER encoded.

八重奏ストリングとして運ばれて、eContentは内容自体です。 eContentはコード化されたDERである必要はありません。

Housley                     Standards Track                     [Page 8]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[8ページ]RFC2630

   The optional omission of the eContent within the
   EncapsulatedContentInfo field makes it possible to construct
   "external signatures."  In the case of external signatures, the
   content being signed is absent from the EncapsulatedContentInfo value
   included in the signed-data content type.  If the eContent value
   within EncapsulatedContentInfo is absent, then the signatureValue is
   calculated and the eContentType is assigned as though the eContent
   value was present.

EncapsulatedContentInfo分野の中のeContentの任意の省略で、「外部の署名」を組み立てるのは可能になります。 外部の署名の場合では、署名しているデータcontent typeに値を含んでいて、署名される内容はEncapsulatedContentInfoから欠けています。 EncapsulatedContentInfoの中のeContent値が欠けるなら、signatureValueは計算されます、そして、まるでeContent値が存在しているかのようにeContentTypeは割り当てられます。

   In the degenerate case where there are no signers, the
   EncapsulatedContentInfo value being "signed" is irrelevant.  In this
   case, the content type within the EncapsulatedContentInfo value being
   "signed" should be id-data (as defined in section 4), and the content
   field of the EncapsulatedContentInfo value should be omitted.

署名者が全くない堕落した場合では、「署名される」EncapsulatedContentInfo値は無関係です。 この場合、「署名される」EncapsulatedContentInfo値の中のcontent typeはイドデータであるべきです(セクション4で定義されるように)、そして、EncapsulatedContentInfo価値の満足している分野は省略されるべきです。

5.3  SignerInfo Type

5.3 SignerInfoはタイプします。

   Per-signer information is represented in the type SignerInfo:

1署名者あたりの情報はタイプSignerInfoで表されます:

      SignerInfo ::= SEQUENCE {
        version CMSVersion,
        sid SignerIdentifier,
        digestAlgorithm DigestAlgorithmIdentifier,
        signedAttrs [0] IMPLICIT SignedAttributes OPTIONAL,
        signatureAlgorithm SignatureAlgorithmIdentifier,
        signature SignatureValue,
        unsignedAttrs [1] IMPLICIT UnsignedAttributes OPTIONAL }

SignerInfo:、:= 系列バージョンCMSVersion、sid SignerIdentifier、digestAlgorithm DigestAlgorithmIdentifier、signedAttrs[0] IMPLICIT SignedAttributes OPTIONAL、signatureAlgorithm SignatureAlgorithmIdentifier、署名SignatureValue、unsignedAttrs[1]IMPLICIT UnsignedAttributes OPTIONAL

      SignerIdentifier ::= CHOICE {
        issuerAndSerialNumber IssuerAndSerialNumber,
        subjectKeyIdentifier [0] SubjectKeyIdentifier }

SignerIdentifier:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、subjectKeyIdentifier[0]SubjectKeyIdentifier

      SignedAttributes ::= SET SIZE (1..MAX) OF Attribute

SignedAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

      UnsignedAttributes ::= SET SIZE (1..MAX) OF Attribute

UnsignedAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

      Attribute ::= SEQUENCE {
        attrType OBJECT IDENTIFIER,
        attrValues SET OF AttributeValue }

以下を結果と考えてください:= 系列attrTypeオブジェクト識別子、AttributeValueのattrValuesセット

      AttributeValue ::= ANY

AttributeValue:、:= 少しも

      SignatureValue ::= OCTET STRING

SignatureValue:、:= 八重奏ストリング

   The fields of type SignerInfo have the following meanings:

タイプSignerInfoの分野には、以下の意味があります:

      version is the syntax version number.  If the SignerIdentifier is
      the CHOICE issuerAndSerialNumber, then the version shall be 1.  If

バージョンは構文バージョン番号です。 SignerIdentifierがCHOICE issuerAndSerialNumberであるなら、バージョンは1になるでしょう。 if

Housley                     Standards Track                     [Page 9]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[9ページ]RFC2630

      the SignerIdentifier is subjectKeyIdentifier, then the version
      shall be 3.

SignerIdentifierがsubjectKeyIdentifierである、そして、バージョンは3になるでしょう。

      sid specifies the signer's certificate (and thereby the signer's
      public key).  The signer's public key is needed by the recipient
      to verify the signature.  SignerIdentifier provides two
      alternatives for specifying the signer's public key.  The
      issuerAndSerialNumber alternative identifies the signer's
      certificate by the issuer's distinguished name and the certificate
      serial number; the subjectKeyIdentifier identifies the signer's
      certificate by the X.509 subjectKeyIdentifier extension value.

sidは署名者の証明書(そして、その結果、署名者の公開鍵)を指定します。 署名者の公開鍵は、署名について確かめるために受取人によって必要とされます。 SignerIdentifierは署名者の公開鍵を指定するための2つの選択肢を提供します。 issuerAndSerialNumber代替手段は発行人の分類名と証明書通し番号で署名者の証明書を特定します。 subjectKeyIdentifierはX.509 subjectKeyIdentifier拡大価値で署名者の証明書を特定します。

      digestAlgorithm identifies the message digest algorithm, and any
      associated parameters, used by the signer.  The message digest is
      computed on either the content being signed or the content
      together with the signed attributes using the process described in
      section 5.4.  The message digest algorithm should be among those
      listed in the digestAlgorithms field of the associated SignerData.

digestAlgorithmは署名者によって使用されるメッセージダイジェストアルゴリズム、およびどんな関連パラメタも特定します。 メッセージダイジェストは、署名している属性と共に署名される内容か内容のどちらかでセクション5.4で説明されたプロセスを使用することで計算されます。 メッセージダイジェストアルゴリズムが関連SignerDataのdigestAlgorithms分野に記載されたものにあるべきです。

      signedAttributes is a collection of attributes that are signed.
      The field is optional, but it must be present if the content type
      of the EncapsulatedContentInfo value being signed is not id-data.
      Each SignedAttribute in the SET must be DER encoded.  Useful
      attribute types, such as signing time, are defined in Section 11.
      If the field is present, it must contain, at a minimum, the
      following two attributes:

signedAttributesは署名される属性の収集です。 分野は任意ですが、署名されるEncapsulatedContentInfo価値のcontent typeがイドデータでないなら存在していなければなりません。 SETの各SignedAttributeはコード化されたDERであるに違いありません。 署名時間などの役に立つ属性タイプはセクション11で定義されます。 分野が存在しているなら、最小限で以下の2つの属性を含まなければなりません:

         A content-type attribute having as its value the content type
         of the EncapsulatedContentInfo value being signed.  Section
         11.1 defines the content-type attribute.  The content-type
         attribute is not required when used as part of a
         countersignature unsigned attribute as defined in section 11.4.

値として署名されるEncapsulatedContentInfo価値のcontent typeがあるcontent type属性。 セクション11.1はcontent type属性を定義します。 セクション11.4の定義されるとしての副署の未署名の属性の一部として使用される場合、content type属性は必要ではありません。

         A message-digest attribute, having as its value the message
         digest of the content.  Section 11.2 defines the message-digest
         attribute.

値として内容のメッセージダイジェストがあるメッセージダイジェスト属性。 セクション11.2はメッセージダイジェスト属性を定義します。

      signatureAlgorithm identifies the signature algorithm, and any
      associated parameters, used by the signer to generate the digital
      signature.

signatureAlgorithmは署名者によって使用される、デジタル署名を生成する署名アルゴリズム、およびどんな関連パラメタも特定します。

      signature is the result of digital signature generation, using the
      message digest and the signer's private key.

メッセージダイジェストと署名者の秘密鍵を使用して、署名はデジタル署名世代の結果です。

      unsignedAttributes is a collection of attributes that are not
      signed.  The field is optional.  Useful attribute types, such as
      countersignatures, are defined in Section 11.

unsignedAttributesは署名されない属性の収集です。 分野は任意です。 副署などの役に立つ属性タイプはセクション11で定義されます。

Housley                     Standards Track                    [Page 10]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[10ページ]RFC2630

   The fields of type SignedAttribute and UnsignedAttribute have the
   following meanings:

タイプSignedAttributeとUnsignedAttributeの分野には、以下の意味があります:

      attrType indicates the type of attribute.  It is an object
      identifier.

attrTypeは属性のタイプを示します。 それはオブジェクト識別子です。

      attrValues is a set of values that comprise the attribute.  The
      type of each value in the set can be determined uniquely by
      attrType.

attrValuesは属性を包括する1セットの値です。 attrTypeは唯一セットにおける、それぞれの価値のタイプを決定できます。

5.4  Message Digest Calculation Process

5.4 メッセージダイジェスト計算過程

   The message digest calculation process computes a message digest on
   either the content being signed or the content together with the
   signed attributes.  In either case, the initial input to the message
   digest calculation process is the "value" of the encapsulated content
   being signed.  Specifically, the initial input is the
   encapContentInfo eContent OCTET STRING to which the signing process
   is applied.  Only the octets comprising the value of the eContent
   OCTET STRING are input to the message digest algorithm, not the tag
   or the length octets.

メッセージダイジェスト計算過程は署名している属性と共に署名される内容か内容のどちらかでメッセージダイジェストを計算します。 どちらかの場合では、メッセージダイジェスト計算過程への初期の入力は署名されるカプセル化された内容の「値」です。 明確に、初期の入力はサインアップ過程が適用されているencapContentInfo eContent OCTET STRINGです。 eContent OCTET STRINGの値を包括する八重奏だけがタグか長さの八重奏ではなく、メッセージダイジェストアルゴリズムに入力されます。

   The result of the message digest calculation process depends on
   whether the signedAttributes field is present.  When the field is
   absent, the result is just the message digest of the content as
   described above.  When the field is present, however, the result is
   the message digest of the complete DER encoding of the
   SignedAttributes value contained in the signedAttributes field.
   Since the SignedAttributes value, when present, must contain the
   content type and the content message digest attributes, those values
   are indirectly included in the result.  The content type attribute is
   not required when used as part of a countersignature unsigned
   attribute as defined in section 11.4.  A separate encoding of the
   signedAttributes field is performed for message digest calculation.
   The IMPLICIT [0] tag in the signedAttributes field is not used for
   the DER encoding, rather an EXPLICIT SET OF tag is used.  That is,
   the DER encoding of the SET OF tag, rather than of the IMPLICIT [0]
   tag, is to be included in the message digest calculation along with
   the length and content octets of the SignedAttributes value.

メッセージダイジェスト計算過程の結果はsignedAttributes分野が存在しているかどうかに依存します。 分野が欠けているとき、結果は上で説明されるようにただ内容のメッセージダイジェストです。 しかしながら、分野が存在しているとき、結果はsignedAttributes分野に保管されていたSignedAttributes価値の完全なDERコード化のメッセージダイジェストです。 存在しているとき、SignedAttributes値がcontent typeと満足しているメッセージダイジェスト属性を含まなければならないので、それらの値は結果に間接的に含まれています。 セクション11.4の定義されるとしての副署の未署名の属性の一部として使用される場合、content type属性は必要ではありません。 signedAttributes分野の別々のコード化はメッセージダイジェスト計算のために実行されます。 signedAttributes分野のIMPLICIT[0]タグはDERコード化に使用されないで、むしろEXPLICIT SET OFタグは使用されています。 それは、DERがIMPLICIT[0]タグについてというよりむしろSET OFタグをコード化して、あって、SignedAttributes価値の長さと満足している八重奏に伴うメッセージダイジェスト計算に含まれることになっています。

   When the signedAttributes field is absent, then only the octets
   comprising the value of the signedData encapContentInfo eContent
   OCTET STRING (e.g., the contents of a file) are input to the message
   digest calculation.  This has the advantage that the length of the
   content being signed need not be known in advance of the signature
   generation process.

signedAttributes分野が欠けていると、signedData encapContentInfo eContent OCTET STRING(例えば、ファイルのコンテンツ)の値を包括する八重奏だけがメッセージダイジェスト計算に入力されます。 これには、内容の長さが署名される場合署名発生経過の前に知られている必要はない利点があります。

Housley                     Standards Track                    [Page 11]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[11ページ]RFC2630

   Although the encapContentInfo eContent OCTET STRING tag and length
   octets are not included in the message digest calculation, they are
   still protected by other means.  The length octets are protected by
   the nature of the message digest algorithm since it is
   computationally infeasible to find any two distinct messages of any
   length that have the same message digest.

encapContentInfo eContent OCTET STRINGタグと長さの八重奏はメッセージダイジェスト計算に含まれていませんが、それらは他の手段でまだ保護されています。 同じメッセージダイジェストを持っているどんな長さのどんな2つの異なったメッセージも見つけるのが計算上実行不可能であるので、長さの八重奏はメッセージダイジェストアルゴリズムの本質によって保護されます。

5.5  Message Signature Generation Process

5.5 メッセージ署名発生経過

   The input to the signature generation process includes the result of
   the message digest calculation process and the signer's private key.
   The details of the signature generation depend on the signature
   algorithm employed.  The object identifier, along with any
   parameters, that specifies the signature algorithm employed by the
   signer is carried in the signatureAlgorithm field.  The signature
   value generated by the signer is encoded as an OCTET STRING and
   carried in the signature field.

署名発生経過への入力はメッセージダイジェスト計算過程と署名者の秘密鍵の結果を含んでいます。 署名世代の細部は使われた署名アルゴリズムによります。 どんなパラメタに伴う署名者によって使われた署名アルゴリズムを指定するオブジェクト識別子もそうです。signatureAlgorithm分野では、運ばれます。 署名者によって生成された署名値は、OCTET STRINGとしてコード化されて、署名分野で運ばれます。

5.6  Message Signature Verification Process

5.6 メッセージ署名照合プロセス

   The input to the signature verification process includes the result
   of the message digest calculation process and the signer's public
   key.  The recipient may obtain the correct public key for the signer
   by any means, but the preferred method is from a certificate obtained
   from the SignedData certificates field.  The selection and validation
   of the signer's public key may be based on certification path
   validation (see [PROFILE]) as well as other external context, but is
   beyond the scope of this document.  The details of the signature
   verification depend on the signature algorithm employed.

署名照合プロセスへの入力はメッセージダイジェスト計算過程と署名者の公開鍵の結果を含んでいます。 受取人は正しい公開鍵を署名者になんとか得るかもしれませんが、適した方法はSignedData証明書分野から入手された証明書から来ています。 署名者の公開鍵の選択と合法化は、他の外部の関係と同様に証明経路合法化に基づくかもしれませんが([PROFILE]を見ます)、このドキュメントの範囲を超えています。 署名照合の詳細は使われた署名アルゴリズムによります。

   The recipient may not rely on any message digest values computed by
   the originator.  If the signedData signerInfo includes
   signedAttributes, then the content message digest must be calculated
   as described in section 5.4.  For the signature to be valid, the
   message digest value calculated by the recipient must be the same as
   the value of the messageDigest attribute included in the
   signedAttributes of the signedData signerInfo.

受取人は創始者によって計算された少しのメッセージダイジェスト値も当てにしないかもしれません。 signedData signerInfoがsignedAttributesを含んでいるなら、セクション5.4で説明されるように満足しているメッセージダイジェストを計算しなければなりません。 署名が有効であるように、受取人によって計算されたメッセージダイジェスト値はsignedData signerInfoのsignedAttributesにmessageDigest属性の値を含んでいるのと同じでなければなりません。

6  Enveloped-data Content Type

6 おおわれたデータcontent type

   The enveloped-data content type consists of an encrypted content of
   any type and encrypted content-encryption keys for one or more
   recipients.  The combination of the encrypted content and one
   encrypted content-encryption key for a recipient is a "digital
   envelope" for that recipient.  Any type of content can be enveloped
   for an arbitrary number of recipients using any of the three key
   management techniques for each recipient.

おおわれたデータcontent typeは1人以上の受取人のためのどんなタイプと暗号化された満足している暗号化キーの暗号化された内容からも成ります。 受取人にとって、主要な暗号化された内容と1つの暗号化された満足している暗号化の組み合わせはその受取人のための「デジタル封筒」です。 受取人の特殊活字の数字のために各受取人に3つのかぎ管理のテクニックのどれかを使用することでどんなタイプの内容もおおうことができます。

Housley                     Standards Track                    [Page 12]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[12ページ]RFC2630

   The typical application of the enveloped-data content type will
   represent one or more recipients' digital envelopes on content of the
   data or signed-data content types.

おおわれたデータcontent typeの主用途はデータか署名しているデータcontent typeの内容に1人以上の受取人のデジタル封筒を表すでしょう。

   Enveloped-data is constructed by the following steps:

おおわれたデータは以下のステップで構成されます:

      1.  A content-encryption key for a particular content-encryption
      algorithm is generated at random.

1. 特定の満足している暗号化アルゴリズムに、主要な満足している暗号化は無作為に生成されます。

      2.  The content-encryption key is encrypted for each recipient.
      The details of this encryption depend on the key management
      algorithm used, but three general techniques are supported:

2. 満足している暗号化キーは各受取人のために暗号化されます。 この暗号化の詳細は中古であるのにもかかわらずの、3つの一般的なテクニックがサポートされるかぎ管理アルゴリズムによります:

         key transport:  the content-encryption key is encrypted in the
         recipient's public key;

主要な輸送: 満足している暗号化キーは受取人の公開鍵で暗号化されます。

         key agreement:  the recipient's public key and the sender's
         private key are used to generate a pairwise symmetric key, then
         the content-encryption key is encrypted in the pairwise
         symmetric key; and

主要な協定: 受取人の公開鍵と送付者の秘密鍵は対状が対称鍵であると生成するのに使用されます、次に、満足している暗号化キーは対状対称鍵で暗号化されます。 そして

         symmetric key-encryption keys:  the content-encryption key is
         encrypted in a previously distributed symmetric key-encryption
         key.

左右対称の主要な暗号化キー: 満足している暗号化キーは以前に分配された左右対称の主要な暗号化キーで暗号化されます。

      3.  For each recipient, the encrypted content-encryption key and
      other recipient-specific information are collected into a
      RecipientInfo value, defined in Section 6.2.

3. 各受取人に関しては、暗号化された満足している暗号化主要で他の受取人特殊情報はセクション6.2で定義されたRecipientInfo値に集められます。

      4.  The content is encrypted with the content-encryption key.
      Content encryption may require that the content be padded to a
      multiple of some block size; see Section 6.3.

4. 内容は満足している暗号化キーで暗号化されます。 満足している暗号化は、内容が何らかのブロック・サイズの倍数に水増しされるのを必要とするかもしれません。 セクション6.3を見てください。

      5.  The RecipientInfo values for all the recipients are collected
      together with the encrypted content to form an EnvelopedData value
      as defined in Section 6.1.

5. すべての受取人のためのRecipientInfo値は、セクション6.1で定義されるようにEnvelopedData値を形成するために暗号化された内容と共に集められます。

   A recipient opens the digital envelope by decrypting one of the
   encrypted content-encryption keys and then decrypting the encrypted
   content with the recovered content-encryption key.

受取人は、暗号化された満足している暗号化キーの1つを解読して、次に、回復している満足している暗号化キーで暗号化された内容を解読することによって、デジタル封筒を開けます。

   This section is divided into four parts.  The first part describes
   the top-level type EnvelopedData, the second part describes the per-
   recipient information type RecipientInfo, and the third and fourth
   parts describe the content-encryption and key-encryption processes.

このセクションは4つの部品に分割されます。 最初の部分はトップレベルタイプEnvelopedDataについて説明します、と第二部が説明する、-、受取人情報はRecipientInfoをタイプして、3番目と4番目の部品は満足している暗号化と主要な暗号化プロセスについて説明します。

Housley                     Standards Track                    [Page 13]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[13ページ]RFC2630

6.1  EnvelopedData Type

6.1 EnvelopedDataはタイプします。

   The following object identifier identifies the enveloped-data content
   type:

以下のオブジェクト識別子はおおわれたデータcontent typeを特定します:

      id-envelopedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs7(7) 3 }

イド-envelopedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)3をメンバーと同じくらい具体化させます。

   The enveloped-data content type shall have ASN.1 type EnvelopedData:

おおわれたデータcontent typeで、ASN.1はEnvelopedDataをタイプするものとします:

      EnvelopedData ::= SEQUENCE {
        version CMSVersion,
        originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
        recipientInfos RecipientInfos,
        encryptedContentInfo EncryptedContentInfo,
        unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }

EnvelopedData:、:= 系列バージョンCMSVersion、originatorInfo[0]IMPLICIT OriginatorInfo OPTIONAL、recipientInfos RecipientInfos encryptedContentInfo EncryptedContentInfo、unprotectedAttrs[1]IMPLICIT UnprotectedAttributes OPTIONAL

      OriginatorInfo ::= SEQUENCE {
        certs [0] IMPLICIT CertificateSet OPTIONAL,
        crls [1] IMPLICIT CertificateRevocationLists OPTIONAL }

OriginatorInfo:、:= 系列本命[0]IMPLICIT CertificateSet OPTIONAL、crls[1]IMPLICIT CertificateRevocationLists OPTIONAL

      RecipientInfos ::= SET OF RecipientInfo

RecipientInfos:、:= RecipientInfoのセット

      EncryptedContentInfo ::= SEQUENCE {
        contentType ContentType,
        contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
        encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }

EncryptedContentInfo:、:= 系列contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifierの、そして、[0]の内在しているencryptedContent EncryptedContent任意のcontentType ContentType

      EncryptedContent ::= OCTET STRING

EncryptedContent:、:= 八重奏ストリング

      UnprotectedAttributes ::= SET SIZE (1..MAX) OF Attribute

UnprotectedAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

   The fields of type EnvelopedData have the following meanings:

タイプEnvelopedDataの分野には、以下の意味があります:

      version is the syntax version number.  If originatorInfo is
      present, then version shall be 2.  If any of the RecipientInfo
      structures included have a version other than 0, then the version
      shall be 2.  If unprotectedAttrs is present, then version shall be
      2.  If originatorInfo is absent, all of the RecipientInfo
      structures are version 0, and unprotectedAttrs is absent, then
      version shall be 0.

バージョンは構文バージョン番号です。 originatorInfoが存在していると、バージョンは2になるでしょう。 構造を含んでいるRecipientInfoのどれかに0以外のバージョンがあると、バージョンは2になるでしょう。 unprotectedAttrsが存在していると、バージョンは2になるでしょう。 originatorInfoが欠けていて、RecipientInfo構造のすべてがバージョン0であり、unprotectedAttrsが欠けると、バージョンは0になるでしょう。

      originatorInfo optionally provides information about the
      originator.  It is present only if required by the key management
      algorithm.  It may contain certificates and CRLs:

originatorInfoは任意に創始者の情報を提供します。 それは必要なら単にかぎ管理アルゴリズムで存在しています。 それは証明書とCRLsを含むかもしれません:

         certs is a collection of certificates.  certs may contain
         originator certificates associated with several different key

本命は証明書の収集です。本命は主要な状態で関連している異なった数個で創始者証明書を含むかもしれません。

Housley                     Standards Track                    [Page 14]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[14ページ]RFC2630

         management algorithms.  certs may also contain attribute
         certificates associated with the originator.  The certificates
         contained in certs are intended to be sufficient to make chains
         from a recognized "root" or "top-level certification authority"
         to all recipients.  However, certs may contain more
         certificates than necessary, and there may be certificates
         sufficient to make chains from two or more independent top-
         level certification authorities.  Alternatively, certs may
         contain fewer certificates than necessary, if it is expected
         that recipients have an alternate means of obtaining necessary
         certificates (e.g., from a previous set of certificates).

管理アルゴリズムまた、本命は創始者に関連している属性証明書を含むかもしれません。 本命に含まれた証明書が認識された「根」か「トップレベル証明権威」からすべての受取人までチェーンを作るために十分であることを意図します。 しかしながら、本命は必要とするより多くの証明書を含むかもしれません、そして、2つ以上の独立しているトップ平らな証明当局からチェーンを作ることができるくらいの証明書があるかもしれません。 あるいはまた、本命は必要とするより少ない証明書を含むかもしれません、受取人には必要な証明書(例えば、前の1セットの証明書からの)を入手する代替の手段があると予想されるなら。

         crls is a collection of CRLs.  It is intended that the set
         contain information sufficient to determine whether or not the
         certificates in the certs field are valid, but such
         correspondence is not necessary.  There may be more CRLs than
         necessary, and there may also be fewer CRLs than necessary.

crlsはCRLsの収集です。 セットが中の本命がさばく証明書が有効であるかどうか決定できるくらいの情報を含むことを意図しますが、そのような通信は必要ではありません。 必要とするより多くのCRLsがあるかもしれません、そして、また、必要とするより少ないCRLsがあるかもしれません。

      recipientInfos is a collection of per-recipient information.
      There must be at least one element in the collection.

recipientInfosは1受取人あたりの情報の収集です。 収集には少なくとも1つの要素があるに違いありません。

      encryptedContentInfo is the encrypted content information.

encryptedContentInfoは暗号化された満足している情報です。

      unprotectedAttrs is a collection of attributes that are not
      encrypted.  The field is optional.  Useful attribute types are
      defined in Section 11.

unprotectedAttrsは暗号化されなかった属性の収集です。 分野は任意です。 役に立つ属性タイプはセクション11で定義されます。

   The fields of type EncryptedContentInfo have the following meanings:

タイプEncryptedContentInfoの分野には、以下の意味があります:

      contentType indicates the type of content.

contentTypeは内容のタイプを示します。

      contentEncryptionAlgorithm identifies the content-encryption
      algorithm, and any associated parameters, used to encrypt the
      content.  The content-encryption process is described in Section
      6.3.  The same content-encryption algorithm and content-encryption
      key is used for all recipients.

contentEncryptionAlgorithmは満足している暗号化アルゴリズム、および内容を暗号化するのに使用されるどんな関連パラメタも特定します。 満足している暗号化プロセスはセクション6.3で説明されます。 同じ満足している暗号化アルゴリズムと満足している暗号化キーはすべての受取人に使用されます。

      encryptedContent is the result of encrypting the content.  The
      field is optional, and if the field is not present, its intended
      value must be supplied by other means.

encryptedContentは内容を暗号化するという結果です。 分野は任意です、そして、分野が存在していないなら、他の手段で意図している値を供給しなければなりません。

   The recipientInfos field comes before the encryptedContentInfo field
   so that an EnvelopedData value may be processed in a single pass.

recipientInfos分野は、単一のパスでEnvelopedData値を処理できるようにencryptedContentInfo野原に優先します。

6.2  RecipientInfo Type

6.2 RecipientInfoはタイプします。

   Per-recipient information is represented in the type RecipientInfo.
   RecipientInfo has a different format for the three key management

1受取人あたりの情報はタイプRecipientInfoで表されます。 RecipientInfoには、3かぎ管理のための異なった形式があります。

Housley                     Standards Track                    [Page 15]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[15ページ]RFC2630

   techniques that are supported: key transport, key agreement, and
   previously distributed symmetric key-encryption keys.  Any of the
   three key management techniques can be used for each recipient of the
   same encrypted content.  In all cases, the content-encryption key is
   transferred to one or more recipient in encrypted form.

サポートされるテクニック: 主要な輸送、主要な協定、および以前に分配された左右対称の主要な暗号化キー。 同じ暗号化された内容の各受取人に3つのかぎ管理のテクニックのいずれも使用できます。 すべての場合では、暗号化されたフォームで満足している暗号化キーを1人以上の受取人に移します。

      RecipientInfo ::= CHOICE {
        ktri KeyTransRecipientInfo,
        kari [1] KeyAgreeRecipientInfo,
        kekri [2] KEKRecipientInfo }

RecipientInfo:、:= 選択ktri KeyTransRecipientInfo、kari[1]KeyAgreeRecipientInfo、kekri[2]KEKRecipientInfo

      EncryptedKey ::= OCTET STRING

EncryptedKey:、:= 八重奏ストリング

6.2.1  KeyTransRecipientInfo Type

6.2.1 KeyTransRecipientInfoはタイプします。

   Per-recipient information using key transport is represented in the
   type KeyTransRecipientInfo.  Each instance of KeyTransRecipientInfo
   transfers the content-encryption key to one recipient.

主要な輸送を使用する1受取人あたりの情報がタイプKeyTransRecipientInfoで表されます。 KeyTransRecipientInfoの各インスタンスは1人の受取人にとって、主要な満足している暗号化を移します。

      KeyTransRecipientInfo ::= SEQUENCE {
        version CMSVersion,  -- always set to 0 or 2
        rid RecipientIdentifier,
        keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
        encryptedKey EncryptedKey }

KeyTransRecipientInfo:、:= 系列バージョンCMSVersion--いつも排除しているRecipientIdentifier、keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier、encryptedKey EncryptedKeyを0か2に設定してください。

      RecipientIdentifier ::= CHOICE {
        issuerAndSerialNumber IssuerAndSerialNumber,
        subjectKeyIdentifier [0] SubjectKeyIdentifier }

RecipientIdentifier:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、subjectKeyIdentifier[0]SubjectKeyIdentifier

   The fields of type KeyTransRecipientInfo have the following meanings:

タイプKeyTransRecipientInfoの分野には、以下の意味があります:

      version is the syntax version number.  If the RecipientIdentifier
      is the CHOICE issuerAndSerialNumber, then the version shall be 0.
      If the RecipientIdentifier is subjectKeyIdentifier, then the
      version shall be 2.

バージョンは構文バージョン番号です。 RecipientIdentifierがCHOICE issuerAndSerialNumberであるなら、バージョンは0になるでしょう。 RecipientIdentifierがsubjectKeyIdentifierであるなら、バージョンは2になるでしょう。

      rid specifies the recipient's certificate or key that was used by
      the sender to protect the content-encryption key.  The
      RecipientIdentifier provides two alternatives for specifying the
      recipient's certificate, and thereby the recipient's public key.
      The recipient's certificate must contain a key transport public
      key.  The content-encryption key is encrypted with the recipient's
      public key.  The issuerAndSerialNumber alternative identifies the
      recipient's certificate by the issuer's distinguished name and the
      certificate serial number; the subjectKeyIdentifier identifies the
      recipient's certificate by the X.509 subjectKeyIdentifier
      extension value.

排除、満足している暗号化キーを保護するのに送付者によって使用された受取人の証明書かキーを指定します。 RecipientIdentifierは受取人の証明書を指定するための2つの選択肢を提供して、その結果、受取人の公開鍵を提供します。 受取人の証明書は主要な輸送公開鍵を含まなければなりません。 満足している暗号化キーは受取人の公開鍵で暗号化されます。 issuerAndSerialNumber代替手段は発行人の分類名と証明書通し番号で受取人の証明書を特定します。 subjectKeyIdentifierはX.509 subjectKeyIdentifier拡大価値で受取人の証明書を特定します。

Housley                     Standards Track                    [Page 16]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[16ページ]RFC2630

      keyEncryptionAlgorithm identifies the key-encryption algorithm,
      and any associated parameters, used to encrypt the content-
      encryption key for the recipient.  The key-encryption process is
      described in Section 6.4.

keyEncryptionAlgorithmは主要な暗号化アルゴリズム、および受取人にとって、主要な内容暗号化を暗号化するのにおいて中古のどんな関連パラメタも特定します。 主要な暗号化プロセスはセクション6.4で説明されます。

      encryptedKey is the result of encrypting the content-encryption
      key for the recipient.

encryptedKeyは受取人にとって、主要な満足している暗号化を暗号化するという結果です。

6.2.2  KeyAgreeRecipientInfo Type

6.2.2 KeyAgreeRecipientInfoはタイプします。

   Recipient information using key agreement is represented in the type
   KeyAgreeRecipientInfo.  Each instance of KeyAgreeRecipientInfo will
   transfer the content-encryption key to one or more recipient that
   uses the same key agreement algorithm and domain parameters for that
   algorithm.

主要な協定を使用する受取人情報がタイプKeyAgreeRecipientInfoで表されます。 KeyAgreeRecipientInfoの各インスタンスはそのアルゴリズムに同じ主要な協定アルゴリズムとドメインパラメタを使用する1人以上の受取人にとって、主要な満足している暗号化を移すでしょう。

      KeyAgreeRecipientInfo ::= SEQUENCE {
        version CMSVersion,  -- always set to 3
        originator [0] EXPLICIT OriginatorIdentifierOrKey,
        ukm [1] EXPLICIT UserKeyingMaterial OPTIONAL,
        keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
        recipientEncryptedKeys RecipientEncryptedKeys }

KeyAgreeRecipientInfo:、:= 系列バージョンCMSVersion--いつも3創始者[0]EXPLICIT OriginatorIdentifierOrKey、ukm[1]EXPLICIT UserKeyingMaterial OPTIONAL、keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier、recipientEncryptedKeys RecipientEncryptedKeysにセットします。

      OriginatorIdentifierOrKey ::= CHOICE {
        issuerAndSerialNumber IssuerAndSerialNumber,
        subjectKeyIdentifier [0] SubjectKeyIdentifier,
        originatorKey [1] OriginatorPublicKey }

OriginatorIdentifierOrKey:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、subjectKeyIdentifier[0]SubjectKeyIdentifier、originatorKey[1]OriginatorPublicKey

      OriginatorPublicKey ::= SEQUENCE {
        algorithm AlgorithmIdentifier,
        publicKey BIT STRING }

OriginatorPublicKey:、:= 系列アルゴリズムAlgorithmIdentifier、publicKey BIT STRING

      RecipientEncryptedKeys ::= SEQUENCE OF RecipientEncryptedKey

RecipientEncryptedKeys:、:= RecipientEncryptedKeyの系列

      RecipientEncryptedKey ::= SEQUENCE {
        rid KeyAgreeRecipientIdentifier,
        encryptedKey EncryptedKey }

RecipientEncryptedKey:、:= 系列排除しているKeyAgreeRecipientIdentifier、encryptedKey EncryptedKey

      KeyAgreeRecipientIdentifier ::= CHOICE {
        issuerAndSerialNumber IssuerAndSerialNumber,
        rKeyId [0] IMPLICIT RecipientKeyIdentifier }

KeyAgreeRecipientIdentifier:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、rKeyId[0]の内在しているRecipientKeyIdentifier

      RecipientKeyIdentifier ::= SEQUENCE {
        subjectKeyIdentifier SubjectKeyIdentifier,
        date GeneralizedTime OPTIONAL,
        other OtherKeyAttribute OPTIONAL }

RecipientKeyIdentifier:、:= 系列subjectKeyIdentifier SubjectKeyIdentifier、日付GeneralizedTime OPTIONAL、他のOtherKeyAttribute OPTIONAL

      SubjectKeyIdentifier ::= OCTET STRING

SubjectKeyIdentifier:、:= 八重奏ストリング

Housley                     Standards Track                    [Page 17]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[17ページ]RFC2630

   The fields of type KeyAgreeRecipientInfo have the following meanings:

タイプKeyAgreeRecipientInfoの分野には、以下の意味があります:

      version is the syntax version number.  It shall always be 3.

バージョンは構文バージョン番号です。 それはいつも3になるでしょう。

      originator is a CHOICE with three alternatives specifying the
      sender's key agreement public key.  The sender uses the
      corresponding private key and the recipient's public key to
      generate a pairwise key.  The content-encryption key is encrypted
      in the pairwise key.  The issuerAndSerialNumber alternative
      identifies the sender's certificate, and thereby the sender's
      public key, by the issuer's distinguished name and the certificate
      serial number.  The subjectKeyIdentifier alternative identifies
      the sender's certificate, and thereby the sender's public key, by
      the X.509 subjectKeyIdentifier extension value.  The originatorKey
      alternative includes the algorithm identifier and sender's key
      agreement public key. Permitting originator anonymity since the
      public key is not certified.

創始者は3つの選択肢が送付者の主要な協定公開鍵を指定しているCHOICEです。 送付者は、対状キーを生成するのに対応する秘密鍵と受取人の公開鍵を使用します。 満足している暗号化キーは対状キーで暗号化されます。 issuerAndSerialNumber代替手段は、送付者の証明書を特定して、その結果、送付者の公開鍵を特定します、発行人の分類名と証明書通し番号で。 subjectKeyIdentifier代替手段は、X.509 subjectKeyIdentifier拡大価値で送付者の証明書を特定して、その結果、送付者の公開鍵を特定します。 originatorKey代替手段はアルゴリズム識別子と送付者の主要な協定公開鍵を含んでいます。 公開鍵が公認されないので、匿名を創始者に可能にします。

      ukm is optional.  With some key agreement algorithms, the sender
      provides a User Keying Material (UKM) to ensure that a different
      key is generated each time the same two parties generate a
      pairwise key.

ukmは任意です。 いくつかの主要な協定アルゴリズムに、送付者は、異なったキーが同じ2回のパーティーが対状キーを生成する各回であると生成されるのを保証するために、User Keying Material(UKM)を提供します。

      keyEncryptionAlgorithm identifies the key-encryption algorithm,
      and any associated parameters, used to encrypt the content-
      encryption key in the key-encryption key.  The key-encryption
      process is described in Section 6.4.

keyEncryptionAlgorithmは主要な暗号化アルゴリズム、および主要な暗号化キーで主要な内容暗号化を暗号化するのにおいて中古のどんな関連パラメタも特定します。 主要な暗号化プロセスはセクション6.4で説明されます。

      recipientEncryptedKeys includes a recipient identifier and
      encrypted key for one or more recipients.  The
      KeyAgreeRecipientIdentifier is a CHOICE with two alternatives
      specifying the recipient's certificate, and thereby the
      recipient's public key, that was used by the sender to generate a
      pairwise key-encryption key.  The recipient's certificate must
      contain a key agreement public key.  The content-encryption key is
      encrypted in the pairwise key-encryption key.  The
      issuerAndSerialNumber alternative identifies the recipient's
      certificate by the issuer's distinguished name and the certificate
      serial number; the RecipientKeyIdentifier is described below.  The
      encryptedKey is the result of encrypting the content-encryption
      key in the pairwise key-encryption key generated using the key
      agreement algorithm.

recipientEncryptedKeysは1人以上の受取人のための受取人識別子と暗号化されたキーを含んでいます。 KeyAgreeRecipientIdentifierは受取人の証明書、およびその結果受取人の公開鍵を指定する対状主要な暗号化キーを生成するのに送付者によって使用された2つの選択肢があるCHOICEです。 受取人の証明書は主要な協定公開鍵を含まなければなりません。 満足している暗号化キーは対状主要な暗号化キーで暗号化されます。 issuerAndSerialNumber代替手段は発行人の分類名と証明書通し番号で受取人の証明書を特定します。 RecipientKeyIdentifierは以下で説明されます。 encryptedKeyは主要な協定アルゴリズムを使用することで生成された対状主要な暗号化キーで主要な満足している暗号化を暗号化するという結果です。

   The fields of type RecipientKeyIdentifier have the following
   meanings:

タイプRecipientKeyIdentifierの分野には、以下の意味があります:

      subjectKeyIdentifier identifies the recipient's certificate by the
      X.509 subjectKeyIdentifier extension value.

subjectKeyIdentifierはX.509 subjectKeyIdentifier拡大価値で受取人の証明書を特定します。

Housley                     Standards Track                    [Page 18]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[18ページ]RFC2630

      date is optional.  When present, the date specifies which of the
      recipient's previously distributed UKMs was used by the sender.

期日は任意です。 存在しているとき、日付は、受取人の以前に分配されたUKMsのどれが送付者によって使用されたかを指定します。

      other is optional.  When present, this field contains additional
      information used by the recipient to locate the public keying
      material used by the sender.

もう一方は任意です。 存在しているとき、この分野は送付者によって使用された材料を合わせる公衆の居場所を見つけるのに受取人によって使用された追加情報を含んでいます。

6.2.3  KEKRecipientInfo Type

6.2.3 KEKRecipientInfoはタイプします。

   Recipient information using previously distributed symmetric keys is
   represented in the type KEKRecipientInfo.  Each instance of
   KEKRecipientInfo will transfer the content-encryption key to one or
   more recipients who have the previously distributed key-encryption
   key.

以前に分配された対称鍵を使用する受取人情報がタイプKEKRecipientInfoで表されます。 KEKRecipientInfoの各インスタンスは以前に分配された主要な暗号化キーを持っている1人以上の受取人にとって、主要な満足している暗号化を移すでしょう。

      KEKRecipientInfo ::= SEQUENCE {
        version CMSVersion,  -- always set to 4
        kekid KEKIdentifier,
        keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
        encryptedKey EncryptedKey }

KEKRecipientInfo:、:= 系列バージョンCMSVersion--いつも4kekid KEKIdentifier、keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier、encryptedKey EncryptedKeyにセットしてください。

      KEKIdentifier ::= SEQUENCE {
        keyIdentifier OCTET STRING,
        date GeneralizedTime OPTIONAL,
        other OtherKeyAttribute OPTIONAL }

KEKIdentifier:、:= 系列keyIdentifier OCTET STRING、日付GeneralizedTime OPTIONAL、他のOtherKeyAttribute OPTIONAL

   The fields of type KEKRecipientInfo have the following meanings:

タイプKEKRecipientInfoの分野には、以下の意味があります:

      version is the syntax version number.  It shall always be 4.

バージョンは構文バージョン番号です。 それはいつも4になるでしょう。

      kekid specifies a symmetric key-encryption key that was previously
      distributed to the sender and one or more recipients.

kekidは以前に送付者と1人以上の受取人に分配された左右対称の主要な暗号化キーを指定します。

      keyEncryptionAlgorithm identifies the key-encryption algorithm,
      and any associated parameters, used to encrypt the content-
      encryption key with the key-encryption key.  The key-encryption
      process is described in Section 6.4.

keyEncryptionAlgorithmは主要な暗号化アルゴリズム、および主要な暗号化キーによって主要な内容暗号化を暗号化するのにおいて中古のどんな関連パラメタも特定します。 主要な暗号化プロセスはセクション6.4で説明されます。

      encryptedKey is the result of encrypting the content-encryption
      key in the key-encryption key.

encryptedKeyは主要な暗号化キーで主要な満足している暗号化を暗号化するという結果です。

   The fields of type KEKIdentifier have the following meanings:

タイプKEKIdentifierの分野には、以下の意味があります:

      keyIdentifier identifies the key-encryption key that was
      previously distributed to the sender and one or more recipients.

keyIdentifierは以前に送付者と1人以上の受取人に分配された主要な暗号化キーを特定します。

      date is optional.  When present, the date specifies a single key-
      encryption key from a set that was previously distributed.

期日は任意です。 存在しているとき、日付は以前に分配されたセットから主要なただ一つの主要な暗号化を指定します。

Housley                     Standards Track                    [Page 19]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[19ページ]RFC2630

      other is optional.  When present, this field contains additional
      information used by the recipient to determine the key-encryption
      key used by the sender.

もう一方は任意です。 存在しているとき、この分野は送付者によって使用された主要な暗号化キーを決定するのに受取人によって使用された追加情報を含んでいます。

6.3  Content-encryption Process

6.3 満足している暗号化プロセス

   The content-encryption key for the desired content-encryption
   algorithm is randomly generated.  The data to be protected is padded
   as described below, then the padded data is encrypted using the
   content-encryption key.  The encryption operation maps an arbitrary
   string of octets (the data) to another string of octets (the
   ciphertext) under control of a content-encryption key.  The encrypted
   data is included in the envelopedData encryptedContentInfo
   encryptedContent OCTET STRING.

必要な満足している暗号化アルゴリズムに、主要な満足している暗号化は手当たりしだいに生成されます。 保護されるべきデータが以下で説明されるようにそっと歩いている、そして、そっと歩いているデータは、満足している暗号化キーを使用することで暗号化されています。 暗号化操作は満足している暗号化キーで制御された八重奏(暗号文)の別のストリングに八重奏(データ)の任意のストリングを写像します。 暗号化されたデータはenvelopedData encryptedContentInfo encryptedContent OCTET STRINGに含まれています。

   The input to the content-encryption process is the "value" of the
   content being enveloped.  Only the value octets of the envelopedData
   encryptedContentInfo encryptedContent OCTET STRING are encrypted; the
   OCTET STRING tag and length octets are not encrypted.

満足している暗号化プロセスへの入力はおおわれる内容の「値」です。 envelopedData encryptedContentInfo encryptedContent OCTET STRINGの値の八重奏だけが暗号化されています。 OCTET STRINGタグと長さの八重奏は暗号化されていません。

   Some content-encryption algorithms assume the input length is a
   multiple of k octets, where k is greater than one.  For such
   algorithms, the input shall be padded at the trailing end with
   k-(lth mod k) octets all having value k-(lth mod k), where lth is
   the length of the input.  In other words, the input is padded at
   the trailing end with one of the following strings:

いくつかの満足している暗号化アルゴリズムが、kが1以上であるところで入力の長さがk八重奏の倍数であると仮定します。 そのようなアルゴリズムにおいて、入力は引きずっている終わりに値k(lthモッズk)を持っているk(lthモッズk)八重奏ですべて、水増しされるものとします。そこでは、lthが入力の長さです。 言い換えれば、入力は引きずっている終わりに以下のストリングの1つで水増しされます:

                     01 -- if lth mod k = k-1
                  02 02 -- if lth mod k = k-2
                      .
                      .
                      .
            k k ... k k -- if lth mod k = 0

01はlthモッズkがk-1 02 02と等しいならlthモッズkであるならlthモッズk=0であるならk-2…k k…k kと等しいです。

   The padding can be removed unambiguously since all input is padded,
   including input values that are already a multiple of the block size,
   and no padding string is a suffix of another.  This padding method is
   well defined if and only if k is less than 256.

明白に、既にブロック・サイズの倍数である入力値を含んでいて、すべての入力がそっと歩いていて、どんな詰め物ストリングも別のものの接尾語でないので、詰め物を取り除くことができます。 この詰め物メソッドがよく定義される、kは256以下にすぎません。

6.4  Key-encryption Process

6.4 主要な暗号化プロセス

   The input to the key-encryption process -- the value supplied to the
   recipient's key-encryption algorithm -- is just the "value" of the
   content-encryption key.

主要な暗号化プロセスへの入力(受取人の主要な暗号化アルゴリズムに供給された値)はまさしく満足している暗号化キーの「値」です。

   Any of the three key management techniques can be used for each
   recipient of the same encrypted content.

同じ暗号化された内容の各受取人に3つのかぎ管理のテクニックのいずれも使用できます。

Housley                     Standards Track                    [Page 20]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[20ページ]RFC2630

7  Digested-data Content Type

7 読みこなされたデータcontent type

   The digested-data content type consists of content of any type and a
   message digest of the content.

読みこなされたデータcontent typeはどんなタイプの内容と内容のメッセージダイジェストからも成ります。

   Typically, the digested-data content type is used to provide content
   integrity, and the result generally becomes an input to the
   enveloped-data content type.

通常、読みこなされたデータcontent typeは満足している保全を提供するのに使用されます、そして、一般に、結果はおおわれたデータcontent typeへの入力になります。

   The following steps construct digested-data:

以下のステップは読みこなされたデータを構成します:

      1.  A message digest is computed on the content with a message-
      digest algorithm.

1. メッセージダイジェストは内容でメッセージダイジェストアルゴリズムで計算されます。

      2.  The message-digest algorithm and the message digest are
      collected together with the content into a DigestedData value.

2. メッセージダイジェストアルゴリズムとメッセージダイジェストは内容と共にDigestedData値に集められます。

   A recipient verifies the message digest by comparing the message
   digest to an independently computed message digest.

受取人は、独自に計算されたメッセージダイジェストにメッセージダイジェストをたとえることによって、メッセージダイジェストを確かめます。

   The following object identifier identifies the digested-data content
   type:

以下のオブジェクト識別子は読みこなされたデータcontent typeを特定します:

      id-digestedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs7(7) 5 }

イド-digestedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)5をメンバーと同じくらい具体化させます。

   The digested-data content type shall have ASN.1 type DigestedData:

読みこなされたデータcontent typeで、ASN.1はDigestedDataをタイプするものとします:

      DigestedData ::= SEQUENCE {
        version CMSVersion,
        digestAlgorithm DigestAlgorithmIdentifier,
        encapContentInfo EncapsulatedContentInfo,
        digest Digest }

DigestedData:、:= 系列バージョンCMSVersion(digestAlgorithm DigestAlgorithmIdentifier、encapContentInfo EncapsulatedContentInfo)はDigestを読みこなします。

      Digest ::= OCTET STRING

以下を読みこなしてください:= 八重奏ストリング

   The fields of type DigestedData have the following meanings:

タイプDigestedDataの分野には、以下の意味があります:

      version is the syntax version number.  If the encapsulated content
      type is id-data, then the value of version shall be 0; however, if
      the encapsulated content type is other than id-data, then the
      value of version shall be 2.

バージョンは構文バージョン番号です。 カプセル化されたcontent typeがイドデータであるなら、バージョンの値は0になるでしょう。 しかしながら、イドデータを除いて、カプセル化されたcontent typeがあると、バージョンの値は2になるでしょう。

      digestAlgorithm identifies the message digest algorithm, and any
      associated parameters, under which the content is digested.  The
      message-digesting process is the same as in Section 5.4 in the
      case when there are no signed attributes.

digestAlgorithmはメッセージダイジェストアルゴリズム、およびどんな関連パラメタも特定します。(内容はパラメタで読みこなされます)。 属性が署名されないとき、メッセージを読みこなすプロセスは場合でセクション5.4と同じです。

Housley                     Standards Track                    [Page 21]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[21ページ]RFC2630

      encapContentInfo is the content that is digested, as defined in
      section 5.2.

encapContentInfoはセクション5.2で定義されるように読みこなされる内容です。

      digest is the result of the message-digesting process.

ダイジェストはメッセージ読みこなすプロセスの結果です。

   The ordering of the digestAlgorithm field, the encapContentInfo
   field, and the digest field makes it possible to process a
   DigestedData value in a single pass.

digestAlgorithm分野、encapContentInfo分野、およびダイジェスト分野の注文で、単一のパスでDigestedData値を処理するのは可能になります。

8  Encrypted-data Content Type

8 暗号化されたデータcontent type

   The encrypted-data content type consists of encrypted content of any
   type.  Unlike the enveloped-data content type, the encrypted-data
   content type has neither recipients nor encrypted content-encryption
   keys.  Keys must be managed by other means.

暗号化されたデータcontent typeはどんなタイプの暗号化された内容からも成ります。 おおわれたデータcontent typeと異なって、暗号化されたデータcontent typeは受取人も暗号化された満足している暗号化キーも持っていません。 他の手段でキーを管理しなければなりません。

   The typical application of the encrypted-data content type will be to
   encrypt the content of the data content type for local storage,
   perhaps where the encryption key is a password.

暗号化されたデータcontent typeの主用途は地方のストレージのためにデータcontent typeの内容を暗号化することでしょう、恐らく暗号化キーがパスワードであるところで。

   The following object identifier identifies the encrypted-data content
   type:

以下のオブジェクト識別子は暗号化されたデータcontent typeを特定します:

      id-encryptedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs7(7) 6 }

イド-encryptedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)6をメンバーと同じくらい具体化させます。

   The encrypted-data content type shall have ASN.1 type EncryptedData:

暗号化されたデータcontent typeで、ASN.1はEncryptedDataをタイプするものとします:

      EncryptedData ::= SEQUENCE {
        version CMSVersion,
        encryptedContentInfo EncryptedContentInfo,
        unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }

EncryptedData:、:= 系列バージョンCMSVersion、encryptedContentInfo EncryptedContentInfo、unprotectedAttrs[1]IMPLICIT UnprotectedAttributes OPTIONAL

   The fields of type EncryptedData have the following meanings:

タイプEncryptedDataの分野には、以下の意味があります:

      version is the syntax version number.  If unprotectedAttrs is
      present, then version shall be 2.  If unprotectedAttrs is absent,
      then version shall be 0.

バージョンは構文バージョン番号です。 unprotectedAttrsが存在していると、バージョンは2になるでしょう。 unprotectedAttrsが欠けると、バージョンは0になるでしょう。

      encryptedContentInfo is the encrypted content information, as
      defined in Section 6.1.

encryptedContentInfoはセクション6.1で定義されるように暗号化された満足している情報です。

      unprotectedAttrs is a collection of attributes that are not
      encrypted.  The field is optional.  Useful attribute types are
      defined in Section 11.

unprotectedAttrsは暗号化されなかった属性の収集です。 分野は任意です。 役に立つ属性タイプはセクション11で定義されます。

Housley                     Standards Track                    [Page 22]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[22ページ]RFC2630

9  Authenticated-data Content Type

9 認証されたデータcontent type

   The authenticated-data content type consists of content of any type,
   a message authentication code (MAC), and encrypted authentication
   keys for one or more recipients.  The combination of the MAC and one
   encrypted authentication key for a recipient is necessary for that
   recipient to verify the integrity of the content.  Any type of
   content can be integrity protected for an arbitrary number of
   recipients.

認証されたデータcontent typeはどんなタイプの内容、メッセージ確認コード(MAC)、および1人以上の受取人のための暗号化認証キーからも成ります。 その受取人が内容の保全について確かめるのにMACと受取人にとって、主要な1つの暗号化認証の組み合わせが必要です。 どんなタイプの内容も受取人の特殊活字の数字のために保護された保全であるかもしれません。

   The process by which authenticated-data is constructed involves the
   following steps:

認証されたデータが構成されるプロセスは以下のステップにかかわります:

      1.  A message-authentication key for a particular message-
      authentication algorithm is generated at random.

1. 特定のメッセージ認証アルゴリズムに、主要な通報認証は無作為に生成されます。

      2.  The message-authentication key is encrypted for each
      recipient.  The details of this encryption depend on the key
      management algorithm used.

2. 通報認証キーは各受取人のために暗号化されます。 この暗号化の詳細は使用されるかぎ管理アルゴリズムによります。

      3.  For each recipient, the encrypted message-authentication key
      and other recipient-specific information are collected into a
      RecipientInfo value, defined in Section 6.2.

3. 各受取人に関しては、暗号化された通報認証主要で他の受取人特殊情報はセクション6.2で定義されたRecipientInfo値に集められます。

      4.  Using the message-authentication key, the originator computes
      a MAC value on the content.  If the originator is authenticating
      any information in addition to the content (see Section 9.2), a
      message digest is calculated on the content, the message digest of
      the content and the other information are authenticated using the
      message-authentication key, and the result becomes the "MAC
      value."

4. 通報認証キーを使用して、創始者は内容のMAC値を計算します。 創始者が何か内容に加えた情報を認証しているなら(セクション9.2を見てください)、メッセージダイジェストは内容で計算されます、そして、内容のメッセージダイジェストと他の情報は通報認証キーを使用することで認証されます、そして、結果は「MAC値」になります。

9.1  AuthenticatedData Type

9.1 AuthenticatedDataはタイプします。

   The following object identifier identifies the authenticated-data
   content type:

以下のオブジェクト識別子は認証されたデータcontent typeを特定します:

      id-ct-authData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)
          ct(1) 2 }

イドct authData、オブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)ct(1)2をメンバーと同じくらい具体化させます。

Housley                     Standards Track                    [Page 23]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[23ページ]RFC2630

   The authenticated-data content type shall have ASN.1 type
   AuthenticatedData:

認証されたデータcontent typeで、ASN.1はAuthenticatedDataをタイプするものとします:

      AuthenticatedData ::= SEQUENCE {
        version CMSVersion,
        originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
        recipientInfos RecipientInfos,
        macAlgorithm MessageAuthenticationCodeAlgorithm,
        digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
        encapContentInfo EncapsulatedContentInfo,
        authenticatedAttributes [2] IMPLICIT AuthAttributes OPTIONAL,
        mac MessageAuthenticationCode,
        unauthenticatedAttributes [3] IMPLICIT UnauthAttributes OPTIONAL }

AuthenticatedData:、:= 系列バージョンCMSVersion、originatorInfo[0]IMPLICIT OriginatorInfo OPTIONAL、recipientInfos RecipientInfos、macAlgorithm MessageAuthenticationCodeAlgorithm、digestAlgorithm[1]DigestAlgorithmIdentifier OPTIONAL、encapContentInfo EncapsulatedContentInfo authenticatedAttributes[2]IMPLICIT AuthAttributes OPTIONAL、mac MessageAuthenticationCode、unauthenticatedAttributes[3]IMPLICIT UnauthAttributes OPTIONAL

      AuthAttributes ::= SET SIZE (1..MAX) OF Attribute

AuthAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

      UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute

UnauthAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

      MessageAuthenticationCode ::= OCTET STRING

MessageAuthenticationCode:、:= 八重奏ストリング

   The fields of type AuthenticatedData have the following meanings:

タイプAuthenticatedDataの分野には、以下の意味があります:

      version is the syntax version number.  It shall be 0.

バージョンは構文バージョン番号です。 それは0になるでしょう。

      originatorInfo optionally provides information about the
      originator.  It is present only if required by the key management
      algorithm.  It may contain certificates, attribute certificates,
      and CRLs, as defined in Section 6.1.

originatorInfoは任意に創始者の情報を提供します。 それは必要なら単にかぎ管理アルゴリズムで存在しています。 それはセクション6.1で定義されるように証明書、属性証明書、およびCRLsを含むかもしれません。

      recipientInfos is a collection of per-recipient information, as
      defined in Section 6.1.  There must be at least one element in the
      collection.

recipientInfosはセクション6.1で定義されるように1受取人あたりの情報の収集です。 収集には少なくとも1つの要素があるに違いありません。

      macAlgorithm is a message authentication code (MAC) algorithm
      identifier.  It identifies the MAC algorithm, along with any
      associated parameters, used by the originator.  Placement of the
      macAlgorithm field facilitates one-pass processing by the
      recipient.

macAlgorithmはメッセージ確認コード(MAC)アルゴリズム識別子です。 それは創始者によって使用されたどんな関連パラメタに伴うMACアルゴリズムも特定します。 macAlgorithm分野のプレースメントは受取人による1パスの処理を容易にします。

      digestAlgorithm identifies the message digest algorithm, and any
      associated parameters, used to compute a message digest on the
      encapsulated content if authenticated attributes are present.  The
      message digesting process is described in Section 9.2.  Placement
      of the digestAlgorithm field facilitates one-pass processing by
      the recipient.  If the digestAlgorithm field is present, then the
      authenticatedAttributes field must also be present.

digestAlgorithmは認証された属性が存在しているならカプセル化された内容でメッセージダイジェストを計算するのに使用されるメッセージダイジェストアルゴリズム、およびどんな関連パラメタも特定します。 メッセージ読みこなすプロセスはセクション9.2で説明されます。 digestAlgorithm分野のプレースメントは受取人による1パスの処理を容易にします。 また、digestAlgorithm分野が存在しているなら、authenticatedAttributes分野も存在していなければなりません。

Housley                     Standards Track                    [Page 24]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[24ページ]RFC2630

      encapContentInfo is the content that is authenticated, as defined
      in section 5.2.

encapContentInfoはセクション5.2で定義されるように認証される内容です。

      authenticatedAttributes is a collection of authenticated
      attributes.  The authenticatedAttributes structure is optional,
      but it must be present if the content type of the
      EncapsulatedContentInfo value being authenticated is not id-data.
      If the authenticatedAttributes field is present, then the
      digestAlgorithm field must also be present.  Each
      AuthenticatedAttribute in the SET must be DER encoded.  Useful
      attribute types are defined in Section 11.  If the
      authenticatedAttributes field is present, it must contain, at a
      minimum, the following two attributes:

authenticatedAttributesは認証された属性の収集です。 authenticatedAttributes構造は任意ですが、認証されるEncapsulatedContentInfo価値のcontent typeがイドデータでないなら存在していなければなりません。 また、authenticatedAttributes分野が存在しているなら、digestAlgorithm分野も存在していなければなりません。 SETの各AuthenticatedAttributeはコード化されたDERであるに違いありません。 役に立つ属性タイプはセクション11で定義されます。 authenticatedAttributes分野が存在しているなら、最小限で以下の2つの属性を含まなければなりません:

         A content-type attribute having as its value the content type
         of the EncapsulatedContentInfo value being authenticated.
         Section 11.1 defines the content-type attribute.

値として認証されるEncapsulatedContentInfo価値のcontent typeがあるcontent type属性。 セクション11.1はcontent type属性を定義します。

         A message-digest attribute, having as its value the message
         digest of the content.  Section 11.2 defines the message-digest
         attribute.

値として内容のメッセージダイジェストがあるメッセージダイジェスト属性。 セクション11.2はメッセージダイジェスト属性を定義します。

      mac is the message authentication code.

macはメッセージ確認コードです。

      unauthenticatedAttributes is a collection of attributes that are
      not authenticated.  The field is optional.  To date, no attributes
      have been defined for use as unauthenticated attributes, but other
      useful attribute types are defined in Section 11.

unauthenticatedAttributesは認証されない属性の収集です。 分野は任意です。 これまで、属性は全く使用のために非認証された属性と定義されていませんが、他の役に立つ属性タイプはセクション11で定義されます。

9.2  MAC Generation

9.2MAC世代

   The MAC calculation process computes a message authentication code
   (MAC) on either the message being authenticated or a message digest
   of message being authenticated together with the originator's
   authenticated attributes.

MAC計算過程は創始者の認証された属性と共に認証されるメッセージの認証されるメッセージかメッセージダイジェストのどちらかでメッセージ確認コードを計算します(MAC)。

   If authenticatedAttributes field is absent, the input to the MAC
   calculation process is the value of the encapContentInfo eContent
   OCTET STRING.  Only the octets comprising the value of the eContent
   OCTET STRING are input to the MAC algorithm; the tag and the length
   octets are omitted.  This has the advantage that the length of the
   content being authenticated need not be known in advance of the MAC
   generation process.

authenticatedAttributes分野が欠けるなら、MAC計算過程への入力はencapContentInfo eContent OCTET STRINGの値です。 eContent OCTET STRINGの値を包括する八重奏だけがMACアルゴリズムに入力されます。 タグと長さの八重奏は省略されます。 これには、内容の長さが認証される場合MAC発生経過の前に知られている必要はない利点があります。

   If authenticatedAttributes field is present, the content-type
   attribute (as described in Section 11.1) and the message-digest
   attribute (as described in section 11.2) must be included, and the
   input to the MAC calculation process is the DER encoding of

authenticatedAttributes分野が存在しているなら、content type属性(セクション11.1で説明されるように)とメッセージダイジェスト属性(セクション11.2で説明されるように)を含まなければなりません、そして、MAC計算過程への入力はDERコード化です。

Housley                     Standards Track                    [Page 25]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[25ページ]RFC2630

   authenticatedAttributes.  A separate encoding of the
   authenticatedAttributes field is performed for message digest
   calculation.  The IMPLICIT [2] tag in the authenticatedAttributes
   field is not used for the DER encoding, rather an EXPLICIT SET OF tag
   is used.  That is, the DER encoding of the SET OF tag, rather than of
   the IMPLICIT [2] tag, is to be included in the message digest
   calculation along with the length and content octets of the
   authenticatedAttributes value.

authenticatedAttributes。 authenticatedAttributes分野の別々のコード化はメッセージダイジェスト計算のために実行されます。 authenticatedAttributes分野のIMPLICIT[2]タグはDERコード化に使用されないで、むしろEXPLICIT SET OFタグは使用されています。 それは、DERがIMPLICIT[2]タグについてというよりむしろSET OFタグをコード化して、あって、authenticatedAttributes価値の長さと満足している八重奏に伴うメッセージダイジェスト計算に含まれることになっています。

   The message digest calculation process computes a message digest on
   the content being authenticated.  The initial input to the message
   digest calculation process is the "value" of the encapsulated content
   being authenticated.  Specifically, the input is the encapContentInfo
   eContent OCTET STRING to which the authentication process is applied.
   Only the octets comprising the value of the encapContentInfo eContent
   OCTET STRING are input to the message digest algorithm, not the tag
   or the length octets.  This has the advantage that the length of the
   content being authenticated need not be known in advance.  Although
   the encapContentInfo eContent OCTET STRING tag and length octets are
   not included in the message digest calculation, they are still
   protected by other means.  The length octets are protected by the
   nature of the message digest algorithm since it is computationally
   infeasible to find any two distinct messages of any length that have
   the same message digest.

メッセージダイジェスト計算過程は認証される内容でメッセージダイジェストを計算します。 メッセージダイジェスト計算過程への初期の入力は認証されるカプセル化された内容の「値」です。 明確に、入力は認証過程が適用されているencapContentInfo eContent OCTET STRINGです。 encapContentInfo eContent OCTET STRINGの値を包括する八重奏だけがタグか長さの八重奏ではなく、メッセージダイジェストアルゴリズムに入力されます。 これには、内容の長さが認証される場合あらかじめ知られている必要はない利点があります。 encapContentInfo eContent OCTET STRINGタグと長さの八重奏はメッセージダイジェスト計算に含まれていませんが、それらは他の手段でまだ保護されています。 同じメッセージダイジェストを持っているどんな長さのどんな2つの異なったメッセージも見つけるのが計算上実行不可能であるので、長さの八重奏はメッセージダイジェストアルゴリズムの本質によって保護されます。

   The input to the MAC calculation process includes the MAC input data,
   defined above, and an authentication key conveyed in a recipientInfo
   structure.  The details of MAC calculation depend on the MAC
   algorithm employed (e.g., HMAC).  The object identifier, along with
   any parameters, that specifies the MAC algorithm employed by the
   originator is carried in the macAlgorithm field.  The MAC value
   generated by the originator is encoded as an OCTET STRING and carried
   in the mac field.

MAC計算過程への入力は上で定義されたMAC入力データ、およびrecipientInfo構造を運ばれた認証キーを含んでいます。 MAC計算の詳細は使われたMACアルゴリズム(例えば、HMAC)によります。 どんなパラメタに伴う創始者で採用しているアルゴリズムが運ばれるmacAlgorithmがさばくMACを指定するオブジェクト識別子。 創始者によって生成されたMAC値は、OCTET STRINGとしてコード化されて、mac分野で運ばれます。

9.3  MAC Verification

9.3 MAC検証

   The input to the MAC verification process includes the input data
   (determined based on the presence or absence of the
   authenticatedAttributes field, as defined in 9.2), and the
   authentication key conveyed in recipientInfo.  The details of the MAC
   verification process depend on the MAC algorithm employed.

MAC検証プロセスへの入力は入力データ(authenticatedAttributes分野の存在か欠如に基づいて、9.2で定義されるように、決定する)、およびrecipientInfoで伝えられた認証キーを含んでいます。 MAC検証プロセスの細部は使われたMACアルゴリズムによります。

   The recipient may not rely on any MAC values or message digest values
   computed by the originator.  The content is authenticated as
   described in section 9.2.  If the originator includes authenticated
   attributes, then the content of the authenticatedAttributes is
   authenticated as described in section 9.2.  For authentication to
   succeed, the message MAC value calculated by the recipient must be

受取人は創始者によって計算された少しのMAC値やメッセージダイジェスト値も当てにしないかもしれません。 内容はセクション9.2で説明されるように認証されます。 創始者が認証された属性を入れるなら、authenticatedAttributesの内容はセクション9.2で説明されるように認証されます。 受取人によって計算されたメッセージMAC価値は、認証が成功するためには、そうでなければなりません。

Housley                     Standards Track                    [Page 26]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[26ページ]RFC2630

   the same as the value of the mac field.  Similarly, for
   authentication to succeed when the authenticatedAttributes field is
   present, the content message digest value calculated by the recipient
   must be the same as the message digest value included in the
   authenticatedAttributes message-digest attribute.

mac分野の値と同じです。 同様に、authenticatedAttributes分野が存在しているとき、認証が成功するように、受取人によって計算された満足しているメッセージダイジェスト値はauthenticatedAttributesメッセージダイジェスト属性にメッセージダイジェスト値を含んでいるのと同じでなければなりません。

10  Useful Types

10 役に立つタイプ

   This section is divided into two parts.  The first part defines
   algorithm identifiers, and the second part defines other useful
   types.

このセクションは2つの部品に分割されます。 最初の部分はアルゴリズム識別子を定義します、そして、第二部は他の役に立つタイプを定義します。

10.1  Algorithm Identifier Types

10.1 アルゴリズム識別子タイプ

   All of the algorithm identifiers have the same type:
   AlgorithmIdentifier.  The definition of AlgorithmIdentifier is
   imported from X.509 [X.509-88].

アルゴリズム識別子のすべてには、同じタイプがあります: AlgorithmIdentifier。 AlgorithmIdentifierの定義はX.509[X.509-88]からインポートされます。

   There are many alternatives for each type of algorithm listed.  For
   each of these five types, Section 12 lists the algorithms that must
   be included in a CMS implementation.

それぞれのタイプのアルゴリズムのための多くの記載された選択肢があります。 タイプこれらの5人の各人のために、セクション12はCMS実装に含まなければならないアルゴリズムを記載します。

10.1.1  DigestAlgorithmIdentifier

10.1.1 DigestAlgorithmIdentifier

   The DigestAlgorithmIdentifier type identifies a message-digest
   algorithm.  Examples include SHA-1, MD2, and MD5.  A message-digest
   algorithm maps an octet string (the message) to another octet string
   (the message digest).

DigestAlgorithmIdentifierタイプはメッセージダイジェストアルゴリズムを特定します。 例はSHA-1、MD2、およびMD5を含んでいます。 メッセージダイジェストアルゴリズムは別の八重奏ストリング(メッセージダイジェスト)に八重奏ストリング(メッセージ)を写像します。

      DigestAlgorithmIdentifier ::= AlgorithmIdentifier

DigestAlgorithmIdentifier:、:= AlgorithmIdentifier

10.1.2  SignatureAlgorithmIdentifier

10.1.2 SignatureAlgorithmIdentifier

   The SignatureAlgorithmIdentifier type identifies a signature
   algorithm.  Examples include DSS and RSA.  A signature algorithm
   supports signature generation and verification operations.  The
   signature generation operation uses the message digest and the
   signer's private key to generate a signature value.  The signature
   verification operation uses the message digest and the signer's
   public key to determine whether or not a signature value is valid.
   Context determines which operation is intended.

SignatureAlgorithmIdentifierタイプは署名アルゴリズムを特定します。 例はDSSとRSAを含んでいます。 署名アルゴリズムは、署名世代と検証が操作であるとサポートします。 署名世代操作は、署名が値であると生成するのにメッセージダイジェストと署名者の秘密鍵を使用します。 署名照合操作は、署名値が有効であるかどうか決定するのにメッセージダイジェストと署名者の公開鍵を使用します。 文脈は、どの操作が意図するかを決定します。

      SignatureAlgorithmIdentifier ::= AlgorithmIdentifier

SignatureAlgorithmIdentifier:、:= AlgorithmIdentifier

Housley                     Standards Track                    [Page 27]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[27ページ]RFC2630

10.1.3  KeyEncryptionAlgorithmIdentifier

10.1.3 KeyEncryptionAlgorithmIdentifier

   The KeyEncryptionAlgorithmIdentifier type identifies a key-encryption
   algorithm used to encrypt a content-encryption key.  The encryption
   operation maps an octet string (the key) to another octet string (the
   encrypted key) under control of a key-encryption key.  The decryption
   operation is the inverse of the encryption operation.  Context
   determines which operation is intended.

KeyEncryptionAlgorithmIdentifierタイプは満足している暗号化キーを暗号化するのに使用される主要な暗号化アルゴリズムを特定します。 暗号化操作は主要な暗号化キーのコントロールの下における別の八重奏ストリング(暗号化されたキー)に八重奏ストリング(キー)を写像します。 復号化操作は暗号化操作の逆です。 文脈は、どの操作が意図するかを決定します。

   The details of encryption and decryption depend on the key management
   algorithm used.  Key transport, key agreement, and previously
   distributed symmetric key-encrypting keys are supported.

暗号化と復号化の詳細は使用されるかぎ管理アルゴリズムによります。 主要な輸送、主要な協定、および以前に分配された左右対称のキーを暗号化するキーはサポートされます。

      KeyEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier

KeyEncryptionAlgorithmIdentifier:、:= AlgorithmIdentifier

10.1.4  ContentEncryptionAlgorithmIdentifier

10.1.4 ContentEncryptionAlgorithmIdentifier

   The ContentEncryptionAlgorithmIdentifier type identifies a content-
   encryption algorithm.  Examples include Triple-DES and RC2.  A
   content-encryption algorithm supports encryption and decryption
   operations.  The encryption operation maps an octet string (the
   message) to another octet string (the ciphertext) under control of a
   content-encryption key.  The decryption operation is the inverse of
   the encryption operation.  Context determines which operation is
   intended.

ContentEncryptionAlgorithmIdentifierタイプは内容暗号化アルゴリズムを特定します。 例はTriple-DESとRC2を含んでいます。 満足している暗号化アルゴリズムは暗号化と復号化操作をサポートします。 暗号化操作は満足している暗号化キーのコントロールの下における別の八重奏ストリング(暗号文)に八重奏ストリング(メッセージ)を写像します。 復号化操作は暗号化操作の逆です。 文脈は、どの操作が意図するかを決定します。

      ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier

ContentEncryptionAlgorithmIdentifier:、:= AlgorithmIdentifier

10.1.5  MessageAuthenticationCodeAlgorithm

10.1.5 MessageAuthenticationCodeAlgorithm

   The MessageAuthenticationCodeAlgorithm type identifies a message
   authentication code (MAC) algorithm.  Examples include DES-MAC and
   HMAC.  A MAC algorithm supports generation and verification
   operations.  The MAC generation and verification operations use the
   same symmetric key.  Context determines which operation is intended.

MessageAuthenticationCodeAlgorithmタイプはメッセージ確認コード(MAC)アルゴリズムを特定します。 例はDES-MACとHMACを含んでいます。 MACアルゴリズムは、世代と検証が操作であるとサポートします。 MAC世代と検証操作は同じ対称鍵を使用します。 文脈は、どの操作が意図するかを決定します。

      MessageAuthenticationCodeAlgorithm ::= AlgorithmIdentifier

MessageAuthenticationCodeAlgorithm:、:= AlgorithmIdentifier

10.2  Other Useful Types

10.2 他の役に立つタイプ

   This section defines types that are used other places in the
   document.  The types are not listed in any particular order.

このセクションはドキュメントの他の中古の場所であるタイプを定義します。 タイプはどんな特定のオーダーにも記載されていません。

10.2.1  CertificateRevocationLists

10.2.1 CertificateRevocationLists

   The CertificateRevocationLists type gives a set of certificate
   revocation lists (CRLs). It is intended that the set contain
   information sufficient to determine whether the certificates and

CertificateRevocationListsタイプは1セットの証明書失効リスト(CRLs)を与えます。 そしてセットが決定できるくらいの情報を含むことを意図する、証明書。

Housley                     Standards Track                    [Page 28]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[28ページ]RFC2630

   attribute certificates with which the set is associated are revoked
   or not.  However, there may be more CRLs than necessary or there may
   be fewer CRLs than necessary.

セットが関連している属性証明書は取り消されます。 しかしながら、必要とするより多くのCRLsがあるかもしれませんか、または必要とするより少ないCRLsがあるかもしれません。

   The CertificateList may contain a CRL, an Authority Revocation List
   (ARL), a Delta Revocation List, or an Attribute Certificate
   Revocation List.  All of these lists share a common syntax.

CertificateListはCRL、Authority Revocation List(ARL)、デルタRevocation List、またはAttribute Certificate Revocation Listを含むかもしれません。 これらのリストのすべてが一般的な構文を共有します。

   CRLs are specified in X.509 [X.509-97], and they are profiled for use
   in the Internet in RFC 2459 [PROFILE].

CRLsはX.509[X.509-97]で指定されます、そして、彼らはRFC2459[PROFILE]のインターネットでの使用のために輪郭を描かれます。

   The definition of CertificateList is imported from X.509.

CertificateListの定義はX.509からインポートされます。

      CertificateRevocationLists ::= SET OF CertificateList

CertificateRevocationLists:、:= CertificateListのセット

10.2.2  CertificateChoices

10.2.2 CertificateChoices

   The CertificateChoices type gives either a PKCS #6 extended
   certificate [PKCS#6], an X.509 certificate, or an X.509 attribute
   certificate [X.509-97].  The PKCS #6 extended certificate is
   obsolete.  PKCS #6 certificates are included for backward
   compatibility, and their use should be avoided.  The Internet profile
   of X.509 certificates is specified in the "Internet X.509 Public Key
   Infrastructure: Certificate and CRL Profile" [PROFILE].

CertificateChoicesタイプはPKCS#6の拡張証明書[PKCS#6]、X.509証明書、またはX.509属性証明書[X.509-97]を与えます。 PKCS#6の拡張証明書は時代遅れです。 PKCS#6通の証明書が後方の互換性のために含まれています、そして、彼らの使用は避けられるべきです。 X.509証明書のインターネットプロフィールが指定される、「インターネットX.509公開鍵基盤:」 「証明書とCRLプロフィール」という[プロフィール。]

   The definitions of Certificate and AttributeCertificate are imported
   from X.509.

CertificateとAttributeCertificateの定義はX.509からインポートされます。

      CertificateChoices ::= CHOICE {
         certificate Certificate,                 -- See X.509
         extendedCertificate [0] IMPLICIT ExtendedCertificate,
                                                  -- Obsolete
         attrCert [1] IMPLICIT AttributeCertificate }
                                                  -- See X.509 and X9.57

CertificateChoices:、:= CHOICEは、Certificate--X.509 extendedCertificate[0]IMPLICIT ExtendedCertificate--attrCert[1]IMPLICIT AttributeCertificateを時代遅れにするように見ると証明します--X.509とX9.57を見てください。

10.2.3  CertificateSet

10.2.3 CertificateSet

   The CertificateSet type provides a set of certificates.  It is
   intended that the set be sufficient to contain chains from a
   recognized "root" or "top-level certification authority" to all of
   the sender certificates with which the set is associated.  However,
   there may be more certificates than necessary, or there may be fewer
   than necessary.

CertificateSetタイプは1セットの証明書を提供します。 セットが認識された「根」か「トップレベル証明権威」からセットが関連している送付者証明書のすべてまでのチェーンを含むように十分であることを意図します。 しかしながら、必要とするより多くの証明書があるかもしれないか、またはそこでは、必要とするより少ないかもしれません。

   The precise meaning of a "chain" is outside the scope of this
   document.  Some applications may impose upper limits on the length of
   a chain; others may enforce certain relationships between the
   subjects and issuers of certificates within a chain.

このドキュメントの範囲の外に「チェーン」の正確な意味があります。 いくつかのアプリケーションが最大の限界をチェーンの長さに課すかもしれません。 他のものはチェーンの中で証明書の対象と発行人とのある関係を実施するかもしれません。

Housley                     Standards Track                    [Page 29]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[29ページ]RFC2630

      CertificateSet ::= SET OF CertificateChoices

CertificateSet:、:= CertificateChoicesのセット

10.2.4  IssuerAndSerialNumber

10.2.4 IssuerAndSerialNumber

   The IssuerAndSerialNumber type identifies a certificate, and thereby
   an entity and a public key, by the distinguished name of the
   certificate issuer and an issuer-specific certificate serial number.

IssuerAndSerialNumberタイプは、証明書を特定して、その結果、実体と公開鍵を特定します、証明書発行人の分類名と発行人特有の証明書通し番号で。

   The definition of Name is imported from X.501 [X.501-88], and the
   definition of CertificateSerialNumber is imported from X.509
   [X.509-97].

Nameの定義はX.501[X.501-88]からインポートされます、そして、CertificateSerialNumberの定義はX.509[X.509-97]からインポートされます。

      IssuerAndSerialNumber ::= SEQUENCE {
        issuer Name,
        serialNumber CertificateSerialNumber }

IssuerAndSerialNumber:、:= 系列発行人Name、serialNumber CertificateSerialNumber

      CertificateSerialNumber ::= INTEGER

CertificateSerialNumber:、:= 整数

10.2.5  CMSVersion

10.2.5 CMSVersion

   The Version type gives a syntax version number, for compatibility
   with future revisions of this document.

バージョンタイプはこのドキュメントの今後の改正との互換性の構文バージョン番号を与えます。

      CMSVersion ::= INTEGER  { v0(0), v1(1), v2(2), v3(3), v4(4) }

CMSVersion:、:= 整数v0(0)、v1(1)、v2(2)、v3(3)、v4(4)

10.2.6  UserKeyingMaterial

10.2.6 UserKeyingMaterial

   The UserKeyingMaterial type gives a syntax for user keying material
   (UKM).  Some key agreement algorithms require UKMs to ensure that a
   different key is generated each time the same two parties generate a
   pairwise key.  The sender provides a UKM for use with a specific key
   agreement algorithm.

UserKeyingMaterialタイプは材料(UKM)を合わせるユーザのために構文を与えます。 いくつかの主要な協定アルゴリズムが、UKMsが、異なったキーが同じ2回のパーティーが対状キーを生成する各回であると生成されるのを保証するのを必要とします。 送付者は特定の主要な協定アルゴリズムを使用のためのUKMに提供します。

      UserKeyingMaterial ::= OCTET STRING

UserKeyingMaterial:、:= 八重奏ストリング

10.2.7  OtherKeyAttribute

10.2.7 OtherKeyAttribute

   The OtherKeyAttribute type gives a syntax for the inclusion of other
   key attributes that permit the recipient to select the key used by
   the sender.  The attribute object identifier must be registered along
   with the syntax of the attribute itself.  Use of this structure
   should be avoided since it may impede interoperability.

OtherKeyAttributeタイプは受取人が送付者によって使用されたキーを選択することを許可する他の主要な属性の包含のための構文を与えます。 属性自体の構文と共に属性オブジェクト識別子を登録しなければなりません。 相互運用性を妨害するかもしれないので、この構造の使用は避けられるべきです。

      OtherKeyAttribute ::= SEQUENCE {
        keyAttrId OBJECT IDENTIFIER,
        keyAttr ANY DEFINED BY keyAttrId OPTIONAL }

OtherKeyAttribute:、:= 系列keyAttrIdオブジェクト識別子、keyAttrIdによって少しも任意の状態で定義されたkeyAttr

Housley                     Standards Track                    [Page 30]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[30ページ]RFC2630

11  Useful Attributes

11 役に立つ属性

   This section defines attributes that may be used with signed-data,
   enveloped-data, encrypted-data, or authenticated-data.  The syntax of
   Attribute is compatible with X.501 [X.501-88] and RFC 2459 [PROFILE].
   Some of the attributes defined in this section were originally
   defined in PKCS #9 [PKCS#9], others were not previously defined.  The
   attributes are not listed in any particular order.

このセクションは署名しているデータ、おおわれたデータ、暗号化されたデータ、または認証されたデータと共に使用されるかもしれない属性を定義します。 Attributeの構文はX.501[X.501-88]とRFC2459[PROFILE]と互換性があります。 このセクションで定義された属性のいくつかが元々PKCS#9[PKCS#9]で定義されて、他のものは以前に、定義されませんでした。 属性はどんな特定のオーダーにも記載されていません。

   Additional attributes are defined in many places, notably the S/MIME
   Version 3 Message Specification [MSG] and the Enhanced Security
   Services for S/MIME [ESS], which also include recommendations on the
   placement of these attributes.

追加属性は多くの場所と著しくS/MIMEバージョン3Message Specification[MSG]とS/MIMEのためのEnhanced Security Services[ESS]で定義されます。(また、Enhanced Security Servicesはこれらの属性のプレースメントの推薦を含んでいます)。

11.1  Content Type

11.1 content type

   The content-type attribute type specifies the content type of the
   ContentInfo value being signed in signed-data.  The content-type
   attribute type is required if there are any authenticated attributes
   present.

content type属性タイプは署名しているデータがサインインされるContentInfo価値のcontent typeを指定します。 何か認証された存在している属性があれば、content type属性タイプが必要です。

   The content-type attribute must be a signed attribute or an
   authenticated attribute; it cannot be an unsigned attribute, an
   unauthenticated attribute, or an unprotectedAttribute.

content type属性は、署名している属性か認証された属性であるに違いありません。 それは、未署名の属性、非認証された属性、またはunprotectedAttributeであるはずがありません。

   The following object identifier identifies the content-type
   attribute:

以下のオブジェクト識別子はcontent type属性を特定します:

      id-contentType OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs9(9) 3 }

イド-contentTypeオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)3をメンバーと同じくらい具体化させます。

   Content-type attribute values have ASN.1 type ContentType:

文書内容属性値で、ASN.1はContentTypeをタイプします:

      ContentType ::= OBJECT IDENTIFIER

ContentType:、:= オブジェクト識別子

   A content-type attribute must have a single attribute value, even
   though the syntax is defined as a SET OF AttributeValue.  There must
   not be zero or multiple instances of AttributeValue present.

content type属性に、構文はSET OF AttributeValueと定義されますが、ただ一つの属性値がなければなりません。 AttributeValueの存在しているゼロか複数のインスタンスがあるはずがありません。

   The SignedAttributes and AuthAttributes syntaxes are each defined as
   a SET OF Attributes.  The SignedAttributes in a signerInfo must not
   include multiple instances of the content-type attribute.  Similarly,
   the AuthAttributes in an AuthenticatedData must not include multiple
   instances of the content-type attribute.

SignedAttributesとAuthAttributes構文はそれぞれSET OF Attributesと定義されます。 signerInfoのSignedAttributesはcontent type属性の複数のインスタンスを含んではいけません。 同様に、AuthenticatedDataのAuthAttributesはcontent type属性の複数のインスタンスを含んではいけません。

Housley                     Standards Track                    [Page 31]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[31ページ]RFC2630

11.2  Message Digest

11.2メッセージダイジェスト

   The message-digest attribute type specifies the message digest of the
   encapContentInfo eContent OCTET STRING being signed in signed-data
   (see section 5.4) or authenticated in authenticated-data (see section
   9.2).  For signed-data, the message digest is computed using the
   signer's message digest algorithm.  For authenticated-data, the
   message digest is computed using the originator's message digest
   algorithm.

メッセージダイジェスト属性タイプは署名しているデータ(セクション5.4を見る)がサインインされるか、または認証されたデータで認証されるencapContentInfo eContent OCTET STRINGのメッセージダイジェストを指定します(セクション9.2を見てください)。 署名しているデータに関しては、メッセージダイジェストは、署名者のメッセージダイジェストアルゴリズムを使用することで計算されます。 認証されたデータに関しては、メッセージダイジェストは、創始者のメッセージダイジェストアルゴリズムを使用することで計算されます。

   Within signed-data, the message-digest signed attribute type is
   required if there are any attributes present.  Within authenticated-
   data, the message-digest authenticated attribute type is required if
   there are any attributes present.

署名しているデータの中では、何か存在している属性があれば、属性タイプであると署名されるメッセージダイジェストが必要です。 認証されたデータの中では、何か存在している属性があれば、メッセージダイジェストの認証された属性タイプが必要です。

   The message-digest attribute must be a signed attribute or an
   authenticated attribute; it cannot be an unsigned attribute or an
   unauthenticated attribute.

メッセージダイジェスト属性は、署名している属性か認証された属性であるに違いありません。 それは、未署名の属性か非認証された属性であるはずがありません。

   The following object identifier identifies the message-digest
   attribute:

以下のオブジェクト識別子はメッセージダイジェスト属性を特定します:

      id-messageDigest OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs9(9) 4 }

イド-messageDigestオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)4をメンバーと同じくらい具体化させます。

   Message-digest attribute values have ASN.1 type MessageDigest:

メッセージダイジェスト属性値で、ASN.1はMessageDigestをタイプします:

      MessageDigest ::= OCTET STRING

MessageDigest:、:= 八重奏ストリング

   A message-digest attribute must have a single attribute value, even
   though the syntax is defined as a SET OF AttributeValue.  There must
   not be zero or multiple instances of AttributeValue present.

メッセージダイジェスト属性に、構文はSET OF AttributeValueと定義されますが、ただ一つの属性値がなければなりません。 AttributeValueの存在しているゼロか複数のインスタンスがあるはずがありません。

   The SignedAttributes syntax is defined as a SET OF Attributes.  The
   SignedAttributes in a signerInfo must not include multiple instances
   of the message-digest attribute.

SignedAttributes構文はSET OF Attributesと定義されます。 signerInfoのSignedAttributesはメッセージダイジェスト属性の複数のインスタンスを含んではいけません。

11.3  Signing Time

11.3署名時間

   The signing-time attribute type specifies the time at which the
   signer (purportedly) performed the signing process.  The signing-time
   attribute type is intended for use in signed-data.

署名時間属性タイプは署名者がサインアップ過程を(表面上)実行した時を指定します。 署名時間属性タイプは署名しているデータにおける使用のために意図します。

   The signing-time attribute may be a signed attribute; it cannot be an
   unsigned attribute, an authenticated attribute, or an unauthenticated
   attribute.

署名時間属性は署名している属性であるかもしれません。 それは、未署名の属性、認証された属性、または非認証された属性であるはずがありません。

Housley                     Standards Track                    [Page 32]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[32ページ]RFC2630

   The following object identifier identifies the signing-time
   attribute:

以下のオブジェクト識別子は署名時間属性を特定します:

      id-signingTime OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs9(9) 5 }

イド-signingTimeオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)5をメンバーと同じくらい具体化させます。

   Signing-time attribute values have ASN.1 type SigningTime:

署名時間属性値で、ASN.1はSigningTimeをタイプします:

      SigningTime ::= Time

SigningTime:、:= 時間

      Time ::= CHOICE {
        utcTime          UTCTime,
        generalizedTime  GeneralizedTime }

以下を調節してください:= 選択utcTime UTCTime、generalizedTime GeneralizedTime

   Note: The definition of Time matches the one specified in the 1997
   version of X.509 [X.509-97].

以下に注意してください。 Timeの定義は1997年のX.509[X.509-97]のバージョンで指定されたものに合っています。

   Dates between 1 January 1950 and 31 December 2049 (inclusive) must be
   encoded as UTCTime.  Any dates with year values before 1950 or after
   2049 must be encoded as GeneralizedTime.

UTCTimeとして1950年1月1日と2049年12月31日(包括的な)の間の日付をコード化しなければなりません。 GeneralizedTimeとして1950の前か2049以降年の値があるどんな日付もコード化しなければなりません。

   UTCTime values must be expressed in Greenwich Mean Time (Zulu) and
   must include seconds (i.e., times are YYMMDDHHMMSSZ), even where the
   number of seconds is zero.  Midnight (GMT) must be represented as
   "YYMMDD000000Z".  Century information is implicit, and the century
   must be determined as follows:

UTCTime値は、グリニッジ標準時(ズールー族)に表さなければならなくて、秒を含まなければなりません(すなわち、回はYYMMDDHHMMSSZです)、秒数がゼロでさえあるところで。 "YYMMDD000000Z"として(グリニッジ標準時)の真夜中を表さなければなりません。 世紀情報は暗黙です、そして、世紀は以下の通り決定していなければなりません:

      Where YY is greater than or equal to 50, the year shall be
      interpreted as 19YY; and

YYが50歳以上であるところでは、1年は19YYとして解釈されるものとします。 そして

      Where YY is less than 50, the year shall be interpreted as 20YY.

YYが50歳未満であるところでは、1年は20YYとして解釈されるものとします。

   GeneralizedTime values shall be expressed in Greenwich Mean Time
   (Zulu) and must include seconds (i.e., times are YYYYMMDDHHMMSSZ),
   even where the number of seconds is zero.  GeneralizedTime values
   must not include fractional seconds.

GeneralizedTime値は、グリニッジ標準時(ズールー族)に表されて、秒を含まなければなりません(すなわち、回はYYYYMMDDHHMMSSZです)、秒数がゼロでさえあるところで。 GeneralizedTime値は断片的な秒を含んではいけません。

   A signing-time attribute must have a single attribute value, even
   though the syntax is defined as a SET OF AttributeValue.  There must
   not be zero or multiple instances of AttributeValue present.

署名時間属性に、構文はSET OF AttributeValueと定義されますが、ただ一つの属性値がなければなりません。 AttributeValueの存在しているゼロか複数のインスタンスがあるはずがありません。

   The SignedAttributes syntax is defined as a SET OF Attributes.  The
   SignedAttributes in a signerInfo must not include multiple instances
   of the signing-time attribute.

SignedAttributes構文はSET OF Attributesと定義されます。 signerInfoのSignedAttributesは署名時間属性の複数のインスタンスを含んではいけません。

   No requirement is imposed concerning the correctness of the signing
   time, and acceptance of a purported signing time is a matter of a
   recipient's discretion.  It is expected, however, that some signers,

要件は全く署名現代の正当性に関して課されません、そして、主張された署名時間の承認は受取人の思慮深さの問題です。 しかしながら、それは予想されて、それはいくつかの署名者です。

Housley                     Standards Track                    [Page 33]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[33ページ]RFC2630

   such as time-stamp servers, will be trusted implicitly.

サーバを時押し込んで、それとなく信じられるでしょう。

11.4  Countersignature

11.4 副署

   The countersignature attribute type specifies one or more signatures
   on the contents octets of the DER encoding of the signatureValue
   field of a SignerInfo value in signed-data.  Thus, the
   countersignature attribute type countersigns (signs in serial)
   another signature.

副署属性タイプは署名しているデータにおける、SignerInfo価値のsignatureValue分野のDERコード化のコンテンツ八重奏の1つ以上の署名を指定します。 したがって、副署属性タイプは別の署名について副署します(シリーズにサインインします)。

   The countersignature attribute must be an unsigned attribute; it
   cannot be a signed attribute, an authenticated attribute, or an
   unauthenticated attribute.

副署属性は未署名の属性であるに違いありません。 それは、署名している属性、認証された属性、または非認証された属性であるはずがありません。

   The following object identifier identifies the countersignature
   attribute:

以下のオブジェクト識別子は副署属性を特定します:

      id-countersignature OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs9(9) 6 }

イド副署OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)6をメンバーと同じくらい具体化させます。

   Countersignature attribute values have ASN.1 type Countersignature:

副署属性値で、ASN.1はCountersignatureをタイプします:

      Countersignature ::= SignerInfo

副署:、:= SignerInfo

   Countersignature values have the same meaning as SignerInfo values
   for ordinary signatures, except that:

副署値には、SignerInfoが普通の署名のために評価するそれを除いて、同じ意味があります:

      1.  The signedAttributes field must contain a message-digest
      attribute if it contains any other attributes, but need not
      contain a content-type attribute, as there is no content type for
      countersignatures.

1. signedAttributes分野は、他の属性を含んでいるならメッセージダイジェスト属性を含まなければなりませんが、content type属性は含む必要はありません、副署のためのcontent typeが全くないとき。

      2.  The input to the message-digesting process is the contents
      octets of the DER encoding of the signatureValue field of the
      SignerInfo value with which the attribute is associated.

2. メッセージを読みこなすプロセスへの入力は属性が関連しているSignerInfo価値のsignatureValue分野のDERコード化のコンテンツ八重奏です。

   A countersignature attribute can have multiple attribute values.  The
   syntax is defined as a SET OF AttributeValue, and there must be one
   or more instances of AttributeValue present.

副署属性は複数の属性値を持つことができます。 構文はSET OF AttributeValueと定義されます、そして、AttributeValueの存在している1つ以上のインスタンスがあるに違いありません。

   The UnsignedAttributes syntax is defined as a SET OF Attributes.  The
   UnsignedAttributes in a signerInfo may include multiple instances of
   the countersignature attribute.

UnsignedAttributes構文はSET OF Attributesと定義されます。 signerInfoのUnsignedAttributesは副署属性の複数のインスタンスを含むかもしれません。

   A countersignature, since it has type SignerInfo, can itself contain
   a countersignature attribute.  Thus it is possible to construct
   arbitrarily long series of countersignatures.

副署であり、それにはタイプがあるので、SignerInfo、缶自体は副署属性を含んでいます。 したがって、任意に長いシリーズの副署を構成するのは可能です。

Housley                     Standards Track                    [Page 34]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[34ページ]RFC2630

12  Supported Algorithms

12 サポートしているアルゴリズム

   This section lists the algorithms that must be implemented.
   Additional algorithms that should be implemented are also included.

このセクションは実装しなければならないアルゴリズムを記載します。 また、実装されるべきである追加アルゴリズムは含まれています。

12.1  Digest Algorithms

12.1 ダイジェストアルゴリズム

   CMS implementations must include SHA-1.  CMS implementations should
   include MD5.

CMS実装はSHA-1を含まなければなりません。 CMS実装はMD5を含むべきです。

   Digest algorithm identifiers are located in the SignedData
   digestAlgorithms field, the SignerInfo digestAlgorithm field, the
   DigestedData digestAlgorithm field, and the AuthenticatedData
   digestAlgorithm field.

ダイジェストアルゴリズム識別子はSignedData digestAlgorithms分野、SignerInfo digestAlgorithm分野、DigestedData digestAlgorithm分野、およびAuthenticatedData digestAlgorithm分野に位置しています。

   Digest values are located in the DigestedData digest field, and
   digest values are located in the Message Digest authenticated
   attribute.  In addition, digest values are input to signature
   algorithms.

ダイジェスト値は見つけられて、値が位置しているDigestedDataダイジェスト分野、およびダイジェストでは、Message Digestが属性を認証したということです。 さらに、ダイジェスト値は署名アルゴリズムに入力されます。

12.1.1  SHA-1

12.1.1 SHA-1

   The SHA-1 digest algorithm is defined in FIPS Pub 180-1 [SHA1]. The
   algorithm identifier for SHA-1 is:

SHA-1ダイジェストアルゴリズムはFIPS Pub180-1[SHA1]で定義されます。 SHA-1のためのアルゴリズム識別子は以下の通りです。

      sha-1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
          oiw(14) secsig(3) algorithm(2) 26 }

sha-1 OBJECT IDENTIFIER:、:= iso(1)の特定された組織(3)oiw(14) secsig(3)アルゴリズム(2)26

   The AlgorithmIdentifier parameters field is optional.  If present,
   the parameters field must contain an ASN.1 NULL.  Implementations
   should accept SHA-1 AlgorithmIdentifiers with absent parameters as
   well as NULL parameters.  Implementations should generate SHA-1
   AlgorithmIdentifiers with NULL parameters.

AlgorithmIdentifierパラメタ分野は任意です。 存在しているなら、パラメタ分野はASN.1NULLを含まなければなりません。 実装はNULLパラメタと同様に欠けているパラメタがあるSHA-1 AlgorithmIdentifiersを受け入れるべきです。 実装はNULLパラメタがあるSHA-1 AlgorithmIdentifiersを生成するべきです。

12.1.2  MD5

12.1.2 MD5

   The MD5 digest algorithm is defined in RFC 1321 [MD5].  The algorithm
   identifier for MD5 is:

MD5ダイジェストアルゴリズムはRFC1321[MD5]で定義されます。 MD5のためのアルゴリズム識別子は以下の通りです。

      md5 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
          rsadsi(113549) digestAlgorithm(2) 5 }

md5 OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) digestAlgorithm(2)5をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameters field must be present, and the
   parameters field must contain NULL.  Implementations may accept the
   MD5 AlgorithmIdentifiers with absent parameters as well as NULL
   parameters.

AlgorithmIdentifierパラメタ分野は存在していなければなりません、そして、パラメタ分野はNULLを含まなければなりません。 実装はNULLパラメタと同様に欠けているパラメタがあるMD5 AlgorithmIdentifiersを受け入れるかもしれません。

Housley                     Standards Track                    [Page 35]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[35ページ]RFC2630

12.2  Signature Algorithms

12.2 署名アルゴリズム

   CMS implementations must include DSA.  CMS implementations may
   include RSA.

CMS実装はDSAを含まなければなりません。 CMS実装はRSAを含むかもしれません。

   Signature algorithm identifiers are located in the SignerInfo
   signatureAlgorithm field.  Also, signature algorithm identifiers are
   located in the SignerInfo signatureAlgorithm field of
   countersignature attributes.

署名アルゴリズム識別子はSignerInfo signatureAlgorithm分野に位置しています。 また、署名アルゴリズム識別子は副署属性のSignerInfo signatureAlgorithm分野に位置しています。

   Signature values are located in the SignerInfo signature field.
   Also, signature values are located in the SignerInfo signature field
   of countersignature attributes.

署名値はSignerInfo署名分野に位置しています。 また、署名値は副署属性のSignerInfo署名分野に位置しています。

12.2.1  DSA

12.2.1 DSA

   The DSA signature algorithm is defined in FIPS Pub 186 [DSS].  DSA is
   always used with the SHA-1 message digest algorithm.  The algorithm
   identifier for DSA is:

DSA署名アルゴリズムはFIPS Pub186[DSS]で定義されます。 DSAはSHA-1メッセージダイジェストアルゴリズムでいつも使用されます。 DSAのためのアルゴリズム識別子は以下の通りです。

      id-dsa-with-sha1 OBJECT IDENTIFIER ::=  { iso(1) member-body(2)
          us(840) x9-57 (10040) x9cm(4) 3 }

sha1 OBJECT IDENTIFIERとイドdsa:、:= iso(1)は(2) 私たち(840)x9-57(10040)x9cm(4)3をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameters field must not be present.

AlgorithmIdentifierパラメタ分野は存在しているはずがありません。

12.2.2  RSA

12.2.2 RSA

   The RSA signature algorithm is defined in RFC 2347 [NEWPKCS#1]. RFC
   2347 specifies the use of the RSA signature algorithm with the SHA-1
   and MD5 message digest algorithms.  The algorithm identifier for RSA
   is:

RSA署名アルゴリズムはRFC2347[NEWPKCS#1]で定義されます。 RFC2347はSHA-1とMD5メッセージダイジェストアルゴリズムがあるRSA署名アルゴリズムの使用を指定します。RSAのためのアルゴリズム識別子は以下の通りです。

      rsaEncryption OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 1 }

rsaEncryptionオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-1(1)1をメンバーと同じくらい具体化させます。

12.3  Key Management Algorithms

12.3 Key Managementアルゴリズム

   CMS accommodates three general key management techniques: key
   agreement, key transport, and previously distributed symmetric key-
   encryption keys.

CMSは3つの一般的なかぎ管理のテクニックに対応します: 主要な協定、主要な輸送、および以前に分配された左右対称の主要な暗号化キー。

12.3.1  Key Agreement Algorithms

12.3.1 主要な協定アルゴリズム

   CMS implementations must include key agreement using X9.42
   Ephemeral-Static Diffie-Hellman.

CMS実装は、X9.42 Ephemeral静的なディフィー-ヘルマンを使用することで主要な協定を含まなければなりません。

   Any symmetric encryption algorithm that a CMS implementation includes
   as a content-encryption algorithm must also be included as a key-

また、キーとして満足している暗号化アルゴリズムを含まなければならないときCMS実装が含んでいるどんな左右対称の暗号化アルゴリズム

Housley                     Standards Track                    [Page 36]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[36ページ]RFC2630

   encryption algorithm.  CMS implementations must include key agreement
   of Triple-DES pairwise key-encryption keys and Triple-DES wrapping of
   Triple-DES content-encryption keys.  CMS implementations should
   include key agreement of RC2 pairwise key-encryption keys and RC2
   wrapping of RC2 content-encryption keys.  The key wrap algorithm for
   Triple-DES and RC2 is described in section 12.3.3.

暗号化アルゴリズム。 CMS実装はTriple-DES対状主要な暗号化キーの主要な協定とTriple-DES満足している暗号化キーのTriple-DESラッピングを含まなければなりません。 CMS実装はRC2対状主要な暗号化キーの主要な協定とRC2満足している暗号化キーのRC2ラッピングを含むべきです。 Triple-DESとRC2に、主要な包装アルゴリズムはセクション12.3.3で説明されます。

   A CMS implementation may support mixed key-encryption and content-
   encryption algorithms.  For example, a 128-bit RC2 content-encryption
   key may be wrapped with 168-bit Triple-DES key-encryption key.
   Similarly, a 40-bit RC2 content-encryption key may be wrapped with
   128-bit RC2 key-encryption key.

CMS実装は複雑な主要な暗号化と内容暗号化アルゴリズムをサポートするかもしれません。例えば、128ビットのRC2満足している暗号化キーは168ビットのTriple-DES主要な暗号化キーで包装されるかもしれません。 同様に、40ビットのRC2満足している暗号化キーは128ビットのRC2主要な暗号化キーで包装されるかもしれません。

   For key agreement of RC2 key-encryption keys, 128 bits must be
   generated as input to the key expansion process used to compute the
   RC2 effective key [RC2].

RC2主要な暗号化キーの主要な協定において、RC2の有効なキー[RC2]を計算するのに使用される主要な拡張プロセスに入力されるように128ビットを生成しなければなりません。

   Key agreement algorithm identifiers are located in the EnvelopedData
   RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithm and
   AuthenticatedData RecipientInfos KeyAgreeRecipientInfo
   keyEncryptionAlgorithm fields.

主要な協定アルゴリズム識別子はEnvelopedData RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithmとAuthenticatedData RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithm分野に位置しています。

   Key wrap algorithm identifiers are located in the KeyWrapAlgorithm
   parameters within the EnvelopedData RecipientInfos
   KeyAgreeRecipientInfo keyEncryptionAlgorithm and AuthenticatedData
   RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithm fields.

主要な包装アルゴリズム識別子はEnvelopedData RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithmとAuthenticatedData RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithm分野の中にKeyWrapAlgorithmパラメタに位置しています。

   Wrapped content-encryption keys are located in the EnvelopedData
   RecipientInfos KeyAgreeRecipientInfo RecipientEncryptedKeys
   encryptedKey field.  Wrapped message-authentication keys are located
   in the AuthenticatedData RecipientInfos KeyAgreeRecipientInfo
   RecipientEncryptedKeys encryptedKey field.

包装された満足している暗号化キーはEnvelopedData RecipientInfos KeyAgreeRecipientInfo RecipientEncryptedKeys encryptedKey分野に位置しています。 包装された通報認証キーはAuthenticatedData RecipientInfos KeyAgreeRecipientInfo RecipientEncryptedKeys encryptedKey分野に位置しています。

12.3.1.1  X9.42 Ephemeral-Static Diffie-Hellman

12.3.1.1 X9.42のはかなく静的なディフィー-ヘルマン

   Ephemeral-Static Diffie-Hellman key agreement is defined in RFC 2631
   [DH-X9.42].  When using Ephemeral-Static Diffie-Hellman, the
   EnvelopedData RecipientInfos KeyAgreeRecipientInfo and
   AuthenticatedData RecipientInfos KeyAgreeRecipientInfo fields are
   used as follows:

はかなく静的なディフィー-ヘルマン主要な協定はRFC2631[DH-X9.42]で定義されます。 Ephemeral静的なディフィー-ヘルマンを使用するとき、EnvelopedData RecipientInfos KeyAgreeRecipientInfoとAuthenticatedData RecipientInfos KeyAgreeRecipientInfo分野は以下の通り使用されます:

      version must be 3.

バージョンは3であるに違いありません。

      originator must be the originatorKey alternative.  The
      originatorKey algorithm fields must contain the dh-public-number
      object identifier with absent parameters.  The originatorKey
      publicKey field must contain the sender's ephemeral public key.
      The dh-public-number object identifier is:

創始者はoriginatorKey代替手段であるに違いありません。 originatorKeyアルゴリズム分野は欠けているパラメタがあるdhの公共の番号オブジェクト識別子を含まなければなりません。 originatorKey publicKey分野は送付者のはかない公開鍵を含まなければなりません。 dhの公共の番号オブジェクト識別子は以下の通りです。

Housley                     Standards Track                    [Page 37]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[37ページ]RFC2630

         dh-public-number OBJECT IDENTIFIER ::= { iso(1) member-body(2)
             us(840) ansi-x942(10046) number-type(2) 1 }

dhの公共の番号OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)ansi-x942(10046)No.タイプ(2)1をメンバーと同じくらい具体化させます。

      ukm may be absent.  When present, the ukm is used to ensure that a
      different key-encryption key is generated when the ephemeral
      private key might be used more than once.

ukmは欠けているかもしれません。 存在しているとき、ukmは、はかない秘密鍵が一度より使用されるかもしれないとき、異なった主要な暗号化キーが発生しているのを保証するのに使用されます。

      keyEncryptionAlgorithm must be the id-alg-ESDH algorithm
      identifier.  The algorithm identifier parameter field for id-alg-
      ESDH is KeyWrapAlgorihtm, and this parameter must be present.  The
      KeyWrapAlgorithm denotes the symmetric encryption algorithm used
      to encrypt the content-encryption key with the pairwise key-
      encryption key generated using the Ephemeral-Static Diffie-Hellman
      key agreement algorithm.  Triple-DES and RC2 key wrap algorithms
      are discussed in section 12.3.3.  The id-alg-ESDH algorithm
      identifier and parameter syntax is:

keyEncryptionAlgorithmはイド-alg-ESDHアルゴリズム識別子であるに違いありません。 イド-alg- ESDHのためのアルゴリズム識別子パラメタ分野はKeyWrapAlgorihtmです、そして、このパラメタは存在していなければなりません。 対状の主要な暗号化キーが生成されている状態で、KeyWrapAlgorithmは、Ephemeral静的なディフィー-ヘルマン主要な協定アルゴリズムを使用することで満足している暗号化キーを暗号化するのに使用される左右対称の暗号化アルゴリズムを指示します。 セクション12.3.3で三重のDESとRC2の主要な包装アルゴリズムについて議論します。 イド-alg-ESDHアルゴリズム識別子とパラメタ構文は以下の通りです。

       id-alg-ESDH OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
           rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 5 }

イド-alg-ESDHオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3)5をメンバーと同じくらい具体化させます。

       KeyWrapAlgorithm ::= AlgorithmIdentifier

KeyWrapAlgorithm:、:= AlgorithmIdentifier

      recipientEncryptedKeys contains an identifier and an encrypted key
      for each recipient.  The RecipientEncryptedKey
      KeyAgreeRecipientIdentifier must contain either the
      issuerAndSerialNumber identifying the recipient's certificate or
      the RecipientKeyIdentifier containing the subject key identifier
      from the recipient's certificate.  In both cases, the recipient's
      certificate contains the recipient's static public key.
      RecipientEncryptedKey EncryptedKey must contain the content-
      encryption key encrypted with the Ephemeral-Static Diffie-Hellman
      generated pairwise key-encryption key using the algorithm
      specified by the KeyWrapAlgortihm.

recipientEncryptedKeysは各受取人のための識別子と暗号化されたキーを含んでいます。 RecipientEncryptedKey KeyAgreeRecipientIdentifierは受取人の証明書を特定するissuerAndSerialNumberか受取人の証明書からの対象の主要な識別子を含むRecipientKeyIdentifierのどちらかを含まなければなりません。 どちらの場合も、受取人の証明書は受取人の静的な公開鍵を含んでいます。 RecipientEncryptedKey EncryptedKeyはEphemeral静的なディフィー-ヘルマンが対状主要な暗号化キーであると生成されている状態でKeyWrapAlgortihmによって指定されたアルゴリズムを使用することで暗号化された内容暗号化キーを含まなければなりません。

12.3.2  Key Transport Algorithms

12.3.2 主要な輸送アルゴリズム

   CMS implementations should include key transport using RSA.  RSA
   implementations must include key transport of Triple-DES content-
   encryption keys.  RSA implementations should include key transport of
   RC2 content-encryption keys.

CMS実装は、RSAを使用することで主要な輸送を含むべきです。 RSA実装はTriple-DESの満足している暗号化キーの主要な輸送を含まなければなりません。 RSA実装はRC2満足している暗号化キーの主要な輸送を含むべきです。

   Key transport algorithm identifiers are located in the EnvelopedData
   RecipientInfos KeyTransRecipientInfo keyEncryptionAlgorithm and
   AuthenticatedData RecipientInfos KeyTransRecipientInfo
   keyEncryptionAlgorithm fields.

主要な輸送アルゴリズム識別子はEnvelopedData RecipientInfos KeyTransRecipientInfo keyEncryptionAlgorithmとAuthenticatedData RecipientInfos KeyTransRecipientInfo keyEncryptionAlgorithm分野に位置しています。

   Key transport encrypted content-encryption keys are located in the
   EnvelopedData RecipientInfos KeyTransRecipientInfo encryptedKey

主要な輸送暗号化された満足している暗号化キーはEnvelopedData RecipientInfos KeyTransRecipientInfo encryptedKeyに位置しています。

Housley                     Standards Track                    [Page 38]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[38ページ]RFC2630

   field.  Key transport encrypted message-authentication keys are
   located in the AuthenticatedData RecipientInfos KeyTransRecipientInfo
   encryptedKey field.

さばきます。 主要な輸送暗号化された通報認証キーはAuthenticatedData RecipientInfos KeyTransRecipientInfo encryptedKey分野に位置しています。

12.3.2.1  RSA

12.3.2.1 RSA

   The RSA key transport algorithm is the RSA encryption scheme defined
   in RFC 2313 [PKCS#1], block type is 02, where the message to be
   encrypted is the content-encryption key.  The algorithm identifier
   for RSA is:

RSAの主要な輸送アルゴリズムがRFC2313[PKCS#1]で定義されたRSA暗号化体系である、ゴシック体は02歳です。(そこでは、暗号化されるべきメッセージが満足している暗号化キーです)。 RSAのためのアルゴリズム識別子は以下の通りです。

      rsaEncryption OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 1 }

rsaEncryptionオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-1(1)1をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameters field must be present, and the
   parameters field must contain NULL.

AlgorithmIdentifierパラメタ分野は存在していなければなりません、そして、パラメタ分野はNULLを含まなければなりません。

   When using a Triple-DES content-encryption key, adjust the parity
   bits for each DES key comprising the Triple-DES key prior to RSA
   encryption.

Triple-DES満足している暗号化キーを使用するときには、RSA暗号化の前に主要なTriple-DESを包括するそれぞれのDESキーのためのパリティビットを調整してください。

   The use of RSA encryption, as defined in RFC 2313 [PKCS#1], to
   provide confidentiality has a known vulnerability concerns.  The
   vulnerability is primarily relevant to usage in interactive
   applications rather than to store-and-forward environments.  Further
   information and proposed countermeasures are discussed in the
   Security Considerations section of this document.

秘密性を提供するのにおいて、RSA暗号化の使用であり、知られている脆弱性関心がRFC2313[PKCS#1]で定義されるようにあります。 脆弱性は主として店とフォワード環境にというよりむしろ対話型アプリケーションにおける用法に関連しています。 このドキュメントのSecurity Considerations部で詳細と提案された対策について議論します。

   Note that the same encryption scheme is also defined in RFC 2437
   [NEWPKCS#1].  Within RFC 2437, this scheme is called
   RSAES-PKCS1-v1_5.

また、同じ暗号化体系がRFC2437[NEWPKCS#1]で定義されることに注意してください。 RFC2437の中では、この体系はRSAES-PKCS1-v1_5と呼ばれます。

12.3.3  Symmetric Key-Encryption Key Algorithms

12.3.3 左右対称の主要な暗号化主要なアルゴリズム

   CMS implementations may include symmetric key-encryption key
   management.  Such CMS implementations must include Triple-DES key-
   encryption keys wrapping Triple-DES content-encryption keys, and such
   CMS implementations should include RC2 key-encryption keys wrapping
   RC2 content-encryption keys.  Only 128-bit RC2 keys may be used as
   key-encryption keys, and they must be used with the
   RC2ParameterVersion parameter set to 58.  A CMS implementation may
   support mixed key-encryption and content-encryption algorithms.  For
   example, a 40-bit RC2 content-encryption key may be wrapped with
   168-bit Triple-DES key-encryption key or with a 128-bit RC2 key-
   encryption key.

CMS実装は左右対称の主要な暗号化かぎ管理を含むかもしれません。 そのようなCMS実装がTriple-DESの主要な暗号化キーのラッピングTriple-DES満足している暗号化キー、およびそのようなCMSを含まなければならないので、実装はRC2満足している暗号化キーを包装するRC2主要な暗号化キーを含むべきです。 主要な暗号化キーとして128ビットのRC2キーだけを使用してもよいです、そして、RC2ParameterVersionパラメタセットと共にそれらを58まで使用しなければなりません。 CMS実装は複雑な主要な暗号化と満足している暗号化アルゴリズムをサポートするかもしれません。例えば、40ビットのRC2満足している暗号化キーは168ビットのTriple-DES主要な暗号化キーか128ビットのRC2主要な暗号化キーで包装されるかもしれません。

Housley                     Standards Track                    [Page 39]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[39ページ]RFC2630

   Key wrap algorithm identifiers are located in the EnvelopedData
   RecipientInfos KEKRecipientInfo keyEncryptionAlgorithm and
   AuthenticatedData RecipientInfos KEKRecipientInfo
   keyEncryptionAlgorithm fields.

主要な包装アルゴリズム識別子はEnvelopedData RecipientInfos KEKRecipientInfo keyEncryptionAlgorithmとAuthenticatedData RecipientInfos KEKRecipientInfo keyEncryptionAlgorithm分野に位置しています。

   Wrapped content-encryption keys are located in the EnvelopedData
   RecipientInfos KEKRecipientInfo encryptedKey field.  Wrapped
   message-authentication keys are located in the AuthenticatedData
   RecipientInfos KEKRecipientInfo encryptedKey field.

包装された満足している暗号化キーはEnvelopedData RecipientInfos KEKRecipientInfo encryptedKey分野に位置しています。 包装された通報認証キーはAuthenticatedData RecipientInfos KEKRecipientInfo encryptedKey分野に位置しています。

   The output of a key agreement algorithm is a key-encryption key, and
   this key-encryption key is used to encrypt the content-encryption
   key.  In conjunction with key agreement algorithms, CMS
   implementations must include encryption of content-encryption keys
   with the pairwise key-encryption key generated using a key agreement
   algorithm.  To support key agreement, key wrap algorithm identifiers
   are located in the KeyWrapAlgorithm parameter of the EnvelopedData
   RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithm and
   AuthenticatedData RecipientInfos KeyAgreeRecipientInfo
   keyEncryptionAlgorithm fields.  Wrapped content-encryption keys are
   located in the EnvelopedData RecipientInfos KeyAgreeRecipientInfo
   RecipientEncryptedKeys encryptedKey field, wrapped message-
   authentication keys are located in the AuthenticatedData
   RecipientInfos KeyAgreeRecipientInfo RecipientEncryptedKeys
   encryptedKey field.

主要な協定アルゴリズムの出力は主要な暗号化キーです、そして、この主要な暗号化キーは、満足している暗号化キーを暗号化するのに使用されます。 主要な協定アルゴリズムに関連して、CMS実装は、主要な協定アルゴリズムを使用することで対状主要な暗号化キーが生成されている満足している暗号化キーの暗号化を含まなければなりません。 主要な協定をサポートするために、主要な包装アルゴリズム識別子はEnvelopedData RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithmとAuthenticatedData RecipientInfos KeyAgreeRecipientInfo keyEncryptionAlgorithm分野のKeyWrapAlgorithmパラメタに位置しています。 包装された満足している暗号化キーはEnvelopedData RecipientInfos KeyAgreeRecipientInfo RecipientEncryptedKeys encryptedKey分野に位置していて、包装されたメッセージ認証キーはAuthenticatedData RecipientInfos KeyAgreeRecipientInfo RecipientEncryptedKeys encryptedKey分野に位置しています。

12.3.3.1  Triple-DES Key Wrap

12.3.3.1 三重のDESの主要な包装

   Triple-DES key encryption has the algorithm identifier:

三重のDESの主要な暗号化には、アルゴリズム識別子があります:

      id-alg-CMS3DESwrap OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 6 }

イド-alg-CMS3DESwrapオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3)6をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameter field must be NULL.

AlgorithmIdentifierパラメタ分野はNULLであるに違いありません。

   The key wrap algorithm used to encrypt a Triple-DES content-
   encryption key with a Triple-DES key-encryption key is specified in
   section 12.6.

Triple-DES主要な暗号化キーによって主要なTriple-DES満足している暗号化を暗号化するのに使用される主要な包装アルゴリズムはセクション12.6で指定されます。

   Out-of-band distribution of the Triple-DES key-encryption key used to
   encrypt the Triple-DES content-encryption key is beyond of the scope
   of this document.

バンドの外では、Triple-DES満足している暗号化キーを暗号化するのに使用されるTriple-DES主要な暗号化キーの分配は向こうのこのドキュメントの範囲のものです。

Housley                     Standards Track                    [Page 40]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[40ページ]RFC2630

12.3.3.2  RC2 Key Wrap

12.3.3.2 RC2の主要な包装

   RC2 key encryption has the algorithm identifier:

RC2の主要な暗号化には、アルゴリズム識別子があります:

      id-alg-CMSRC2wrap OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 7 }

イド-alg-CMSRC2wrapオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3)7をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameter field must be RC2wrapParameter:

AlgorithmIdentifierパラメタ分野はRC2wrapParameterであるに違いありません:

      RC2wrapParameter ::= RC2ParameterVersion

RC2wrapParameter:、:= RC2ParameterVersion

      RC2ParameterVersion ::= INTEGER

RC2ParameterVersion:、:= 整数

   The RC2 effective-key-bits (key size) greater than 32 and less than
   256 is encoded in the RC2ParameterVersion.  For the effective-key-
   bits of 40, 64, and 128, the rc2ParameterVersion values are 160, 120,
   and 58 respectively.  These values are not simply the RC2 key length.
   Note that the value 160 must be encoded as two octets (00 A0),
   because the one octet (A0) encoding represents a negative number.

32以上の(主要なサイズ)と256RC2有効なキービットはRC2ParameterVersionでコード化されます。 rc2ParameterVersion値は、それぞれ40、64、および128の有効に主要なビット単位で、160と、120と、58です。 これらの値は単にRC2キー長ではありません。 2つの八重奏(00A0)として値160をコード化しなければならないことに注意してください、1つの八重奏(A0)のコード化が負数を表すので。

   Only 128-bit RC2 keys may be used as key-encryption keys, and they
   must be used with the RC2ParameterVersion parameter set to 58.

主要な暗号化キーとして128ビットのRC2キーだけを使用してもよいです、そして、RC2ParameterVersionパラメタセットと共にそれらを58まで使用しなければなりません。

   The key wrap algorithm used to encrypt a RC2 content-encryption key
   with a RC2 key-encryption key is specified in section 12.6.

RC2主要な暗号化キーによって主要なRC2満足している暗号化を暗号化するのに使用される主要な包装アルゴリズムはセクション12.6で指定されます。

   Out-of-band distribution of the RC2 key-encryption key used to
   encrypt the RC2 content-encryption key is beyond of the scope of this
   document.

バンドの外では、RC2満足している暗号化キーを暗号化するのに使用されるRC2主要な暗号化キーの分配は向こうのこのドキュメントの範囲のものです。

12.4  Content Encryption Algorithms

12.4 満足している暗号化アルゴリズム

   CMS implementations must include Triple-DES in CBC mode.  CMS
   implementations should include RC2 in CBC mode.

CMS実装はCBCモードにTriple-DESを含まなければなりません。 CMS実装はCBCモードにRC2を含むべきです。

   Content encryption algorithms identifiers are located in the
   EnvelopedData EncryptedContentInfo contentEncryptionAlgorithm and the
   EncryptedData EncryptedContentInfo contentEncryptionAlgorithm fields.

満足している暗号化アルゴリズム識別子はEnvelopedData EncryptedContentInfo contentEncryptionAlgorithmとEncryptedData EncryptedContentInfo contentEncryptionAlgorithm分野に位置しています。

   Content encryption algorithms are used to encipher the content
   located in the EnvelopedData EncryptedContentInfo encryptedContent
   field and the EncryptedData EncryptedContentInfo encryptedContent
   field.

満足している暗号化アルゴリズムは、EnvelopedData EncryptedContentInfo encryptedContent分野とEncryptedData EncryptedContentInfo encryptedContent分野に位置する内容を暗号化するのに使用されます。

Housley                     Standards Track                    [Page 41]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[41ページ]RFC2630

12.4.1  Triple-DES CBC

12.4.1 三重のDES CBC

   The Triple-DES algorithm is described in ANSI X9.52 [3DES].  The
   Triple-DES is composed from three sequential DES [DES] operations:
   encrypt, decrypt, and encrypt.  Three-Key Triple-DES uses a different
   key for each DES operation.  Two-Key Triple-DES uses one key for the
   two encrypt operations and different key for the decrypt operation.
   The same algorithm identifiers are used for Three-Key Triple-DES and
   Two-Key Triple-DES.  The algorithm identifier for Triple-DES in
   Cipher Block Chaining (CBC) mode is:

Triple-DESアルゴリズムはANSI X9.52[3DES]で説明されます。 Triple-DESは3連続したDES[DES]の操作から構成されます: 暗号化して、解読して、暗号化します。 3主要なTriple-DESはそれぞれのDES操作に異なったキーを使用します。 2のためのあるキーが操作と異なったキーを暗号化する2主要なTriple-DES用途、操作を解読してください。 同じアルゴリズム識別子はThree主要なTriple-DESとTwo主要なTriple-DESに使用されます。 Cipher Block Chaining(CBC)モードによるTriple-DESのためのアルゴリズム識別子は以下の通りです。

      des-ede3-cbc OBJECT IDENTIFIER ::= { iso(1) member-body(2)
          us(840) rsadsi(113549) encryptionAlgorithm(3) 7 }

des-ede3-cbc OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) encryptionAlgorithm(3)7をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameters field must be present, and the
   parameters field must contain a CBCParameter:

AlgorithmIdentifierパラメタ分野は存在していなければなりません、そして、パラメタ分野はCBCParameterを含まなければなりません:

      CBCParameter ::= IV

CBCParameter:、:= IV

      IV ::= OCTET STRING  -- exactly 8 octets

IV:、:= OCTET STRING--まさに8つの八重奏

12.4.2  RC2 CBC

12.4.2 RC2 CBC

   The RC2 algorithm is described in RFC 2268 [RC2].  The algorithm
   identifier for RC2 in CBC mode is:

RC2アルゴリズムはRFC2268[RC2]で説明されます。 CBCモードによるRC2のためのアルゴリズム識別子は以下の通りです。

      rc2-cbc OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
          rsadsi(113549) encryptionAlgorithm(3) 2 }

rc2-cbc OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) encryptionAlgorithm(3)2をメンバーと同じくらい具体化させます。

   The AlgorithmIdentifier parameters field must be present, and the
   parameters field must contain a RC2CBCParameter:

AlgorithmIdentifierパラメタ分野は存在していなければなりません、そして、パラメタ分野はRC2CBCParameterを含まなければなりません:

      RC2CBCParameter ::= SEQUENCE {
        rc2ParameterVersion INTEGER,
        iv OCTET STRING  }  -- exactly 8 octets

RC2CBCParameter:、:= SEQUENCE、rc2ParameterVersion INTEGER、iv OCTET STRING--、まさに8つの八重奏

   The RC2 effective-key-bits (key size) greater than 32 and less than
   256 is encoded in the rc2ParameterVersion.  For the effective-key-
   bits of 40, 64, and 128, the rc2ParameterVersion values are 160, 120,
   and 58 respectively.  These values are not simply the RC2 key length.
   Note that the value 160 must be encoded as two octets (00 A0), since
   the one octet (A0) encoding represents a negative number.

32以上の(主要なサイズ)と256RC2有効なキービットはrc2ParameterVersionでコード化されます。 rc2ParameterVersion値は、それぞれ40、64、および128の有効に主要なビット単位で、160と、120と、58です。 これらの値は単にRC2キー長ではありません。 2つの八重奏(00A0)として値160をコード化しなければならないことに注意してください、1つの八重奏(A0)のコード化が負数を表すので。

12.5  Message Authentication Code Algorithms

12.5 メッセージ立証コードアルゴリズム

   CMS implementations that support authenticatedData must include HMAC
   with SHA-1.

authenticatedDataをサポートするCMS実装はSHA-1とHMACを含まなければなりません。

Housley                     Standards Track                    [Page 42]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[42ページ]RFC2630

   MAC algorithm identifiers are located in the AuthenticatedData
   macAlgorithm field.

MACアルゴリズム識別子はAuthenticatedData macAlgorithm分野に位置しています。

   MAC values are located in the AuthenticatedData mac field.

MAC値はAuthenticatedData mac分野に位置しています。

12.5.1  HMAC with SHA-1

12.5.1 SHA-1とHMAC

   The HMAC with SHA-1 algorithm is described in RFC 2104 [HMAC].  The
   algorithm identifier for HMAC with SHA-1 is:

SHA-1アルゴリズムがあるHMACはRFC2104[HMAC]で説明されます。 SHA-1とHMACのためのアルゴリズム識別子は以下の通りです。

      hMAC-SHA1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
          dod(6) internet(1) security(5) mechanisms(5) 8 1 2 }

hMAC-SHA1オブジェクト識別子:、:= iso(1)、組織(3)dod(6)インターネット(1)セキュリティが特定された(5)メカニズム(5)8 1 2

   The AlgorithmIdentifier parameters field must be absent.

AlgorithmIdentifierパラメタ分野は欠けているに違いありません。

12.6  Triple-DES and RC2 Key Wrap Algorithms

12.6 三重のDESとRC2の主要な包装アルゴリズム

   CMS implementations must include encryption of a Triple-DES content-
   encryption key with a Triple-DES key-encryption key using the
   algorithm specified in Sections 12.6.2 and 12.6.3.  CMS
   implementations should include encryption of a RC2 content-encryption
   key with a RC2 key-encryption key using the algorithm specified in
   Sections 12.6.4 and 12.6.5.  Triple-DES and RC2 content-encryption
   keys are encrypted in Cipher Block Chaining (CBC) mode [MODES].

CMS実装は主要なセクション12.6.2と12.6で.3に指定されたアルゴリズムを使用しているTriple-DES主要な暗号化キーでTriple-DES満足している暗号化の暗号化を含まなければなりません。 CMS実装は主要なセクション12.6.4と12.6で指定されたアルゴリズムを使用しているRC2主要な暗号化キーでRC2満足している暗号化.5の暗号化を含むべきです。 Cipher Block Chaining(CBC)モード[MODES]で三重のDESとRC2満足している暗号化キーは暗号化されます。

   Key Transport algorithms allow for the content-encryption key to be
   directly encrypted; however, key agreement and symmetric key-
   encryption key algorithms encrypt the content-encryption key with a
   second symmetric encryption algorithm.  This section describes how
   the Triple-DES or RC2 content-encryption key is formatted and
   encrypted.

主要なTransportアルゴリズムは、満足している暗号化キーが直接暗号化されるのを許容します。 しかしながら、主要な協定と左右対称の主要な暗号化主要なアルゴリズムは2番目の左右対称の暗号化アルゴリズムで主要な満足している暗号化を暗号化します。 このセクションはTriple-DESかRC2満足している暗号化キーがどうフォーマットされて、暗号化されるかを説明します。

   Key agreement algorithms generate a pairwise key-encryption key, and
   a key wrap algorithm is used to encrypt the content-encryption key
   with the pairwise key-encryption key.  Similarly, a key wrap
   algorithm is used to encrypt the content-encryption key in a
   previously distributed key-encryption key.

主要な協定アルゴリズムは対状主要な暗号化キーを生成します、そして、主要な包装アルゴリズムは、対状主要な暗号化キーによって主要な満足している暗号化を暗号化するのに使用されます。 同様に、主要な包装アルゴリズムは、以前に分配された主要な暗号化キーで主要な満足している暗号化を暗号化するのに使用されます。

   The key-encryption key is generated by the key agreement algorithm or
   distributed out of band.  For key agreement of RC2 key-encryption
   keys, 128 bits must be generated as input to the key expansion
   process used to compute the RC2 effective key [RC2].

主要な暗号化キーは、主要な協定アルゴリズムで生成されるか、またはバンドから分配されます。 RC2主要な暗号化キーの主要な協定において、RC2の有効なキー[RC2]を計算するのに使用される主要な拡張プロセスに入力されるように128ビットを生成しなければなりません。

   The same algorithm identifier is used for both 2-key and 3-key
   Triple-DES.  When the length of the content-encryption key to be
   wrapped is a 2-key Triple-DES key, a third key with the same value as
   the first key is created.  Thus, all Triple-DES content-encryption
   keys are wrapped like 3-key Triple-DES keys.

同じアルゴリズム識別子は2主要なものと同様に3主要なTriple-DESに使用されます。 包装されるべき満足している暗号化キーの長さが2主要なTriple-DESキーであるときに、最初のキーと同じ値がある3番目のキーは作成されます。 したがって、すべてのTriple-DES満足している暗号化キーが3主要なTriple-DESキーのように包装されます。

Housley                     Standards Track                    [Page 43]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[43ページ]RFC2630

12.6.1  Key Checksum

12.6.1 主要なチェックサム

   The CMS Checksum Algorithm is used to provide a content-encryption
   key integrity check value.  The algorithm is:

CMS Checksum Algorithmは、満足している暗号化の主要な保全チェック価値を提供するのに使用されます。 アルゴリズムは以下の通りです。

   1.  Compute a 20 octet SHA-1 [SHA1] message digest on the
       content-encryption key.
   2.  Use the most significant (first) eight octets of the message
       digest value as the checksum value.

1. 満足している暗号化キーの上に20八重奏SHA-1[SHA1]メッセージダイジェストを計算してください。 2. チェックサム値としてメッセージダイジェスト価値の最も重要な(最初に)8つの八重奏を使用してください。

12.6.2  Triple-DES Key Wrap

12.6.2 三重のDESの主要な包装

   The Triple-DES key wrap algorithm encrypts a Triple-DES content-
   encryption key with a Triple-DES key-encryption key.  The Triple-DES
   key wrap algorithm is:

Triple-DESの主要な包装アルゴリズムはTriple-DES主要な暗号化キーによって主要なTriple-DES満足している暗号化を暗号化します。 Triple-DESの主要な包装アルゴリズムは以下の通りです。

   1.  Set odd parity for each of the DES key octets comprising
       the content-encryption key, call the result CEK.
   2.  Compute an 8 octet key checksum value on CEK as described above
       in Section 12.6.1, call the result ICV.
   3.  Let CEKICV = CEK || ICV.
   4.  Generate 8 octets at random, call the result IV.
   5.  Encrypt CEKICV in CBC mode using the key-encryption key.  Use
       the random value generated in the previous step as the
       initialization vector (IV).  Call the ciphertext TEMP1.
   6.  Let TEMP2 = IV || TEMP1.
   7.  Reverse the order of the octets in TEMP2.  That is, the most
       significant (first) octet is swapped with the least significant
       (last) octet, and so on.  Call the result TEMP3.
   8.  Encrypt TEMP3 in CBC mode using the key-encryption key.  Use
       an initialization vector (IV) of 0x4adda22c79e82105.
       The ciphertext is 40 octets long.

1. 満足している暗号化キーを包括するそれぞれのDESの主要な八重奏に奇数パリティを設定してください、そして、CEKに結果に電話をしてください。 2. 上でセクション12.6.1で説明されるようにCEKで8の八重奏の主要なチェックサム価値を計算してください、そして、ICVに結果に電話をしてください。 3. CEKICVにCEKと等しくしいさせてください。|| ICV。 4. 無作為に8つの八重奏を生成してください、そして、結果IVに電話をしてください。 5. 主要な暗号化キーを使用して、CBCモードでCEKICVを暗号化してください。 初期化ベクトル(IV)として前のステップで生成された無作為の値を使用してください。 TEMP1に暗号文に電話をしてください。 6. TEMP2にIVと等しくしいさせてください。|| TEMP1。 7. TEMP2での八重奏の注文を逆にしてください。 すなわち、最も重要な(最初に)八重奏は最も重要でない(最後)八重奏などで交換されます。 TEMP3に結果に電話をしてください。 8. 主要な暗号化キーを使用して、CBCモードでTEMP3を暗号化してください。 0x4adda22c79e82105の初期化ベクトル(IV)を使用してください。 長い間、暗号文は40の八重奏です。

   Note:  When the same content-encryption key is wrapped in different
   key-encryption keys, a fresh initialization vector (IV) must be
   generated for each invocation of the key wrap algorithm.

以下に注意してください。 同じ満足している暗号化キーが異なった主要な暗号化キーで包装されるとき、主要な包装アルゴリズムの各実施のために、新鮮な初期化ベクトル(IV)を生成しなければなりません。

12.6.3  Triple-DES Key Unwrap

12.6.3 三重のDESキーは開けられます。

   The Triple-DES key unwrap algorithm decrypts a Triple-DES content-
   encryption key using a Triple-DES key-encryption key.  The Triple-DES
   key unwrap algorithm is:

Triple-DESキーはアルゴリズムを開けます。Triple-DES内容が暗号化キーであるとTriple-DES主要な暗号化キーを使用することで解読します。 Triple-DESキーは開けられます。アルゴリズムは以下の通りです。

   1.  If the wrapped content-encryption key is not 40 octets, then
       error.
   2.  Decrypt the wrapped content-encryption key in CBC mode using
       the key-encryption key.  Use an initialization vector (IV)
       of 0x4adda22c79e82105.  Call the output TEMP3.

1. 包装された満足している暗号化キーが40の八重奏でないなら、そして、誤りです。 2. 主要な暗号化キーを使用して、CBCモードで主要な包装された満足している暗号化を解読してください。 0x4adda22c79e82105の初期化ベクトル(IV)を使用してください。 TEMP3に出力に電話をしてください。

Housley                     Standards Track                    [Page 44]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[44ページ]RFC2630

   3.  Reverse the order of the octets in TEMP3.  That is, the most
       significant (first) octet is swapped with the least significant
       (last) octet, and so on.  Call the result TEMP2.
   4.  Decompose the TEMP2 into IV and TEMP1.  IV is the most
       significant (first) 8 octets, and TEMP1 is the least significant
       (last) 32 octets.
   5.  Decrypt TEMP1 in CBC mode using the key-encryption key.  Use
       the IV value from the previous step as the initialization vector.
       Call the ciphertext CEKICV.
   6.  Decompose the CEKICV into CEK and ICV. CEK is the most significant
       (first) 24 octets, and ICV is the least significant (last) 8 octets.
   7.  Compute an 8 octet key checksum value on CEK as described above
       in Section 12.6.1.  If the computed key checksum value does not
       match the decrypted key checksum value, ICV, then error.
   8.  Check for odd parity each of the DES key octets comprising CEK.
       If parity is incorrect, then there is an error.
   9.  Use CEK as the content-encryption key.

3. TEMP3での八重奏の注文を逆にしてください。 すなわち、最も重要な(最初に)八重奏は最も重要でない(最後)八重奏などで交換されます。 TEMP2に結果に電話をしてください。 4. IVとTEMP1にTEMP2を分解してください。 IVは最も重要な(最初に)8つの八重奏です、そして、TEMP1は最も重要でない(最後)32の八重奏です。 5. 主要な暗号化キーを使用して、CBCモードでTEMP1を解読してください。 初期化ベクトルとして前のステップからIV値を使用してください。 CEKICVに暗号文に電話をしてください。 6. CEKとICVにCEKICVを分解してください。 CEKは最も重要な(最初に)24の八重奏です、そして、ICVは最も重要でない(最後)8つの八重奏です。 7. 上でセクション12.6.1で説明されるようにCEKで8の八重奏の主要なチェックサム価値を計算してください。 計算された主要なチェックサム値が解読された主要なチェックサム値、ICVに合っていないなら、そして、誤りです。 8. 奇数パリティがないかどうかCEKを包括するそれぞれのDESの主要な八重奏をチェックしてください。 同等が不正確であるなら、誤りがあります。 9. 満足している暗号化キーとしてCEKを使用してください。

12.6.4  RC2 Key Wrap

12.6.4 RC2の主要な包装

   The RC2 key wrap algorithm encrypts a RC2 content-encryption key with
   a RC2 key-encryption key.  The RC2 key wrap algorithm is:

RC2の主要な包装アルゴリズムはRC2主要な暗号化キーによって主要なRC2満足している暗号化を暗号化します。 RC2の主要な包装アルゴリズムは以下の通りです。

   1.  Let the content-encryption key be called CEK, and let the length
       of the content-encryption key in octets be called LENGTH.  LENGTH
       is a single octet.
   2.  Let LCEK = LENGTH || CEK.
   3.  Let LCEKPAD = LCEK || PAD.  If the length of LCEK is a multiple
       of 8, the PAD has a length of zero.  If the length of LCEK is
       not a multiple of 8, then PAD contains the fewest number of
       random octets to make the length of LCEKPAD a multiple of 8.
   4.  Compute an 8 octet key checksum value on LCEKPAD as described
       above in Section 12.6.1, call the result ICV.
   5.  Let LCEKPADICV = LCEKPAD || ICV.
   6.  Generate 8 octets at random, call the result IV.
   7.  Encrypt LCEKPADICV in CBC mode using the key-encryption key.
       Use the random value generated in the previous step as the
       initialization vector (IV).  Call the ciphertext TEMP1.
   8.  Let TEMP2 = IV || TEMP1.
   9.  Reverse the order of the octets in TEMP2.  That is, the most
       significant (first) octet is swapped with the least significant
       (last) octet, and so on.  Call the result TEMP3.
   10. Encrypt TEMP3 in CBC mode using the key-encryption key.  Use
       an initialization vector (IV) of 0x4adda22c79e82105.

1. 満足している暗号化キーをCEKと呼ばせてください、そして、八重奏で主要な満足している暗号化の長さをLENGTHと呼ばせてください。 LENGTHはただ一つの八重奏です。 2. LCEKに長さと等しくしいさせてください。|| CEK。 3. LCEKPADにLCEKと等しくしいさせてください。|| そっと歩いてください。 LCEKの長さが8の倍数であるなら、PADには、ゼロの長さがあります。 LCEKの長さが8の倍数でないなら、PADはLCEKPADの長さを8の倍数にする最も数数の無作為の八重奏を含んでいます。 4. 上でセクション12.6.1で説明されるようにLCEKPADで8の八重奏の主要なチェックサム価値を計算してください、そして、ICVに結果に電話をしてください。 5. LCEKPADICVにLCEKPADと等しくしいさせてください。|| ICV。 6. 無作為に8つの八重奏を生成してください、そして、結果IVに電話をしてください。 7. 主要な暗号化キーを使用して、CBCモードでLCEKPADICVを暗号化してください。 初期化ベクトル(IV)として前のステップで生成された無作為の値を使用してください。 TEMP1に暗号文に電話をしてください。 8. TEMP2にIVと等しくしいさせてください。|| TEMP1。 9. TEMP2での八重奏の注文を逆にしてください。 すなわち、最も重要な(最初に)八重奏は最も重要でない(最後)八重奏などで交換されます。 TEMP3に結果に電話をしてください。 10. 主要な暗号化キーを使用して、CBCモードでTEMP3を暗号化してください。 0x4adda22c79e82105の初期化ベクトル(IV)を使用してください。

   Note:  When the same content-encryption key is wrapped in different
   key-encryption keys, a fresh initialization vector (IV) must be
   generated for each invocation of the key wrap algorithm.

以下に注意してください。 同じ満足している暗号化キーが異なった主要な暗号化キーで包装されるとき、主要な包装アルゴリズムの各実施のために、新鮮な初期化ベクトル(IV)を生成しなければなりません。

Housley                     Standards Track                    [Page 45]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[45ページ]RFC2630

12.6.5  RC2 Key Unwrap

12.6.5 RC2キーは開けられます。

   The RC2 key unwrap algorithm decrypts a RC2 content-encryption key
   using a RC2 key-encryption key.  The RC2 key unwrap algorithm is:

RC2キーはアルゴリズムを開けます。RC2主要な暗号化キーを使用することでRC2内容暗号化キーを解読します。 RC2キーは開けられます。アルゴリズムは以下の通りです。

   1.  If the wrapped content-encryption key is not a multiple of 8
       octets, then error.
   2.  Decrypt the wrapped content-encryption key in CBC mode using
       the key-encryption key.  Use an initialization vector (IV)
       of 0x4adda22c79e82105.  Call the output TEMP3.
   3.  Reverse the order of the octets in TEMP3.  That is, the most
       significant (first) octet is swapped with the least significant
       (last) octet, and so on.  Call the result TEMP2.
   4.  Decompose the TEMP2 into IV and TEMP1.  IV is the most
       significant (first) 8 octets, and TEMP1 is the remaining octets.

1. 包装された満足している暗号化キーが8つの八重奏の倍数でないなら、そして、誤りです。 2. 主要な暗号化キーを使用して、CBCモードで主要な包装された満足している暗号化を解読してください。 0x4adda22c79e82105の初期化ベクトル(IV)を使用してください。 TEMP3に出力に電話をしてください。 3. TEMP3での八重奏の注文を逆にしてください。 すなわち、最も重要な(最初に)八重奏は最も重要でない(最後)八重奏などで交換されます。 TEMP2に結果に電話をしてください。 4. IVとTEMP1にTEMP2を分解してください。 IVは最も重要な(最初に)8つの八重奏です、そして、TEMP1は残っている八重奏です。

   5.  Decrypt TEMP1 in CBC mode using the key-encryption key.  Use
       the IV value from the previous step as the initialization vector.
       Call the plaintext LCEKPADICV.
   6.  Decompose the LCEKPADICV into LCEKPAD, and ICV.  ICV is the
       least significant (last) octet 8 octets.  LCEKPAD is the
       remaining octets.
   7.  Compute an 8 octet key checksum value on LCEKPAD as described
       above in Section 12.6.1.  If the computed key checksum value
       does not match the decrypted key checksum value, ICV, then error.
   8.  Decompose the LCEKPAD into LENGTH, CEK, and PAD.  LENGTH is the
       most significant (first) octet.  CEK is the following LENGTH
       octets.  PAD is the remaining octets, if any.
   9.  If the length of PAD is more than 7 octets, then error.
   10. Use CEK as the content-encryption key.

5. 主要な暗号化キーを使用して、CBCモードでTEMP1を解読してください。 初期化ベクトルとして前のステップからIV値を使用してください。 LCEKPADICVに平文に電話をしてください。 6. LCEKPAD、およびICVにLCEKPADICVを分解してください。 ICVは最も重要でない(最後)八重奏8八重奏です。 LCEKPADは残っている八重奏です。 7. 上でセクション12.6.1で説明されるようにLCEKPADで8の八重奏の主要なチェックサム価値を計算してください。 計算された主要なチェックサム値が解読された主要なチェックサム値、ICVに合っていないなら、そして、誤りです。 8. 長さ、CEK、およびパッドにLCEKPADを分解してください。 LENGTHは最も重要な(最初に)八重奏です。 CEKは以下のLENGTH八重奏です。 PADはもしあれば残っている八重奏です。 9. PADの長さが7つ以上の八重奏であるなら、そして、誤りです。 10. 満足している暗号化キーとしてCEKを使用してください。

Housley                     Standards Track                    [Page 46]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[46ページ]RFC2630

Appendix A:  ASN.1 Module

付録A: ASN.1モジュール

CryptographicMessageSyntax
    { iso(1) member-body(2) us(840) rsadsi(113549)
      pkcs(1) pkcs-9(9) smime(16) modules(0) cms(1) }

CryptographicMessageSyntaxiso(1)が(2) 私たちをメンバーと同じくらい具体化させる、(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)モジュール(0)cm(1)

DEFINITIONS IMPLICIT TAGS ::=
BEGIN

定義、内在しているタグ:、:= 始まってください。

-- EXPORTS All
-- The types and values defined in this module are exported for use in
-- the other ASN.1 modules.  Other applications may use them for their
-- own purposes.

-- EXPORTS All--このモジュールで定義されたタイプと値は使用のために中でエクスポートされます--他のASN.1モジュール。 他のアプリケーションがそれらを使用するかもしれない、それら、--目的を所有してください。

IMPORTS

輸入

  -- Directory Information Framework (X.501)
        Name
           FROM InformationFramework { joint-iso-itu-t ds(5) modules(1)
                informationFramework(1) 3 }

-- InformationFrameworkからのディレクトリ情報フレームワーク(X.501)名共同iso-itu t ds(5)モジュール(1)informationFramework(1)3

  -- Directory Authentication Framework (X.509)
        AlgorithmIdentifier, AttributeCertificate, Certificate,
        CertificateList, CertificateSerialNumber
           FROM AuthenticationFramework { joint-iso-itu-t ds(5)
                module(1) authenticationFramework(7) 3 } ;

-- ディレクトリAuthentication Framework(X.509)AlgorithmIdentifier、AttributeCertificate、Certificate、CertificateList、CertificateSerialNumber FROM AuthenticationFramework共同iso-itu t ds(5)モジュール(1)authenticationFramework(7)3。

-- Cryptographic Message Syntax

-- 暗号のメッセージ構文

ContentInfo ::= SEQUENCE {
  contentType ContentType,
  content [0] EXPLICIT ANY DEFINED BY contentType }

ContentInfo:、:= 系列contentType ContentType、内容[0]EXPLICIT ANY DEFINED BY contentType

ContentType ::= OBJECT IDENTIFIER

ContentType:、:= オブジェクト識別子

SignedData ::= SEQUENCE {
  version CMSVersion,
  digestAlgorithms DigestAlgorithmIdentifiers,
  encapContentInfo EncapsulatedContentInfo,
  certificates [0] IMPLICIT CertificateSet OPTIONAL,
  crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
  signerInfos SignerInfos }

SignedData:、:= 系列バージョンCMSVersion、digestAlgorithms DigestAlgorithmIdentifiers、encapContentInfo EncapsulatedContentInfo、証明書[0]IMPLICIT CertificateSet OPTIONAL、crls[1]IMPLICIT CertificateRevocationLists OPTIONAL signerInfos SignerInfos

DigestAlgorithmIdentifiers ::= SET OF DigestAlgorithmIdentifier

DigestAlgorithmIdentifiers:、:= DigestAlgorithmIdentifierのセット

SignerInfos ::= SET OF SignerInfo

SignerInfos:、:= SignerInfoのセット

Housley                     Standards Track                    [Page 47]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[47ページ]RFC2630

EncapsulatedContentInfo ::= SEQUENCE {
  eContentType ContentType,
  eContent [0] EXPLICIT OCTET STRING OPTIONAL }

EncapsulatedContentInfo:、:= 系列eContentType ContentTypeで、eContentの[0]の明白な八重奏ストリング任意です。

SignerInfo ::= SEQUENCE {
  version CMSVersion,
  sid SignerIdentifier,
  digestAlgorithm DigestAlgorithmIdentifier,
  signedAttrs [0] IMPLICIT SignedAttributes OPTIONAL,
  signatureAlgorithm SignatureAlgorithmIdentifier,
  signature SignatureValue,
  unsignedAttrs [1] IMPLICIT UnsignedAttributes OPTIONAL }

SignerInfo:、:= 系列バージョンCMSVersion、sid SignerIdentifier、digestAlgorithm DigestAlgorithmIdentifier、signedAttrs[0] IMPLICIT SignedAttributes OPTIONAL、signatureAlgorithm SignatureAlgorithmIdentifier、署名SignatureValue、unsignedAttrs[1]IMPLICIT UnsignedAttributes OPTIONAL

SignerIdentifier ::= CHOICE {
  issuerAndSerialNumber IssuerAndSerialNumber,
  subjectKeyIdentifier [0] SubjectKeyIdentifier }

SignerIdentifier:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、subjectKeyIdentifier[0]SubjectKeyIdentifier

SignedAttributes ::= SET SIZE (1..MAX) OF Attribute

SignedAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

UnsignedAttributes ::= SET SIZE (1..MAX) OF Attribute

UnsignedAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

Attribute ::= SEQUENCE {
  attrType OBJECT IDENTIFIER,
  attrValues SET OF AttributeValue }

以下を結果と考えてください:= 系列attrTypeオブジェクト識別子、AttributeValueのattrValuesセット

AttributeValue ::= ANY

AttributeValue:、:= 少しも

SignatureValue ::= OCTET STRING

SignatureValue:、:= 八重奏ストリング

EnvelopedData ::= SEQUENCE {
  version CMSVersion,
  originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
  recipientInfos RecipientInfos,
  encryptedContentInfo EncryptedContentInfo,
  unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }

EnvelopedData:、:= 系列バージョンCMSVersion、originatorInfo[0]IMPLICIT OriginatorInfo OPTIONAL、recipientInfos RecipientInfos encryptedContentInfo EncryptedContentInfo、unprotectedAttrs[1]IMPLICIT UnprotectedAttributes OPTIONAL

OriginatorInfo ::= SEQUENCE {
  certs [0] IMPLICIT CertificateSet OPTIONAL,
  crls [1] IMPLICIT CertificateRevocationLists OPTIONAL }

OriginatorInfo:、:= 系列本命[0]IMPLICIT CertificateSet OPTIONAL、crls[1]IMPLICIT CertificateRevocationLists OPTIONAL

RecipientInfos ::= SET OF RecipientInfo

RecipientInfos:、:= RecipientInfoのセット

EncryptedContentInfo ::= SEQUENCE {
  contentType ContentType,
  contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,
  encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL }

EncryptedContentInfo:、:= 系列contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifierの、そして、[0]の内在しているencryptedContent EncryptedContent任意のcontentType ContentType

EncryptedContent ::= OCTET STRING

EncryptedContent:、:= 八重奏ストリング

Housley                     Standards Track                    [Page 48]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[48ページ]RFC2630

UnprotectedAttributes ::= SET SIZE (1..MAX) OF Attribute

UnprotectedAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

RecipientInfo ::= CHOICE {
  ktri KeyTransRecipientInfo,
  kari [1] KeyAgreeRecipientInfo,
  kekri [2] KEKRecipientInfo }

RecipientInfo:、:= 選択ktri KeyTransRecipientInfo、kari[1]KeyAgreeRecipientInfo、kekri[2]KEKRecipientInfo

EncryptedKey ::= OCTET STRING

EncryptedKey:、:= 八重奏ストリング

KeyTransRecipientInfo ::= SEQUENCE {
  version CMSVersion,  -- always set to 0 or 2
  rid RecipientIdentifier,
  keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
  encryptedKey EncryptedKey }

KeyTransRecipientInfo:、:= 系列バージョンCMSVersion--いつも排除しているRecipientIdentifier、keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier、encryptedKey EncryptedKeyを0か2に設定してください。

RecipientIdentifier ::= CHOICE {
  issuerAndSerialNumber IssuerAndSerialNumber,
  subjectKeyIdentifier [0] SubjectKeyIdentifier }

RecipientIdentifier:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、subjectKeyIdentifier[0]SubjectKeyIdentifier

KeyAgreeRecipientInfo ::= SEQUENCE {
  version CMSVersion,  -- always set to 3
  originator [0] EXPLICIT OriginatorIdentifierOrKey,
  ukm [1] EXPLICIT UserKeyingMaterial OPTIONAL,
  keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
  recipientEncryptedKeys RecipientEncryptedKeys }

KeyAgreeRecipientInfo:、:= 系列バージョンCMSVersion--いつも3創始者[0]EXPLICIT OriginatorIdentifierOrKey、ukm[1]EXPLICIT UserKeyingMaterial OPTIONAL、keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier、recipientEncryptedKeys RecipientEncryptedKeysにセットします。

OriginatorIdentifierOrKey ::= CHOICE {
  issuerAndSerialNumber IssuerAndSerialNumber,
  subjectKeyIdentifier [0] SubjectKeyIdentifier,
  originatorKey [1] OriginatorPublicKey }

OriginatorIdentifierOrKey:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、subjectKeyIdentifier[0]SubjectKeyIdentifier、originatorKey[1]OriginatorPublicKey

OriginatorPublicKey ::= SEQUENCE {
  algorithm AlgorithmIdentifier,
  publicKey BIT STRING }

OriginatorPublicKey:、:= 系列アルゴリズムAlgorithmIdentifier、publicKey BIT STRING

RecipientEncryptedKeys ::= SEQUENCE OF RecipientEncryptedKey

RecipientEncryptedKeys:、:= RecipientEncryptedKeyの系列

RecipientEncryptedKey ::= SEQUENCE {
  rid KeyAgreeRecipientIdentifier,
  encryptedKey EncryptedKey }

RecipientEncryptedKey:、:= 系列排除しているKeyAgreeRecipientIdentifier、encryptedKey EncryptedKey

KeyAgreeRecipientIdentifier ::= CHOICE {
  issuerAndSerialNumber IssuerAndSerialNumber,
  rKeyId [0] IMPLICIT RecipientKeyIdentifier }

KeyAgreeRecipientIdentifier:、:= 選択issuerAndSerialNumber IssuerAndSerialNumber、rKeyId[0]の内在しているRecipientKeyIdentifier

Housley                     Standards Track                    [Page 49]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[49ページ]RFC2630

RecipientKeyIdentifier ::= SEQUENCE {
  subjectKeyIdentifier SubjectKeyIdentifier,
  date GeneralizedTime OPTIONAL,
  other OtherKeyAttribute OPTIONAL }

RecipientKeyIdentifier:、:= 系列subjectKeyIdentifier SubjectKeyIdentifier、日付GeneralizedTime OPTIONAL、他のOtherKeyAttribute OPTIONAL

SubjectKeyIdentifier ::= OCTET STRING

SubjectKeyIdentifier:、:= 八重奏ストリング

KEKRecipientInfo ::= SEQUENCE {
  version CMSVersion,  -- always set to 4
  kekid KEKIdentifier,
  keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,
  encryptedKey EncryptedKey }

KEKRecipientInfo:、:= 系列バージョンCMSVersion--いつも4kekid KEKIdentifier、keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier、encryptedKey EncryptedKeyにセットしてください。

KEKIdentifier ::= SEQUENCE {
  keyIdentifier OCTET STRING,
  date GeneralizedTime OPTIONAL,
  other OtherKeyAttribute OPTIONAL }

KEKIdentifier:、:= 系列keyIdentifier OCTET STRING、日付GeneralizedTime OPTIONAL、他のOtherKeyAttribute OPTIONAL

DigestedData ::= SEQUENCE {
  version CMSVersion,
  digestAlgorithm DigestAlgorithmIdentifier,
  encapContentInfo EncapsulatedContentInfo,
  digest Digest }

DigestedData:、:= 系列バージョンCMSVersion(digestAlgorithm DigestAlgorithmIdentifier、encapContentInfo EncapsulatedContentInfo)はDigestを読みこなします。

Digest ::= OCTET STRING

以下を読みこなしてください:= 八重奏ストリング

EncryptedData ::= SEQUENCE {
  version CMSVersion,
  encryptedContentInfo EncryptedContentInfo,
  unprotectedAttrs [1] IMPLICIT UnprotectedAttributes OPTIONAL }

EncryptedData:、:= 系列バージョンCMSVersion、encryptedContentInfo EncryptedContentInfo、unprotectedAttrs[1]IMPLICIT UnprotectedAttributes OPTIONAL

AuthenticatedData ::= SEQUENCE {
  version CMSVersion,
  originatorInfo [0] IMPLICIT OriginatorInfo OPTIONAL,
  recipientInfos RecipientInfos,
  macAlgorithm MessageAuthenticationCodeAlgorithm,
  digestAlgorithm [1] DigestAlgorithmIdentifier OPTIONAL,
  encapContentInfo EncapsulatedContentInfo,
  authenticatedAttributes [2] IMPLICIT AuthAttributes OPTIONAL,
  mac MessageAuthenticationCode,
  unauthenticatedAttributes [3] IMPLICIT UnauthAttributes OPTIONAL }

AuthenticatedData:、:= 系列バージョンCMSVersion、originatorInfo[0]IMPLICIT OriginatorInfo OPTIONAL、recipientInfos RecipientInfos、macAlgorithm MessageAuthenticationCodeAlgorithm、digestAlgorithm[1]DigestAlgorithmIdentifier OPTIONAL、encapContentInfo EncapsulatedContentInfo authenticatedAttributes[2]IMPLICIT AuthAttributes OPTIONAL、mac MessageAuthenticationCode、unauthenticatedAttributes[3]IMPLICIT UnauthAttributes OPTIONAL

AuthAttributes ::= SET SIZE (1..MAX) OF Attribute

AuthAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

UnauthAttributes ::= SET SIZE (1..MAX) OF Attribute

UnauthAttributes:、:= 属性のサイズ(1..MAX)を設定してください。

MessageAuthenticationCode ::= OCTET STRING

MessageAuthenticationCode:、:= 八重奏ストリング

Housley                     Standards Track                    [Page 50]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[50ページ]RFC2630

DigestAlgorithmIdentifier ::= AlgorithmIdentifier

DigestAlgorithmIdentifier:、:= AlgorithmIdentifier

SignatureAlgorithmIdentifier ::= AlgorithmIdentifier

SignatureAlgorithmIdentifier:、:= AlgorithmIdentifier

KeyEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier

KeyEncryptionAlgorithmIdentifier:、:= AlgorithmIdentifier

ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier

ContentEncryptionAlgorithmIdentifier:、:= AlgorithmIdentifier

MessageAuthenticationCodeAlgorithm ::= AlgorithmIdentifier

MessageAuthenticationCodeAlgorithm:、:= AlgorithmIdentifier

CertificateRevocationLists ::= SET OF CertificateList

CertificateRevocationLists:、:= CertificateListのセット

CertificateChoices ::= CHOICE {
  certificate Certificate,  -- See X.509
  extendedCertificate [0] IMPLICIT ExtendedCertificate,  -- Obsolete
  attrCert [1] IMPLICIT AttributeCertificate }  -- See X.509 & X9.57

CertificateChoices:、:= CHOICEは、Certificate--X.509 extendedCertificate[0]IMPLICIT ExtendedCertificate--attrCert[1]IMPLICIT AttributeCertificateを時代遅れにするように見ると証明します--X.509&X9.57を見てください。

CertificateSet ::= SET OF CertificateChoices

CertificateSet:、:= CertificateChoicesのセット

IssuerAndSerialNumber ::= SEQUENCE {
  issuer Name,
  serialNumber CertificateSerialNumber }

IssuerAndSerialNumber:、:= 系列発行人Name、serialNumber CertificateSerialNumber

CMSVersion ::= INTEGER  { v0(0), v1(1), v2(2), v3(3), v4(4) }

CMSVersion:、:= 整数v0(0)、v1(1)、v2(2)、v3(3)、v4(4)

UserKeyingMaterial ::= OCTET STRING

UserKeyingMaterial:、:= 八重奏ストリング

OtherKeyAttribute ::= SEQUENCE {
  keyAttrId OBJECT IDENTIFIER,
  keyAttr ANY DEFINED BY keyAttrId OPTIONAL }

OtherKeyAttribute:、:= 系列keyAttrIdオブジェクト識別子、keyAttrIdによって少しも任意の状態で定義されたkeyAttr

-- CMS Attributes

-- cmは結果と考えます。

MessageDigest ::= OCTET STRING

MessageDigest:、:= 八重奏ストリング

SigningTime  ::= Time

SigningTime:、:= 時間

Time ::= CHOICE {
  utcTime UTCTime,
  generalTime GeneralizedTime }

以下を調節してください:= 選択utcTime UTCTime、generalTime GeneralizedTime

Countersignature ::= SignerInfo

副署:、:= SignerInfo

Housley                     Standards Track                    [Page 51]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[51ページ]RFC2630

-- Algorithm Identifiers

-- アルゴリズム識別子

sha-1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
    oiw(14) secsig(3) algorithm(2) 26 }

sha-1 OBJECT IDENTIFIER:、:= iso(1)の特定された組織(3)oiw(14) secsig(3)アルゴリズム(2)26

md5 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
    rsadsi(113549) digestAlgorithm(2) 5 }

md5 OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) digestAlgorithm(2)5をメンバーと同じくらい具体化させます。

id-dsa-with-sha1 OBJECT IDENTIFIER ::=  { iso(1) member-body(2)
    us(840) x9-57 (10040) x9cm(4) 3 }

sha1 OBJECT IDENTIFIERとイドdsa:、:= iso(1)は(2) 私たち(840)x9-57(10040)x9cm(4)3をメンバーと同じくらい具体化させます。

rsaEncryption OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs-1(1) 1 }

rsaEncryptionオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-1(1)1をメンバーと同じくらい具体化させます。

dh-public-number OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) ansi-x942(10046) number-type(2) 1 }

dhの公共の番号OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)ansi-x942(10046)No.タイプ(2)1をメンバーと同じくらい具体化させます。

id-alg-ESDH OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
    rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 5 }

イド-alg-ESDHオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3)5をメンバーと同じくらい具体化させます。

id-alg-CMS3DESwrap OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 6 }

イド-alg-CMS3DESwrapオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3)6をメンバーと同じくらい具体化させます。

id-alg-CMSRC2wrap OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) 7 }

イド-alg-CMSRC2wrapオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3)7をメンバーと同じくらい具体化させます。

des-ede3-cbc OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) encryptionAlgorithm(3) 7 }

des-ede3-cbc OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) encryptionAlgorithm(3)7をメンバーと同じくらい具体化させます。

rc2-cbc OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840)
    rsadsi(113549) encryptionAlgorithm(3) 2 }

rc2-cbc OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) encryptionAlgorithm(3)2をメンバーと同じくらい具体化させます。

hMAC-SHA1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
    dod(6) internet(1) security(5) mechanisms(5) 8 1 2 }

hMAC-SHA1オブジェクト識別子:、:= iso(1)、組織(3)dod(6)インターネット(1)セキュリティが特定された(5)メカニズム(5)8 1 2

-- Algorithm Parameters

-- アルゴリズムパラメタ

KeyWrapAlgorithm ::= AlgorithmIdentifier

KeyWrapAlgorithm:、:= AlgorithmIdentifier

RC2wrapParameter ::= RC2ParameterVersion

RC2wrapParameter:、:= RC2ParameterVersion

RC2ParameterVersion ::= INTEGER

RC2ParameterVersion:、:= 整数

CBCParameter ::= IV

CBCParameter:、:= IV

IV ::= OCTET STRING  -- exactly 8 octets

IV:、:= OCTET STRING--まさに8つの八重奏

Housley                     Standards Track                    [Page 52]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[52ページ]RFC2630

RC2CBCParameter ::= SEQUENCE {
  rc2ParameterVersion INTEGER,
  iv OCTET STRING  }  -- exactly 8 octets

RC2CBCParameter:、:= SEQUENCE、rc2ParameterVersion INTEGER、iv OCTET STRING--、まさに8つの八重奏

-- Content Type Object Identifiers

-- content typeオブジェクト識別子

id-ct-contentInfo OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)
    ct(1) 6 }

イドct contentInfo、オブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)ct(1)6をメンバーと同じくらい具体化させます。

id-data OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs7(7) 1 }

イドデータOBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)1をメンバーと同じくらい具体化させます。

id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 }

イド-signedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)2をメンバーと同じくらい具体化させます。

id-envelopedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs7(7) 3 }

イド-envelopedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)3をメンバーと同じくらい具体化させます。

id-digestedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs7(7) 5 }

イド-digestedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)5をメンバーと同じくらい具体化させます。

id-encryptedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs7(7) 6 }

イド-encryptedDataオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs7(7)6をメンバーと同じくらい具体化させます。

id-ct-authData OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)
    ct(1) 2 }

イドct authData、オブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs-9(9) smime(16)ct(1)2をメンバーと同じくらい具体化させます。

-- Attribute Object Identifiers

-- 属性オブジェクト識別子

id-contentType OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs9(9) 3 }

イド-contentTypeオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)3をメンバーと同じくらい具体化させます。

id-messageDigest OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs9(9) 4 }

イド-messageDigestオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)4をメンバーと同じくらい具体化させます。

id-signingTime OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs9(9) 5 }

イド-signingTimeオブジェクト識別子:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)5をメンバーと同じくらい具体化させます。

id-countersignature OBJECT IDENTIFIER ::= { iso(1) member-body(2)
    us(840) rsadsi(113549) pkcs(1) pkcs9(9) 6 }

イド副署OBJECT IDENTIFIER:、:= iso(1)は(2) 私たち(840)rsadsi(113549) pkcs(1) pkcs9(9)6をメンバーと同じくらい具体化させます。

Housley                     Standards Track                    [Page 53]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[53ページ]RFC2630

-- Obsolete Extended Certificate syntax from PKCS#6

-- PKCS#6からの時代遅れのExtended Certificate構文

ExtendedCertificate ::= SEQUENCE {
  extendedCertificateInfo ExtendedCertificateInfo,
  signatureAlgorithm SignatureAlgorithmIdentifier,
  signature Signature }

ExtendedCertificate:、:= 系列extendedCertificateInfo ExtendedCertificateInfo、signatureAlgorithm SignatureAlgorithmIdentifier、署名Signature

ExtendedCertificateInfo ::= SEQUENCE {
  version CMSVersion,
  certificate Certificate,
  attributes UnauthAttributes }

ExtendedCertificateInfo:、:= 系列バージョンCMSVersion、証明書Certificate、属性UnauthAttributes

Signature ::= BIT STRING

署名:、:= ビット列

END -- of CryptographicMessageSyntax

終わり--CryptographicMessageSyntaxについて

Housley                     Standards Track                    [Page 54]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[54ページ]RFC2630

References

参照

   3DES       American National Standards Institute.  ANSI X9.52-1998,
              Triple Data Encryption Algorithm Modes of Operation. 1998.

3DES American National Standards Institut。 ANSI X9.52-1998、データ暗号化アルゴリズム運転モードを3倍にしてください。 1998.

   DES        American National Standards Institute.  ANSI X3.106,
              "American National Standard for Information Systems - Data
              Link Encryption".  1983.

DES American National Standards Institut。 ANSI X3.106、「情報システムのための米国標準規格--データは暗号化をリンクします」。 1983.

   DH-X9.42   Rescorla, E., "Diffie-Hellman Key Agreement Method",
              RFC 2631, June 1999.

DH-X9.42レスコラ、E.、「ディフィー-ヘルマンの主要な協定メソッド」、RFC2631、1999年6月。

   DSS        National Institute of Standards and Technology.
              FIPS Pub 186: Digital Signature Standard.  19 May 1994.

DSS米国商務省標準技術局。 FIPSパブ186: デジタル署名基準。 1994年5月19日。

   ESS        Hoffman, P., Editor, "Enhanced Security Services for
              S/MIME", RFC 2634, June 1999.

ESSホフマン、P.、エディタ、「S/MIMEのための警備の強化サービス」、RFC2634、1999年6月。

   HMAC       Krawczyk, H., "HMAC: Keyed-Hashing for Message
              Authentication", RFC 2104, February 1997.

HMAC Krawczyk、H.、「HMAC:」 「通報認証のための合わせられた論じ尽くす」RFC2104、1997年2月。

   MD5        Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321,
              April 1992.

MD5 Rivest、R.、「MD5メッセージダイジェストアルゴリズム」、RFC1321、1992年4月。

   MODES      National Institute of Standards and Technology.
              FIPS Pub 81: DES Modes of Operation.  2 December 1980.

モード米国商務省標準技術局。 FIPSパブ81: DES運転モード。 1980年12月2日。

   MSG        Ramsdell, B., Editor, "S/MIME Version 3 Message
              Specification", RFC 2633, June 1999.

MSG Ramsdell、B.、エディタ、「S/MIMEバージョン3メッセージ仕様」、RFC2633、1999年6月。

   NEWPKCS#1  Kaliski, B., "PKCS #1: RSA Encryption, Version 2.0",
              RFC 2347, October 1998.

NEWPKCS#1Kaliski、B.、「PKCS#1:」 RSA暗号化、バージョン2インチ、RFC2347、1998年10月。

   PROFILE    Housley, R., Ford, W., Polk, W. and D. Solo, "Internet
              X.509 Public Key Infrastructure: Certificate and CRL
              Profile", RFC 2459, January 1999.

プロフィールHousley、R.、フォード、W.、ポーク、W.、およびD.が独奏される、「インターネットX.509公開鍵基盤:」 「証明書とCRLプロフィール」、RFC2459、1月1999日

   PKCS#1     Kaliski, B., "PKCS #1: RSA Encryption, Version 1.5.",
              RFC 2313, March 1998.

PKCS#1Kaliski、B.、「PKCS#1:」 「RSA暗号化、バージョン1.5」、RFC2313、3月1998日

   PKCS#6     RSA Laboratories.  PKCS #6: Extended-Certificate Syntax
              Standard, Version 1.5.  November 1993.

PKCS#6つのRSA研究所。 PKCS#6: 拡張証明書構文規格、バージョン1.5。 1993年11月。

   PKCS#7     Kaliski, B., "PKCS #7: Cryptographic Message Syntax,
              Version 1.5.", RFC 2315, March 1998.

PKCS#7Kaliski、B.、「PKCS#7:」 「暗号のメッセージ構文、バージョン1.5」、RFC2315、3月1998日

   PKCS#9     RSA Laboratories.  PKCS #9: Selected Attribute Types,
              Version 1.1.  November 1993.

PKCS#9つのRSA研究所。 PKCS#9: 属性タイプ、バージョン1.1を選択しました。 1993年11月。

Housley                     Standards Track                    [Page 55]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[55ページ]RFC2630

   RANDOM     Eastlake, D., Crocker, S. and J. Schiller, "Randomness
              Recommendations for Security", RFC 1750, December 1994.

無作為のイーストレークとD.とクロッカーとS.とJ.シラー、「セキュリティのための偶発性推薦」、RFC1750、1994年12月。

   RC2        Rivest, R., "A Description of the RC2 (r) Encryption
              Algorithm", RFC 2268, March 1998.

RC2 Rivest、R.、「RC2(r)暗号化アルゴリズムの記述」、RFC2268、1998年3月。

   SHA1       National Institute of Standards and Technology.
              FIPS Pub 180-1: Secure Hash Standard.  17 April 1995.

SHA1米国商務省標準技術局。 FIPSパブ180-1: ハッシュ規格を保証してください。 1995年4月17日。

   X.208-88   CCITT.  Recommendation X.208: Specification of Abstract
              Syntax Notation One (ASN.1).  1988.

X.208-88CCITT。 推薦X.208: 抽象構文記法1(ASN.1)の仕様。 1988.

   X.209-88   CCITT.  Recommendation X.209: Specification of Basic
              Encoding Rules for Abstract Syntax Notation One (ASN.1).
              1988.

X.209-88CCITT。 推薦X.209: 基本的なコード化の仕様は抽象構文記法1(ASN.1)のために統治されます。 1988.

   X.501-88   CCITT.  Recommendation X.501: The Directory - Models.
              1988.

X.501-88CCITT。 推薦X.501: ディレクトリ--モデル。 1988.

   X.509-88   CCITT.  Recommendation X.509: The Directory -
              Authentication Framework.  1988.

X.509-88CCITT。 推薦X.509: ディレクトリ--認証フレームワーク。 1988.

   X.509-97   ITU-T.  Recommendation X.509: The Directory -
              Authentication Framework.  1997.

X.509-97ITU-T。 推薦X.509: ディレクトリ--認証フレームワーク。 1997.

Security Considerations

セキュリティ問題

   The Cryptographic Message Syntax provides a method for digitally
   signing data, digesting data, encrypting data, and authenticating
   data.

データを暗号化して、データを認証して、Cryptographic Message Syntaxはデータを読みこなして、データにデジタルに署名するためのメソッドを提供します。

   Implementations must protect the signer's private key.  Compromise of
   the signer's private key permits masquerade.

実装は署名者の秘密鍵を保護しなければなりません。 署名者の秘密鍵の感染は仮面舞踏会を可能にします。

   Implementations must protect the key management private key, the
   key-encryption key, and the content-encryption key.  Compromise of
   the key management private key or the key-encryption key may result
   in the disclosure of all messages protected with that key.
   Similarly, compromise of the content-encryption key may result in
   disclosure of the associated encrypted content.

実装はかぎ管理秘密鍵、主要な暗号化キー、および満足している暗号化キーを保護しなければなりません。 かぎ管理秘密鍵か主要な暗号化キーの感染はそのキーで保護されたすべてのメッセージの公開をもたらすかもしれません。 同様に、満足している暗号化キーの感染は関連暗号化された内容の公開をもたらすかもしれません。

   Implementations must protect the key management private key and the
   message-authentication key.  Compromise of the key management private
   key permits masquerade of authenticated data.  Similarly, compromise
   of the message-authentication key may result in undetectable
   modification of the authenticated content.

実装はかぎ管理秘密鍵と通報認証キーを保護しなければなりません。 かぎ管理秘密鍵の感染は認証されたデータの仮面舞踏会を可能にします。 同様に、通報認証キーの感染は認証された内容の検知されない変更をもたらすかもしれません。

Housley                     Standards Track                    [Page 56]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[56ページ]RFC2630

   Implementations must randomly generate content-encryption keys,
   message-authentication keys, initialization vectors (IVs), and
   padding.  Also, the generation of public/private key pairs relies on
   a random numbers.  The use of inadequate pseudo-random number
   generators (PRNGs) to generate cryptographic keys can result in
   little or no security.  An attacker may find it much easier to
   reproduce the PRNG environment that produced the keys, searching the
   resulting small set of possibilities, rather than brute force
   searching the whole key space.  The generation of quality random
   numbers is difficult.  RFC 1750 [RANDOM] offers important guidance in
   this area, and Appendix 3 of FIPS Pub 186 [DSS] provides one quality
   PRNG technique.

実装は手当たりしだいに満足している暗号化キー、通報認証キー、初期化ベクトル(IVs)、および詰め物を生成しなければなりません。 また、公衆/秘密鍵組の世代は乱数を当てにします。 暗号化キーを生成する不十分な疑似乱数生成器(PRNGs)の使用はまずセキュリティをもたらすことができません。 攻撃者は、キーを生産したPRNG環境を再生させるのがはるかに簡単であることがわかるかもしれません、全体の主要なスペースを捜す馬鹿力よりむしろ結果として起こる小さい可能性を捜して。 上質の乱数の世代は難しいです。 RFC1750[RANDOM]はこの領域で重要な指導を提供します、そして、FIPS Pub186[DSS]のAppendix3は1つの上質のPRNGのテクニックを提供します。

   When using key agreement algorithms or previously distributed
   symmetric key-encryption keys, a key-encryption key is used to
   encrypt the content-encryption key.  If the key-encryption and
   content-encryption algorithms are different, the effective security
   is determined by the weaker of the two algorithms.  If, for example,
   a message content is encrypted with 168-bit Triple-DES and the
   Triple-DES content-encryption key is wrapped with a 40-bit RC2 key,
   then at most 40 bits of protection is provided.  A trivial search to
   determine the value of the 40-bit RC2 key can recover Triple-DES key,
   and then the Triple-DES key can be used to decrypt the content.
   Therefore, implementers must ensure that key-encryption algorithms
   are as strong or stronger than content-encryption algorithms.

主要な協定アルゴリズムか以前に分配された左右対称の主要な暗号化キーを使用するとき、主要な暗号化キーは、満足している暗号化キーを暗号化するのに使用されます。 主要な暗号化と満足している暗号化アルゴリズムが異なるなら、有効なセキュリティは2つのアルゴリズムについて、より弱いことで決定します。例えば、メッセージ内容が168ビットのTriple-DESと共に暗号化されて、Triple-DES満足している暗号化キーが40ビットのRC2キーで包装されるなら、高々保護の40ビットしか提供されません。 内容を解読するのに40ビットのRC2キーの値はTriple-DESキーを回収して、次に、Triple-DESキーを回収できることを決定する些細な検索を使用できます。 したがって、implementersは主要な暗号化アルゴリズムが確実に同じくらい強いか満足している暗号化アルゴリズムより強くなるようにしなければなりません。

   Section 12.6 specifies key wrap algorithms used to encrypt a Triple-
   DES [3DES] content-encryption key with a Triple-DES key-encryption
   key or to encrypt a RC2 [RC2] content-encryption key with a RC2 key-
   encryption key.  The key wrap algorithms make use of CBC mode
   [MODES].  These key wrap algorithms have been reviewed for use with
   Triple and RC2.  They have not been reviewed for use with other
   cryptographic modes or other encryption algorithms.  Therefore, if a
   CMS implementation wishes to support ciphers in addition to Triple-
   DES or RC2, then additional key wrap algorithms need to be defined to
   support the additional ciphers.

セクション12.6はアルゴリズムがTriple-DES主要な暗号化キーによって主要なTriple- DES[3DES]満足している暗号化を暗号化するか、またはRC2の主要な暗号化キーによって主要なRC2[RC2]満足している暗号化を暗号化するのに使用した主要な包装を指定します。 主要な包装アルゴリズムはCBCモード[MODES]を利用します。 これらの主要な包装アルゴリズムはTripleとRC2との使用のために見直されました。 それらは使用のために他の暗号のモードか他の暗号化アルゴリズムで見直されていません。したがって、Triple- DESかRC2に加えた暗号をサポートするというCMS実装願望であるなら、追加主要な包装アルゴリズムは、追加暗号をサポートするために定義される必要があります。

   Implementers should be aware that cryptographic algorithms become
   weaker with time.  As new cryptoanalysis techniques are developed and
   computing performance improves, the work factor to break a particular
   cryptographic algorithm will reduce.  Therefore, cryptographic
   algorithm implementations should be modular allowing new algorithms
   to be readily inserted.  That is, implementers should be prepared for
   the set of mandatory to implement algorithms to change over time.

Implementersは時間に従って暗号アルゴリズムが、より弱くなるのを意識しているべきです。 新しい暗号解読のテクニックが開発されていて、性能を計算するのが向上するのに従って、特定の暗号アルゴリズムを破るワーク・ファクタは減少するでしょう。 したがって、新しいアルゴリズムが容易に挿入されるのを許容することにおいて暗号アルゴリズム実装はモジュールであるべきです。 義務的のセットが時間がたつにつれて変化するようにアルゴリズムを実装するように、すなわち、implementersは準備されているべきです。

   The countersignature unauthenticated attribute includes a digital
   signature that is computed on the content signature value, thus the
   countersigning process need not know the original signed content.

副署の非認証された属性は満足している署名値で計算されるデジタル署名を含んでいます、その結果、副署プロセスが内容であると署名されるオリジナルを知る必要はありません。

Housley                     Standards Track                    [Page 57]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[57ページ]RFC2630

   This structure permits implementation efficiency advantages; however,
   this structure may also permit the countersigning of an inappropriate
   signature value.  Therefore, implementations that perform
   countersignatures should either verify the original signature value
   prior to countersigning it (this verification requires processing of
   the original content), or implementations should perform
   countersigning in a context that ensures that only appropriate
   signature values are countersigned.

この構造は実装効率利点を可能にします。 しかしながら、また、この構造は不適当な署名価値の副署を可能にするかもしれません。 したがって、それについて副署する前に、副署を実行する実装が元の署名値について確かめるべきですか(この検証は処理にオリジナルコンテンツを要求します)、または実装は適切な署名値だけが副署されるのを確実にする文脈における副署を実行するべきです。

   Users of CMS, particularly those employing CMS to support interactive
   applications, should be aware that PKCS #1 Version 1.5 as specified
   in RFC 2313 [PKCS#1] is vulnerable to adaptive chosen ciphertext
   attacks when applied for encryption purposes.  Exploitation of this
   identified vulnerability, revealing the result of a particular RSA
   decryption, requires access to an oracle which will respond to a
   large number of ciphertexts (based on currently available results,
   hundreds of thousands or more), which are constructed adaptively in
   response to previously-received replies providing information on the
   successes or failures of attempted decryption operations.  As a
   result, the attack appears significantly less feasible to perpetrate
   for store-and-forward S/MIME environments than for directly
   interactive protocols.  Where CMS constructs are applied as an
   intermediate encryption layer within an interactive request-response
   communications environment, exploitation could be more feasible.

CMSのユーザ(特に対話型アプリケーションをサポートするのにCMSを使うもの)は暗号化目的のために適用されるとRFC2313[PKCS#1]の指定されるとしてのPKCS#1バージョン1.5が適応型の選ばれた暗号文攻撃に被害を受け易いのを意識しているべきです。 特定のRSA復号化の結果を明らかにして、この特定された脆弱性の攻略は適応型に試みられた復号化操作の成功か失敗の情報を提供する以前に容認された回答に対応して構成される多くの暗号文(現在利用可能な結果、何十万または以上に基づいている)に応じる神託へのアクセスを必要とします。 その結果、攻撃は直接対話的なプロトコルよりかなり店とフォワードS/MIME環境のために犯すのにおいて可能でなく見えます。 CMS構造物が中間的暗号化層として対話的な要求応答コミュニケーション環境の中で適用されるところでは、攻略は、より可能であるかもしれません。

   An updated version of PKCS #1 has been published, PKCS #1 Version 2.0
   [NEWPKCS#1].  This new document will supersede RFC 2313.  PKCS #1
   Version 2.0 preserves support for the encryption padding format
   defined in PKCS #1 Version 1.5 [PKCS#1], and it also defines a new
   alternative.  To resolve the adaptive chosen ciphertext
   vulnerability, the PKCS #1 Version 2.0 specifies and recommends use
   of Optimal Asymmetric Encryption Padding (OAEP) when RSA encryption
   is used to provide confidentiality.  Designers of protocols and
   systems employing CMS for interactive environments should either
   consider usage of OAEP, or should ensure that information which could
   reveal the success or failure of attempted PKCS #1 Version 1.5
   decryption operations is not provided.  Support for OAEP will likely
   be added to a future version of the CMS specification.

PKCS#1のアップデートされたバージョンは発行されて、PKCS#は1つのバージョン2.0です[NEWPKCS#1]。 この新しいドキュメントはRFC2313に取って代わるでしょう。 PKCS#1バージョン2.0はPKCS#1バージョン1.5[PKCS#1]で定義された書式を水増しする暗号化のサポートを保存します、そして、また、それは新しい代替手段を定義します。 RSA暗号化が秘密性を提供するのに使用されるとき、PKCS#1バージョン2.0は、適応型の選ばれた暗号文脆弱性を決議するために、Optimal Asymmetric Encryption Padding(OAEP)の使用を指定して、推薦します。 対話的な環境でCMSを使うプロトコルとシステムのデザイナーは、OAEPの使用法を考えるべきであるか、または1.5の復号化操作が提供されない試みられたPKCS#1バージョンの成否を明らかにすることができたその情報を確実にするべきです。 OAEPのサポートはおそらくCMS仕様の将来のバージョンに追加されるでしょう。

Acknowledgments

承認

   This document is the result of contributions from many professionals.
   I appreciate the hard work of all members of the IETF S/MIME Working
   Group.  I extend a special thanks to Rich Ankney, Tim Dean, Steve
   Dusse, Carl Ellison, Peter Gutmann, Bob Jueneman, Stephen Henson,
   Paul Hoffman, Scott Hollenbeck, Don Johnson, Burt Kaliski, John Linn,
   John Pawling, Blake Ramsdell, Francois Rousseau, Jim Schaad, and Dave
   Solo for their efforts and support.

このドキュメントは多くの専門家からの貢献の結果です。 私はIETF S/MIME作業部会のすべてのメンバーのきつい仕事に感謝します。 私はリッシュAnkney、ティム・ディーン、スティーブDusse、カール・エリソン、ピーター・ガットマン、ボブJueneman、スティーブン・ヘンソン、ポール・ホフマン、スコットHollenbeck、ドン・ジョンソン、バートKaliski、ジョン・リン、ジョンPawling、ブレークRamsdell、フランソア・ルソー、ジムSchaad、およびデーヴSoloのおかげで彼らの取り組みとサポートのために特別番組を広げます。

Housley                     Standards Track                    [Page 58]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[58ページ]RFC2630

Author's Address

作者のアドレス

   Russell Housley
   SPYRUS
   381 Elden Street
   Suite 1120
   Herndon, VA 20170
   USA

ラッセルHousley SPYRUS381エルデン・通りスイート1120ヴァージニア20170ハーンドン(米国)

   EMail: housley@spyrus.com

メール: housley@spyrus.com

Housley                     Standards Track                    [Page 59]

RFC 2630              Cryptographic Message Syntax             June 1999

メッセージ構文1999年6月の暗号のHousley標準化過程[59ページ]RFC2630

Full Copyright Statement

完全な著作権宣言文

   Copyright (C) The Internet Society (1999).  All Rights Reserved.

Copyright(C)インターネット協会(1999)。 All rights reserved。

   This document and translations of it may be copied and furnished to
   others, and derivative works that comment on or otherwise explain it
   or assist in its implementation may be prepared, copied, published
   and distributed, in whole or in part, without restriction of any
   kind, provided that the above copyright notice and this paragraph are
   included on all such copies and derivative works.  However, this
   document itself may not be modified in any way, such as by removing
   the copyright notice or references to the Internet Society or other
   Internet organizations, except as needed for the purpose of
   developing Internet standards in which case the procedures for
   copyrights defined in the Internet Standards process must be
   followed, or as required to translate it into languages other than
   English.

それに関するこのドキュメントと翻訳は、コピーして、それが批評するか、またはそうでなければわかる他のもの、および派生している作品に提供するか、または準備されているかもしれなくて、コピーされて、発行されて、全体か一部分配された実装を助けるかもしれません、どんな種類の制限なしでも、上の版権情報とこのパラグラフがそのようなすべてのコピーと派生している作品の上に含まれていれば。 しかしながら、このドキュメント自体は何らかの方法で変更されないかもしれません、インターネット協会か他のインターネット組織の版権情報か参照を取り除くのなどように、それを英語以外の言語に翻訳するのが著作権のための手順がインターネットStandardsプロセスで定義したどのケースに従わなければならないか、必要に応じてさもなければ、インターネット標準を開発する目的に必要であるのを除いて。

   The limited permissions granted above are perpetual and will not be
   revoked by the Internet Society or its successors or assigns.

上に承諾された限られた許容は、永久であり、インターネット協会、後継者または案配によって取り消されないでしょう。

   This document and the information contained herein is provided on an
   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

このドキュメントとそして、「そのままで」という基礎とインターネットの振興発展を目的とする組織に、インターネット・エンジニアリング・タスク・フォースが速達の、または、暗示しているすべての保証を放棄するかどうかというここにことであり、他を含んでいて、含まれて、情報の使用がここに侵害しないどんな保証も少しもまっすぐになるという情報か市場性か特定目的への適合性のどんな黙示的な保証。

Acknowledgement

承認

   Funding for the RFC Editor function is currently provided by the
   Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。

Housley                     Standards Track                    [Page 60]

Housley標準化過程[60ページ]

一覧

 RFC 1〜100  RFC 1401〜1500  RFC 2801〜2900  RFC 4201〜4300 
 RFC 101〜200  RFC 1501〜1600  RFC 2901〜3000  RFC 4301〜4400 
 RFC 201〜300  RFC 1601〜1700  RFC 3001〜3100  RFC 4401〜4500 
 RFC 301〜400  RFC 1701〜1800  RFC 3101〜3200  RFC 4501〜4600 
 RFC 401〜500  RFC 1801〜1900  RFC 3201〜3300  RFC 4601〜4700 
 RFC 501〜600  RFC 1901〜2000  RFC 3301〜3400  RFC 4701〜4800 
 RFC 601〜700  RFC 2001〜2100  RFC 3401〜3500  RFC 4801〜4900 
 RFC 701〜800  RFC 2101〜2200  RFC 3501〜3600  RFC 4901〜5000 
 RFC 801〜900  RFC 2201〜2300  RFC 3601〜3700  RFC 5001〜5100 
 RFC 901〜1000  RFC 2301〜2400  RFC 3701〜3800  RFC 5101〜5200 
 RFC 1001〜1100  RFC 2401〜2500  RFC 3801〜3900  RFC 5201〜5300 
 RFC 1101〜1200  RFC 2501〜2600  RFC 3901〜4000  RFC 5301〜5400 
 RFC 1201〜1300  RFC 2601〜2700  RFC 4001〜4100  RFC 5401〜5500 
 RFC 1301〜1400  RFC 2701〜2800  RFC 4101〜4200 

スポンサーリンク

Tera Term Pro

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る