网页 综合 更新时间 2010-01-25 00:00:00

RFC 5754: Using SHA2 Algorithms with Cryptographic Message Syntax | RFC Editor

自动蜘蛛 www.rfc-editor.org 正文约 6000 字
RFC 5754: Using SHA2 Algorithms with Cryptographic Message Syntax | RFC Editor
Skip to content Primary navigationThe RFC SeriesFor AuthorsAbout UsHomeRFC 5754 View as: Plain Text, Compact HTML Info RFC 5754: Using SHA2 Algorithms with Cryptographic Message SyntaxECDSAMD5RSASHAS/MIMEJanuary 2010. S. TurnerProposed StandardSubscribe7 subscribed Add to Set Added to 2 Sets Read aloud 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 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. Status of This Memo This is an Internet Standards Track document. 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. 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. Copyright Notice Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved. 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. Turner Standards Track [Page 1] RFC 5754 Using SHA2 Algorithms with CMS January 2010 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. 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 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]. 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]. 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. Turner Standards Track [Page 2] RFC 5754 Using SHA2 Algorithms with CMS January 2010 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. In the CMS, the various algorithm identifiers use the AlgorithmIdentifier syntax, which is included here for convenience: 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: SMIMECapability ::= SEQUENCE { capabilityID OBJECT IDENTIFIER, parameters ANY DEFINED BY capabilityID OPTIONAL } 1.1. Conventions Used in This Document 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]. 2. Message Digest Algorithms Digest algorithm identifiers are located in the SignedData digestAlgorithms field, the SignerInfo digestAlgorithm field, the DigestedData digestAlg
访问原文 返回搜索 https://www.rfc-editor.org/info/rfc5754
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。