RFC 6162
Elliptic Curve Algorithms for Cryptographic Message Syntax (CMS) Asymmetric Key Package Content Type
RFC 6162 β Elliptic Curve Algorithms for Cryptographic Message Syntax (CMS) Asymmetric Key Package Content Type β¨
Okay bestie, let's get into this one. π It's a Standards Track doc from April 2011, written by Sean Turner of IECA, and it updates RFC 5959 π (it's also an extension of that doc, so you'll want to read them together). It's an official IETF standards-track spec, so people building real software actually rely on every word. π«Ά
1. Introduction π¦
[RFC5959] is the one that explains how to protect the AsymmetricKeyPackage content type [RFC5958] using Cryptographic Message Syntax (CMS). It covers SignedData [RFC5652], EnvelopedData [RFC5652], EncryptedData [RFC5652], AuthenticatedData [RFC5652], and AuthEnvelopedData [RFC5083]. This doc levels that up by adding Elliptic Curve Digital Signature Algorithm (ECDSA) for SignedData and Elliptic Curve Diffie-Hellman (ECDH) for EnvelopedData. You need to be familiar with [RFC5959] and [RFC5753] first, no cap. π
This document does not define any new algorithms; instead, it refers to previously defined algorithms. β¨
1.1. Terminology πΈ
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 [RFC2119]. π
2. AsymmetricKeyPackage π
As noted in Asymmetric Key Packages [RFC5958], CMS can be used to protect the AsymmetricKeyPackage. Here's the guidance for SignedData [RFC5652] and EnvelopedData [RFC5652] when you're using Elliptic Curve algorithms. π§
2.1. SignedData π
If an implementation supports SignedData, then it MAY support ECDSA [RFC6090][RFC5753]. π₯
2.2. EnvelopedData π
When key agreement is used, standard (as opposed to cofactor) ECDH [RFC6090][RFC5753] MAY be supported. β
3. Public Key Sizes π
The easiest way to implement SignedData and EnvelopedData is with public key certificates [RFC5280][RFC5480]. If an implementation supports ECDSA or ECDH, then it MUST support keys on the P-256 curve. Non-negotiable, periodt. π β¨
4. Security Considerations π
The security considerations from [RFC5280], [RFC5480], [RFC5652], [RFC5753], [RFC5959], and [RFC6090] apply. Please go read those, because they're serious business. π
5. References π
5.1. Normative References π¦
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC5280] 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", RFC 5280, May 2008.
[RFC5480] Turner, S., Brown, D., Yiu, K., Housley, R., and T. Polk,
"Elliptic Curve Cryptography Subject Public Key
Information", RFC 5480, March 2009.
[RFC5652] Housley, R., "Cryptographic Message Syntax (CMS)", STD 70,
RFC 5652, September 2009.
[RFC5753] Turner, S. and D. Brown, "Use of Elliptic Curve
Cryptography (ECC) Algorithms in Cryptographic Message
Syntax (CMS)", RFC 5753, January 2010.
[RFC5958] Turner, S., "Asymmetric Key Packages", RFC 5958, August
2010.
[RFC5959] Turner, S., "Algorithms for Asymmetric Key Package Content
Type", RFC 5959, August 2010.
[RFC6090] McGrew, D., Igoe, K., and M. Salter, "Fundamental Elliptic
Curve Cryptography Algorithms", RFC 6090, February 2011.
5.2. Informative Reference πΈ
[RFC5083] Housley, R., "Cryptographic Message Syntax (CMS)
Authenticated-Enveloped-Data Content Type", RFC 5083,
November 2007.
Author's Address π
Sean Turner IECA, Inc. 3057 Nutley Street, Suite 106 Fairfax, VA 22031 USA
EMail: turners@ieca.com
π¦ where this page comes from
- ietf: rfc6162 2011-04
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms