6162
PROPOSED STANDARD

Elliptic Curve Algorithms for Cryptographic Message Syntax (CMS) Asymmetric Key Package Content Type

Authors: S. Turner
Date: April 2011
Working Group: NON WORKING GROUP
Stream: IETF
Updates: RFC 5959

Abstract

This document describes conventions for using Elliptic Curve cryptographic algorithms with SignedData and EnvelopedData to protect the AsymmetricKeyPackage content type. Specifically, it includes conventions necessary to implement Elliptic Curve Diffie-Hellman (ECDH) with EnvelopedData and Elliptic Curve Digital Signature Algorithm (ECDSA) with SignedData. This document extends RFC 5959. [STANDARDS-TRACK]

RFC 6162: Elliptic Curve Algorithms for Cryptographic Message Syntax (CMS) Asymmetric Key Package Content Type [RFC Home] [TEXT|PDF|HTML] [Tracker] [IPR] [Info page]

PROPOSED STANDARD
Internet Engineering Task Force (IETF)                         S. Turner
Request for Comments: 6162                                          IECA
Updates: <a href="./rfc5959">5959</a>                                                 April 2011
Category: Standards Track
ISSN: 2070-1721


    <span class="h1">Elliptic Curve Algorithms for Cryptographic Message Syntax (CMS)</span>
                  <span class="h1">Asymmetric Key Package Content Type</span>

Abstract

   This document describes conventions for using Elliptic Curve
   cryptographic algorithms with SignedData and EnvelopedData to protect
   the AsymmetricKeyPackage content type.  Specifically, it includes
   conventions necessary to implement Elliptic Curve Diffie-Hellman
   (ECDH) with EnvelopedData and Elliptic Curve Digital Signature
   Algorithm (ECDSA) with SignedData.  This document extends <a href="./rfc5959">RFC 5959</a>.

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 <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   <a href="https://www.rfc-editor.org/info/rfc6162">http://www.rfc-editor.org/info/rfc6162</a>.

Copyright Notice

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

   This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) 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.




<span class="grey">Turner                       Standards Track                    [Page 1]</span>

<span id="page-2" ></span>
<span class="grey"><a href="./rfc6162">RFC 6162</a>      EC Algorithms for CMS Asymmetric Key Packages   April 2011</span>


<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>.  Introduction</span>

   [<a id="ref-RFC5959">RFC5959</a>] describes conventions necessary to protect the
   AsymmetricKeyPackage content type [<a href="./rfc5958" title=""Asymmetric Key Packages"">RFC5958</a>] with Cryptographic
   Message Syntax (CMS) protecting the following content types:
   SignedData [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>], EnvelopedData [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>], EncryptedData
   [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>], AuthenticatedData [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>], and AuthEnvelopedData
   [<a href="./rfc5083" title=""Cryptographic Message Syntax (CMS) Authenticated-Enveloped-Data Content Type"">RFC5083</a>].  This document amends [<a href="./rfc5959" title=""Algorithms for Asymmetric Key Package Content Type"">RFC5959</a>] by extending the
   algorithms used with SignedData and EnvelopedData to include Elliptic
   Curve Digital Signature Algorithm (ECDSA) and Elliptic Curve Diffie-
   Hellman (ECDH), respectively.  Familiarity with [<a href="./rfc5959" title=""Algorithms for Asymmetric Key Package Content Type"">RFC5959</a>] and
   [<a href="./rfc5753" title=""Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax (CMS)"">RFC5753</a>] is assumed.

   This document does not define any new algorithms; instead, it refers
   to previously defined algorithms.

<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>  Terminology</span>

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in
   [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].

<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>.  AsymmetricKeyPackage</span>

   As noted in Asymmetric Key Packages [<a href="./rfc5958" title=""Asymmetric Key Packages"">RFC5958</a>], CMS can be used to
   protect the AsymmetricKeyPackage.  The following provides guidance
   for SignedData [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>] and EnvelopedData [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>] when used with
   Elliptic Curve algorithms.

<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>.  SignedData</span>

   If an implementation supports SignedData, then it MAY support ECDSA
   [<a href="./rfc6090" title=""Fundamental Elliptic Curve Cryptography Algorithms"">RFC6090</a>][RFC5753].

<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>.  EnvelopedData</span>

   When key agreement is used, standard (as opposed to cofactor) ECDH
   [<a href="./rfc6090" title=""Fundamental Elliptic Curve Cryptography Algorithms"">RFC6090</a>][RFC5753] MAY be supported.

<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>.  Public Key Sizes</span>

   The easiest way to implement SignedData and EnvelopedData is with
   public key certificates [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>][RFC5480].  If an implementation
   supports ECDSA or ECDH, then it MUST support keys on the P-256 curve.






<span class="grey">Turner                       Standards Track                    [Page 2]</span>

<span id="page-3" ></span>
<span class="grey"><a href="./rfc6162">RFC 6162</a>      EC Algorithms for CMS Asymmetric Key Packages   April 2011</span>


<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>.  Security Considerations</span>

   The security considerations from [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>], [<a href="./rfc5480" title=""Elliptic Curve Cryptography Subject Public Key Information"">RFC5480</a>], [<a href="./rfc5652" title=""Cryptographic Message Syntax (CMS)"">RFC5652</a>],
   [<a href="./rfc5753" title=""Use of Elliptic Curve Cryptography (ECC) Algorithms in Cryptographic Message Syntax (CMS)"">RFC5753</a>], [<a href="./rfc5959" title=""Algorithms for Asymmetric Key Package Content Type"">RFC5959</a>], and [<a href="./rfc6090" title=""Fundamental Elliptic Curve Cryptography Algorithms"">RFC6090</a>] apply.

<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>.  References</span>

<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>.  Normative References</span>

   [<a id="ref-RFC2119">RFC2119</a>]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.

   [<a id="ref-RFC5280">RFC5280</a>]  Cooper, D., Santesson, S., Farrell, S., Boeyen, S.,
              Housley, R., and W. Polk, "Internet X.509 Public Key
              Infrastructure Certificate and Certificate Revocation List
              (CRL) Profile", <a href="./rfc5280">RFC 5280</a>, May 2008.

   [<a id="ref-RFC5480">RFC5480</a>]  Turner, S., Brown, D., Yiu, K., Housley, R., and T. Polk,
              "Elliptic Curve Cryptography Subject Public Key
              Information", <a href="./rfc5480">RFC 5480</a>, March 2009.

   [<a id="ref-RFC5652">RFC5652</a>]  Housley, R., "Cryptographic Message Syntax (CMS)", STD 70,
              <a href="./rfc5652">RFC 5652</a>, September 2009.

   [<a id="ref-RFC5753">RFC5753</a>]  Turner, S. and D. Brown, "Use of Elliptic Curve
              Cryptography (ECC) Algorithms in Cryptographic Message
              Syntax (CMS)", <a href="./rfc5753">RFC 5753</a>, January 2010.

   [<a id="ref-RFC5958">RFC5958</a>]  Turner, S., "Asymmetric Key Packages", <a href="./rfc5958">RFC 5958</a>, August
              2010.

   [<a id="ref-RFC5959">RFC5959</a>]  Turner, S., "Algorithms for Asymmetric Key Package Content
              Type", <a href="./rfc5959">RFC 5959</a>, August 2010.

   [<a id="ref-RFC6090">RFC6090</a>]  McGrew, D., Igoe, K., and M. Salter, "Fundamental Elliptic
              Curve Cryptography Algorithms", <a href="./rfc6090">RFC 6090</a>, February 2011.

<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>.  Informative Reference</span>

   [<a id="ref-RFC5083">RFC5083</a>]  Housley, R., "Cryptographic Message Syntax (CMS)
              Authenticated-Enveloped-Data Content Type", <a href="./rfc5083">RFC 5083</a>,
              November 2007.









<span class="grey">Turner                       Standards Track                    [Page 3]</span>

<span id="page-4" ></span>
<span class="grey"><a href="./rfc6162">RFC 6162</a>      EC Algorithms for CMS Asymmetric Key Packages   April 2011</span>


Author's Address

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

   EMail: [email protected]










































Turner                       Standards Track                    [Page 4]

Additional Resources