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