[要約] RFC 5754は、SHA-2アルゴリズム群(SHA-224、SHA-256、SHA-384、SHA-512)をCryptographic Message Syntax (CMS)で使用する方法について定義しています。この文書の目的は、より強力なハッシュ関数をCMSに統合し、セキュリティを強化することです。CMSは電子メール、証明書、キー交換など、多様なセキュリティサービスにおいてデジタル署名や暗号化に使用されます。RFC 5754は、古いハッシュアルゴリズム(例えばSHA-1)に代わる安全な選択肢を提供し、関連するRFCとしてはRFC 3852(CMSの仕様)やRFC 3370(CMSでの暗号アルゴリズムの使用)などがあります。

Internet Engineering Task Force (IETF)                         S. Turner
Request for Comments: 5754                                          IECA
Updates: 3370                                               January 2010
Category: Standards Track
ISSN: 2070-1721
        

Using SHA2 Algorithms with Cryptographic Message Syntax

暗号化メッセージ構文でのSHA2アルゴリズムの使用

Abstract

概要

This document describes the conventions for using the Secure Hash Algorithm (SHA) message digest algorithms (SHA-224, SHA-256, SHA-384, SHA-512) with the Cryptographic Message Syntax (CMS). It also describes the conventions for using these algorithms with the CMS and the Digital Signature Algorithm (DSA), Rivest Shamir Adleman (RSA), and Elliptic Curve DSA (ECDSA) signature algorithms. Further, it provides SMIMECapabilities attribute values for each algorithm.

このドキュメントでは、暗号化メッセージ構文(CMS)でセキュアハッシュアルゴリズム(SHA)メッセージダイジェストアルゴリズム(SHA-224、SHA-256、SHA-384、SHA-512)を使用するための規則について説明します。また、CMSおよびデジタル署名アルゴリズム(DSA)、Rivest Shamir Adleman(RSA)、および楕円曲線DSA(ECDSA)署名アルゴリズムでこれらのアルゴリズムを使用するための規則についても説明します。さらに、各アルゴリズムのSMIMECapabilities属性値を提供します。

Status of This Memo

本文書の状態

This is an Internet Standards Track document.

これはInternet Standards Trackドキュメントです。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741.

このドキュメントは、IETF(Internet Engineering Task Force)の製品です。これは、IETFコミュニティのコンセンサスを表しています。公開レビューを受け、インターネットエンジニアリングステアリンググループ(IESG)による公開が承認されました。インターネット標準の詳細については、RFC 5741のセクション2をご覧ください。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc5754.

このドキュメントの現在のステータス、エラータ、およびフィードバックの提供方法に関する情報は、http://www.rfc-editor.org/info/rfc5754で入手できます。

Copyright Notice

著作権表示

Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.

Copyright(c)2010 IETF Trustおよびドキュメントの作成者として識別された人物。全著作権所有。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

この文書は、BCP 78およびこの文書の発行日に有効なIETF文書に関するIETFトラストの法的規定(http://trustee.ietf.org/license-info)の対象となります。これらのドキュメントは、このドキュメントに関するあなたの権利と制限を説明しているため、注意深く確認してください。このドキュメントから抽出されたコードコンポーネントには、Trust Legal Provisionsのセクション4.eに記載されているSimplified BSD Licenseのテキストが含まれている必要があり、Simplified BSD Licenseに記載されているように保証なしで提供されます。

This document may contain material from IETF Documents or IETF Contributions published or made publicly available before November 10, 2008. The person(s) controlling the copyright in some of this material may not have granted the IETF Trust the right to allow modifications of such material outside the IETF Standards Process. Without obtaining an adequate license from the person(s) controlling the copyright in such materials, this document may not be modified outside the IETF Standards Process, and derivative works of it may not be created outside the IETF Standards Process, except to format it for publication as an RFC or to translate it into languages other than English.

このドキュメントには、2008年11月10日より前に公開または公開されたIETFドキュメントまたはIETFコントリビューションの素材が含まれている場合があります。この素材の一部で著作権を管理している人が、IETFトラストにそのような素材の変更を許可する権利を付与していない可能性がありますIETF標準プロセス外。このような資料の著作権を管理する人から適切なライセンスを取得せずに、このドキュメントをIETF標準プロセス外で変更したり、その派生物をIETF標準プロセス外で作成したりすることはできません。 RFCとして、またはそれを英語以外の言語に翻訳するための出版物。

Table of Contents

目次

   1. Introduction ....................................................2
      1.1. Conventions Used in This Document ..........................3
   2. Message Digest Algorithms .......................................3
      2.1. SHA-224 ....................................................4
      2.2. SHA-256 ....................................................5
      2.3. SHA-384 ....................................................5
      2.4. SHA-512 ....................................................5
   3. Signature Algorithms ............................................6
      3.1. DSA ........................................................6
      3.2. RSA ........................................................7
      3.3. ECDSA ......................................................8
   4. Security Considerations .........................................9
   5. References ......................................................9
      5.1. Normative References .......................................9
      5.2. Informative References ....................................10
        
1. Introduction
1. はじめに

This document specifies the algorithm identifiers and specifies parameters for the message digest algorithms SHA-224, SHA-256, SHA-384, and SHA-512 for use with the Cryptographic Message Syntax (CMS) [RFC5652]. The message digest algorithms are defined in [SHS] and reference code is provided in [RFC4634].

このドキュメントでは、アルゴリズム識別子を指定し、暗号化メッセージ構文(CMS)[RFC5652]で使用するためのメッセージダイジェストアルゴリズムSHA-224、SHA-256、SHA-384、およびSHA-512のパラメーターを指定します。メッセージダイジェストアルゴリズムは[SHS]で定義されており、参照コードは[RFC4634]で提供されています。

This document also specifies the algorithm identifiers and parameters for use of SHA-224, SHA-256, SHA-384, and SHA-512 with DSA [DSS], RSA (RSASSA-PKCS1-v1_5) [RFC3447], and ECDSA [DSS].

このドキュメントでは、DSA [DSS]、RSA(RSASSA-PKCS1-v1_5)[RFC3447]、およびECDSA [DSSでSHA-224、SHA-256、SHA-384、およびSHA-512を使用するためのアルゴリズム識別子とパラメーターも指定します]。

This document does not define new identifiers; they are taken from [RFC3874], [RFC4055], and [RFC5758]. Additionally, the parameters follow the conventions specified therein. Therefore, there is no Abstract Syntax Notation One (ASN.1) module included in this document.

このドキュメントでは新しい識別子を定義していません。それらは[RFC3874]、[RFC4055]、および[RFC5758]から取得されます。さらに、パラメーターはそこで指定された規則に従います。したがって、このドキュメントには、抽象構文記法1(ASN.1)モジュールは含まれていません。

Note that [RFC4231] specifies the conventions for the message authentication code (MAC) algorithms: Hashed MAC (HMAC) with SHA-224, HMAC with SHA-256, HMAC with SHA-384, and HMAC with SHA-512.

[RFC4231]は、メッセージ認証コード(MAC)アルゴリズムの規則を指定していることに注意してください。SHA-224を備えたハッシュMAC(HMAC)、SHA-256を備えたHMAC、SHA-384を備えたHMAC、およびSHA-512を備えたHMAC。

In the CMS, the various algorithm identifiers use the AlgorithmIdentifier syntax, which is included here for convenience:

CMSでは、さまざまなアルゴリズム識別子がAlgorithmIdentifier構文を使用します。これは、便宜上ここに含まれています。

      AlgorithmIdentifier  ::=  SEQUENCE  {
        algorithm   OBJECT IDENTIFIER,
        parameters  ANY DEFINED BY algorithm OPTIONAL  }
        

This document also specifies the SMIMECapabilities attribute values [RFC5751] for each algorithm. The values provided are for the SMIMECapability field, which is included here for convenience:

このドキュメントでは、各アルゴリズムのSMIMECapabilities属性値[RFC5751]も指定しています。提供される値はSMIMECapabilityフィールド用であり、便宜上ここに含まれています。

      SMIMECapability ::= SEQUENCE {
        capabilityID  OBJECT IDENTIFIER,
        parameters    ANY DEFINED BY capabilityID OPTIONAL }
        
1.1. Conventions Used in This Document
1.1. このドキュメントで使用される規則

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].

このドキュメントのキーワード「MUST」、「MUST NOT」、「REQUIRED」、「SHALL」、「SHALL NOT」、「SHOULD」、「SHOULD NOT」、「RECOMMENDED」、「MAY」、および「OPTIONAL」は、 [RFC2119]で説明されているように解釈されます。

2. Message Digest Algorithms
2. メッセージダイジェストアルゴリズム

Digest algorithm identifiers are located in the SignedData digestAlgorithms field, the SignerInfo digestAlgorithm field, the DigestedData digestAlgorithm field, and the AuthenticatedData digestAlgorithm field. The object identifiers are taken from [RFC4055].

ダイジェストアルゴリズムの識別子は、SignedData digestAlgorithmsフィールド、SignerInfo digestAlgorithmフィールド、DigestedData digestAlgorithmフィールド、およびAuthenticatedData digestAlgorithmフィールドにあります。オブジェクト識別子は[RFC4055]から取得されます。

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

ダイジェスト値は、DigestedDataダイジェストフィールドとMessage Digest認証済み属性にあります。さらに、ダイジェスト値は署名アルゴリズムに入力されます。

The digest algorithm identifiers use the AlgorithmIdentifier syntax elaborated upon in Section 1.

ダイジェストアルゴリズム識別子は、セクション1で詳述したAlgorithmIdentifier構文を使用します。

The algorithm field and SMIMECapabilities attribute are discussed in Sections 2.1-2.4 for each message digest algorithm. Section 3 provides some signatures that use SHA2 algorithms. Consult the signature algorithm definitions for the procedures to compute the digest values (i.e., DigestInfo).

アルゴリズムフィールドとSMIMECapabilities属性については、メッセージダイジェストアルゴリズムごとにセクション2.1〜2.4で説明します。セクション3では、SHA2アルゴリズムを使用するいくつかの署名を提供します。ダイジェスト値(DigestInfo)を計算する手順については、署名アルゴリズムの定義を参照してください。

The AlgorithmIdentifier parameters field is OPTIONAL. Implementations MUST accept SHA2 AlgorithmIdentifiers with absent parameters. Implementations MUST accept SHA2 AlgorithmIdentifiers with NULL parameters. Implementations MUST generate SHA2 AlgorithmIdentifiers with absent parameters.

AlgorithmIdentifierパラメータフィールドはオプションです。実装は、パラメータのないSHA2 AlgorithmIdentifiersを受け入れる必要があります。実装は、NULLパラメータを持つSHA2 AlgorithmIdentifiersを受け入れる必要があります。実装は、パラメータのないSHA2 AlgorithmIdentifiersを生成する必要があります。

NOTE: There are two possible encodings for the AlgorithmIdentifier parameters field associated with these object identifiers. The two alternatives arise from the loss of the OPTIONAL associated with the algorithm identifier parameters when the 1988 syntax for AlgorithmIdentifier was translated into the 1997 syntax. Later, the OPTIONAL was recovered via a defect report, but by then many people thought that algorithm parameters were mandatory. Because of this history, some implementations encode parameters as a NULL element while others omit them entirely. The correct encoding is to omit the parameters field; however, when some uses of these algorithms were defined, it was done using the NULL parameters rather than absent parameters. For example, PKCS#1 [RFC3447] requires that the padding used for RSA signatures (EMSA-PKCS1-v1_5) MUST use SHA2 AlgorithmIdentifiers with NULL parameters (to clarify, the requirement "MUST generate SHA2 AlgorithmIdentifiers with absent parameters" in the previous paragraph does not apply to this padding).

注:これらのオブジェクト識別子に関連付けられているAlgorithmIdentifierパラメータフィールドには、2つの可能なエンコーディングがあります。 2つの選択肢は、AlgorithmIdentifierの1988構文が1997構文に変換されたときに、アルゴリズム識別子パラメーターに関連付けられたOPTIONALが失われたことから発生します。その後、OPTIONALは欠陥レポートを介して回収されましたが、それまでに多くの人がアルゴリズムパラメータは必須であると考えていました。この履歴があるため、一部の実装ではパラメーターをNULL要素としてエンコードし、他の実装では完全に省略しています。正しいエンコーディングは、parametersフィールドを省略することです。ただし、これらのアルゴリズムのいくつかの使用法が定義されている場合は、欠落しているパラメーターではなくNULLパラメーターを使用して行われていました。たとえば、PKCS#1 [RFC3447]では、RSA署名に使用されるパディング(EMSA-PKCS1-v1_5)は、NULLパラメーターを指定したSHA2 AlgorithmIdentifiersを使用する必要があります(明確にするために、前の段落の要件「パラメーターのないSHA2 AlgorithmIdentifiersを生成する必要がある」)このパディングには適用されません)。

2.1. SHA-224
2.1. シャー224

The SHA-224 message digest algorithm is defined in [SHS]. The algorithm identifier for SHA-224 is:

SHA-224メッセージダイジェストアルゴリズムは[SHS]で定義されています。 SHA-224のアルゴリズム識別子は次のとおりです。

     id-sha224 OBJECT IDENTIFIER ::= {
       joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101)
       csor(3) nistalgorithm(4) hashalgs(2) 4 }
        

The parameters are as specified in the beginning of Section 2.

パラメータは、セクション2の冒頭で指定したとおりです。

The SMIMECapabilities attribute value indicates support for SHA-224 in a SEQUENCE with the capabilityID field containing the object identifier id-sha224 with absent parameters. The DER encoding for this SMIMECapability is:

SMIMECapabilities属性値は、SequenceでのSHA-224のサポートを示します。capabilityIDフィールドには、パラメーターのないオブジェクト識別子id-sha224が含まれます。このSMIMECapabilityのDERエンコードは次のとおりです。

id-sha224: 30 0b 06 09 60 86 48 01 65 03 04 02 04

id-sha224:30 0b 06 09 60 86 48 01 65 03 04 02 04

2.2. SHA-256
2.2. シャー256

The SHA-256 message digest algorithm is defined in [SHS]. The algorithm identifier for SHA-256 is:

SHA-256メッセージダイジェストアルゴリズムは[SHS]で定義されています。 SHA-256のアルゴリズム識別子は次のとおりです。

      id-sha256 OBJECT IDENTIFIER ::= {
        joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101)
        csor(3) nistalgorithm(4) hashalgs(2) 1 }
        

The parameters are as specified in the beginning of Section 2.

パラメータは、セクション2の冒頭で指定したとおりです。

The SMIMECapabilities attribute value indicates support for SHA-256 in a SEQUENCE with the capabilityID field containing the object identifier id-sha256 with absent parameters. The DER encoding for this SMIMECapability value is:

SMIMECapabilities属性値は、SequenceでのSHA-256のサポートを示します。capabilityIDフィールドには、パラメーターのないオブジェクト識別子id-sha256が含まれています。このSMIMECapability値のDERエンコードは次のとおりです。

id-sha256: 30 0b 06 09 60 86 48 01 65 03 04 02 01

id-sha256:30 0b 06 09 60 86 48 01 65 03 04 02 01

2.3. SHA-384
2.3. シャー384

The SHA-384 message digest algorithm is defined in [SHS]. The algorithm identifier for SHA-384 is:

SHA-384メッセージダイジェストアルゴリズムは[SHS]で定義されています。 SHA-384のアルゴリズム識別子は次のとおりです。

      id-sha384 OBJECT IDENTIFIER ::= {
        joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101)
        csor(3) nistalgorithm(4) hashalgs(2) 2 }
        

The parameters are as specified in the beginning of Section 2.

パラメータは、セクション2の冒頭で指定したとおりです。

The SMIMECapabilities attribute value indicates support for SHA-384 in a SEQUENCE with the capabilityID field containing the object identifier id-sha384 with absent parameters. The DER encoding for this SMIMECapability value is:

SMIMECapabilities属性値は、SequenceでのSHA-384のサポートを示します。capabilityIDフィールドには、パラメーターのないオブジェクト識別子id-sha384が含まれています。このSMIMECapability値のDERエンコードは次のとおりです。

id-sha384: 30 0b 06 09 60 86 48 01 65 03 04 02 02

id-sha384:30 0b 06 09 60 86 48 01 65 03 04 02 02

2.4. SHA-512
2.4. シャー512

The SHA-512 message digest algorithm is defined in [SHS]. The algorithm identifier for SHA-512 is:

SHA-512メッセージダイジェストアルゴリズムは[SHS]で定義されています。 SHA-512のアルゴリズム識別子は次のとおりです。

      id-sha512 OBJECT IDENTIFIER ::= {
        joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101)
        csor(3) nistalgorithm(4) hashalgs(2) 3 }
        

The parameters are as specified in the beginning of Section 2.

パラメータは、セクション2の冒頭で指定したとおりです。

The SMIMECapabilities attribute value indicates support for SHA-384 in a SEQUENCE with the capabilityID field containing the object identifier id-sha384 with absent parameters. The DER encoding for this SMIMECapability value is:

SMIMECapabilities属性値は、SequenceでのSHA-384のサポートを示します。capabilityIDフィールドには、パラメーターのないオブジェクト識別子id-sha384が含まれています。このSMIMECapability値のDERエンコードは次のとおりです。

id-sha512: 30 0b 06 09 60 86 48 01 65 03 04 02 03

id-sha512:30 0b 06 09 60 86 48 01 65 03 04 02 03

3. Signature Algorithms
3. 署名アルゴリズム

This section specifies the conventions employed by CMS implementations that support DSA, RSA, and ECDSA with SHA2 algorithms.

このセクションでは、SHA2アルゴリズムでDSA、RSA、およびECDSAをサポートするCMS実装で採用されている規則を指定します。

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

署名アルゴリズム識別子は、SignedDataのSignerInfo signatureAlgorithmフィールドにあります。また、署名アルゴリズム識別子は、副署名属性のSignerInfo signatureAlgorithmフィールドにあります。

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

署名の値は、SignedDataのSignerInfo署名フィールドにあります。また、署名値は、副署名属性のSignerInfo署名フィールドにあります。

3.1. DSA
3.1. DSA

[RFC3370], Section 3.1, specifies the conventions for DSA with SHA-1 public key algorithm identifiers, parameters, public keys, and signature values. DSA with SHA2 algorithms uses the same conventions for these public key algorithm identifiers, parameters, public keys, and signature values. DSA MAY be used with SHA-224 and SHA-256. The object identifiers are taken from [RFC5758].

[RFC3370]のセクション3.1では、SHA-1公開鍵アルゴリズムの識別子、パラメーター、公開鍵、および署名値を使用したDSAの規則を指定しています。 SHA2アルゴリズムを使用するDSAは、これらの公開鍵アルゴリズムの識別子、パラメーター、公開鍵、および署名値に同じ規則を使用します。 DSAはSHA-224およびSHA-256で使用できます。オブジェクト識別子は[RFC5758]から取られます。

DSA has not been specified with SHA-384 and SHA-512. SHA-384 and SHA-512 are not supported because the maximum bit length of p (specified as L) is 3072 for DSA. For consistent cryptographic strength, SHA-384 would be used with DSA where L is 7680, and SHA-512 would be used with DSA where L is 15360.

DSAは、SHA-384およびSHA-512では指定されていません。 DSAの場合、pの最大ビット長(Lとして指定)は3072であるため、SHA-384およびSHA-512はサポートされません。一貫した暗号強度のために、Lが7680であるDSAでSHA-384が使用され、Lが15360であるDSAでSHA-512が使用されます。

The algorithm identifier for DSA with SHA-224 signature values is:

SHA-224署名値を持つDSAのアルゴリズム識別子は次のとおりです。

      id-dsa-with-sha224 OBJECT IDENTIFIER ::=  {
        joint-iso-ccitt(2) country(16) us(840) organization(1) gov(101)
        csor(3) algorithms(4) id-dsa-with-sha2(3) 1 }
        

The algorithm identifier for DSA with SHA-256 signature values is:

SHA-256署名値を持つDSAのアルゴリズム識別子は次のとおりです。

      id-dsa-with-sha256 OBJECT IDENTIFIER ::=  {
        joint-iso-ccitt(2) country(16) us(840) organization(1) gov(101)
        csor(3) algorithms(4) id-dsa-with-sha2(3) 2 }
        

When either of these algorithm identifiers is used, the AlgorithmIdentifier parameters field MUST be absent.

これらのアルゴリズム識別子のいずれかが使用される場合、AlgorithmIdentifierパラメータフィールドは存在しない必要があります。

The SMIMECapabilities attribute value indicates support for one of the DSA signature algorithms in a SEQUENCE with the capabilityID field containing the object identifier id-dsa-with-sha* (where * is 224 or 256) with absent parameters. The DER encodings for these SMIMECapability values are:

SMIMECapabilities属性値は、パラメーターのないオブジェクトID id-dsa-with-sha *(*は224または256)を含むcapabilityIDフィールドを持つSEQUENCE内のDSA署名アルゴリズムの1つがサポートされていることを示します。これらのSMIMECapability値のDERエンコードは次のとおりです。

id-dsa-with-sha224: 30 0b 06 09 60 86 48 01 65 03 04 03 01

id-dsa-with-sha224:30 0b 06 09 60 86 48 01 65 03 04 03 01

id-dsa-with-sha256: 30 0b 06 09 60 86 48 01 65 03 04 03 02

id-dsa-with-sha256:30 0b 06 09 60 86 48 01 65 03 04 03 02

3.2. RSA
3.2. RSA

[RFC3370], Section 3.2, specifies the conventions for RSA with SHA-1 (RSASSA-PKCS1-v1_5) public key algorithm identifiers, parameters, public keys, and signature values. RSA with SHA2 algorithms uses the same conventions for these public key algorithm identifiers, parameters, public keys, and signature values. RSA (RSASSA-PKCS1-v1_5) [RFC3447] MAY be used with SHA-224, SHA-256, SHA-384, or SHA-512. The object identifiers are taken from [RFC4055].

[RFC3370]の3.2項では、SHA-1を使用したRSA(RSASSA-PKCS1-v1_5)公開鍵アルゴリズムの識別子、パラメーター、公開鍵、および署名値の規則を指定しています。 SHA2アルゴリズムを使用するRSAは、これらの公開鍵アルゴリズムの識別子、パラメーター、公開鍵、および署名値に同じ規則を使用します。 RSA(RSASSA-PKCS1-v1_5)[RFC3447]は、SHA-224、SHA-256、SHA-384、またはSHA-512で使用できます。オブジェクト識別子は[RFC4055]から取得されます。

The object identifier for RSA with SHA-224 signature values is:

SHA-224署名値を持つRSAのオブジェクト識別子は次のとおりです。

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

The object identifier for RSA with SHA-256 signature values is:

SHA-256署名値を持つRSAのオブジェクト識別子は次のとおりです。

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

The object identifier for RSA with SHA-384 signature values is:

SHA-384署名値を持つRSAのオブジェクト識別子は次のとおりです。

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

The object identifier for RSA with SHA-512 signature values is:

SHA-512署名値を持つRSAのオブジェクト識別子は次のとおりです。

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

When any of these four object identifiers appears within an AlgorithmIdentifier, the parameters MUST be NULL. Implementations MUST accept the parameters being absent as well as present.

これら4つのオブジェクト識別子のいずれかがAlgorithmIdentifier内にある場合、パラメーターはNULLでなければなりません。実装は、存在するだけでなく、存在しないパラメーターを受け入れる必要があります。

The SMIMECapabilities attribute value indicates support for one of the DSA signature algorithms in a SEQUENCE with the capabilityID field containing the object identifier sha*WithRSAEncryption (where * is 224, 256, 384, or 512) with NULL parameters. The DER encodings for these SMIMECapability values are:

SMIMECapabilities属性値は、NULLパラメータを指定したオブジェクトID sha * WithRSAEncryption(*は224、256、384、または512)を含むcapabilityIDフィールドを持つSEQUENCE内のDSA署名アルゴリズムの1つがサポートされていることを示します。これらのSMIMECapability値のDERエンコードは次のとおりです。

sha224WithRSAEncryption: 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0e 05 00

sha224WithRSAEncryption:30 0d 06 09 2a 86 48 86 f7 0d 01 01 0e 05 00

sha256WithRSAEncryption: 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00

sha256WithRSAEncryption:30 0d 06 09 2a 86 48 86 f7 0d 01 01 0b 05 00

sha384WithRSAEncryption: 30 0d 06 09 2a 86 48 86 f7 0d 01 01 Oc 05 00

sha384WithRSAEncryption:30 0d 06 09 2a 86 48 86 f7 0d 01 01 Oc 05 00

sha512WithRSAEncryption: 30 0d 06 09 2a 86 48 86 f7 0d 01 01 0d 05 00

sha512WithRSAEncryption:30 0d 06 09 2a 86 48 86 f7 0d 01 01 0d 05 00

3.3. ECDSA
3.3. ECDSA

[RFC5753], Section 2.1, specifies the conventions for ECDSA with SHA-* (where * is 1, 224, 256, 384, or 512) public key algorithm identifiers, parameters, public keys, and signature values. The object identifiers, which are included below for convenience, are taken from [RFC5758].

[RFC5753]のセクション2.1では、SHA- *(*は1、224、256、384、または512)を使用したECDSAの規則を公開鍵アルゴリズムの識別子、パラメーター、公開鍵、および署名値に指定しています。便宜上以下に含まれるオブジェクト識別子は、[RFC5758]から取得されます。

The algorithm identifier for ECDSA with SHA-224 signature values is:

SHA-224署名値を持つECDSAのアルゴリズム識別子は次のとおりです。

      ecdsa-with-SHA224 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
        us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 1 }
        

The algorithm identifier for ECDSA with SHA-256 signature values is:

SHA-256署名値を持つECDSAのアルゴリズム識別子は次のとおりです。

      ecdsa-with-SHA256 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
        us(840)ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 2 }
        

The algorithm identifier for ECDSA with SHA-384 signature values is:

SHA-384署名値を持つECDSAのアルゴリズム識別子は次のとおりです。

      ecdsa-with-SHA384 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
        us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 3 }
        

The algorithm identifier for ECDSA with SHA-512 signature values is:

SHA-512署名値を持つECDSAのアルゴリズム識別子は次のとおりです。

      ecdsa-with-SHA512 OBJECT IDENTIFIER ::= { iso(1) member-body(2)
        us(840) ansi-X9-62(10045) signatures(4) ecdsa-with-SHA2(3) 4 }
        

When any of these four object identifiers appears within an AlgorithmIdentifier, the parameters field MUST be absent. That is, the AlgorithmIdentifier SHALL be a SEQUENCE of one component: the OID ecdsa-with-SHA224, ecdsa-with-SHA256, ecdsa-with-SHA384, or ecdsa-with-SHA512.

これら4つのオブジェクト識別子のいずれかがAlgorithmIdentifier内にある場合、parametersフィールドは存在しない必要があります。つまり、AlgorithmIdentifierは、1つのコンポーネントのシーケンスである必要があります。

The SMIMECapabilities attribute value indicates support for one of the ECDSA signature algorithms in a SEQUENCE with the capabilityID field containing the object identifier ecdsa-with-SHA1* (where * is 224, 256, 384, or 512) with absent parameters. The DER encodings for these SMIMECapability values are:

SMIMECapabilities属性値は、SEQUENCE内のECDSA署名アルゴリズムの1つが、パラメーターが存在しないオブジェクトID ecdsa-with-SHA1 *(*は224、256、384、または512)を含むcapabilityIDフィールドでサポートされていることを示します。これらのSMIMECapability値のDERエンコードは次のとおりです。

ecdsa-with-SHA224: 30 0a 06 08 2a 86 48 ce 3d 04 03 01

ecdsa-with-SHA224:30 0a 06 08 2a 86 48 ce 3d 04 03 01

ecdsa-with-SHA256: 30 0a 06 08 2a 86 48 ce 3d 04 03 02

ecdsa-with-SHA256:30 0a 06 08 2a 86 48 ce 3d 04 03 02

ecdsa-with-SHA384: 30 0a 06 08 2a 86 48 ce 3d 04 03 03

ecdsa-with-SHA384:30 0a 06 08 2a 86 48 ce 3d 04 03 03

ecdsa-with-SHA512: 30 0a 06 08 2a 86 48 ce 3d 04 03 04

ecdsa-with-SHA512:30 0a 06 08 2a 86 48 ce 3d 04 03 04

4. Security Considerations
4. セキュリティに関する考慮事項

The security considerations in [RFC3370], [RFC3874], [RFC4055], [RFC5753], and [RFC5758] apply. No new security considerations are introduced as a result of this specification.

[RFC3370]、[RFC3874]、[RFC4055]、[RFC5753]、および[RFC5758]のセキュリティに関する考慮事項が適用されます。この仕様の結果として、新しいセキュリティの考慮事項は導入されていません。

5. References
5. 参考文献
5.1. Normative References
5.1. 引用文献

[DSS] National Institute of Standards and Technology (NIST), FIPS Publication 186-3: Digital Signature Standard, June 2009.

[DSS]国立標準技術研究所(NIST)、FIPS Publication 186-3:Digital Signature Standard、2009年6月。

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.

[RFC2119] Bradner、S。、「要件レベルを示すためにRFCで使用するキーワード」、BCP 14、RFC 2119、1997年3月。

[RFC3370] Housley, R., "Cryptographic Message Syntax (CMS) Algorithms", RFC 3370, August 2002.

[RFC3370] Housley、R。、「Cryptographic Message Syntax(CMS)Algorithms」、RFC 3370、2002年8月。

[RFC3447] Jonsson, J. and B. Kaliski, "Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1", RFC 3447, February 2003.

[RFC3447] Jonsson、J。およびB. Kaliski、「Public-Key Cryptography Standards(PKCS)#1:RSA Cryptography Specifications Version 2.1」、RFC 3447、2003年2月。

[RFC3874] Housley, R., "A 224-bit One-way Hash Function: SHA-224", RFC 3874, September 2004.

[RFC3874] Housley、R。、「224ビット一方向ハッシュ関数:SHA-224」、RFC 3874、2004年9月。

[RFC4055] Schaad, J., Kaliski, B., and R. Housley, "Additional Algorithms and Identifiers for RSA Cryptography for use in the Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 4055, June 2005.

[RFC4055] Schaad、J.、Kaliski、B。、およびR. Housley、「インターネットX.509公開鍵インフラストラクチャ証明書および証明書失効リスト(CRL)プロファイルで使用するためのRSA暗号化の追加のアルゴリズムと識別子」、RFC 4055 、2005年6月。

[RFC5652] Housley, R., "Cryptographic Message Syntax (CMS)", RFC 5652, September 2009.

[RFC5652] Housley、R。、「Cryptographic Message Syntax(CMS)」、RFC 5652、2009年9月。

[RFC5751] Ramsdell, B. and S. Turner, "Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Message Specification", RFC 5751, January 2010.

[RFC5751] Ramsdell、B。およびS. Turner、「Secure / Multipurpose Internet Mail Extensions(S / MIME)Version 3.2 Message Specification」、RFC 5751、2010年1月。

[RFC5753] Turner, S. and D. Brown, "Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax (CMS)", RFC 5753, January 2010.

[RFC5753]ターナーS.およびD.ブラウン、「暗号化メッセージ構文(CMS)での楕円曲線暗号化(ECC)アルゴリズムの使用」、RFC 5753、2010年1月。

[RFC5758] Dang, Q., Santesson, S., Moriarty, K., Brown, D., and T. Polk, "Internet X.509 Public Key Infrastructure: Additional Algorithms and Identifiers for DSA and ECDSA", RFC 5758, January 2010.

[RFC5758] Dang、Q.、Santesson、S.、Moriarty、K.、Brown、D。、およびT. Polk、「Internet X.509 Public Key Infrastructure:Additional Algorithms and Identifiers for DSA and ECDSA」、RFC 5758、 2010年1月。

[SHS] National Institute of Standards and Technology (NIST), FIPS Publication 180-3: Secure Hash Standard, October 2008.

[SHS]米国国立標準技術研究所(NIST)、FIPS Publication 180-3:Secure Hash Standard、2008年10月。

5.2. Informative References
5.2. 参考引用

[RFC4231] Nystrom, M., "Identifiers and Test Vectors for HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512", RFC 4231, December 2005.

[RFC4231] Nystrom、M。、「HMAC-SHA-224、HMAC-SHA-256、HMAC-SHA-384、およびHMAC-SHA-512の識別子とテストベクトル」、RFC 4231、2005年12月。

[RFC4634] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and HMAC-SHA)", RFC 4634, July 2006.

[RFC4634] Eastlake 3rd、D。およびT. Hansen、「US Secure Hash Algorithms(SHA and HMAC-SHA)」、RFC 4634、2006年7月。

Author's Address

著者のアドレス

Sean Turner IECA, Inc. 3057 Nutley Street, Suite 106 Fairfax, VA 22031 USA

Sean Turner IECA、Inc. 3057 Nutley Street、Suite 106 Fairfax、VA 22031 USA

   EMail: turners@ieca.com