idnits 2.17.00 (12 Aug 2021) /tmp/idnits2466/draft-ietf-smime-3278bis-08.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- ** The document seems to lack a License Notice according IETF Trust Provisions of 28 Dec 2009, Section 6.b.i or Provisions of 12 Sep 2009 Section 6.b -- however, there's a paragraph with a matching beginning. Boilerplate error? (You're using the IETF Trust Provisions' Section 6.b License Notice from 12 Feb 2009 rather than one of the newer Notices. See https://trustee.ietf.org/license-info/.) Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- No issues found here. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year -- The document seems to contain a disclaimer for pre-RFC5378 work, and may have content which was first submitted before 10 November 2008. The disclaimer is necessary when there are original authors that you have been unable to contact, or if some do not wish to grant the BCP78 rights to the IETF Trust. If you are able to get all authors (current and original) to grant those rights, you can and should remove the disclaimer; otherwise, the disclaimer is needed and you can ignore this comment. (See the Legal Provisions document at https://trustee.ietf.org/license-info for more information.) -- The document date (May 29, 2009) is 4739 days in the past. Is this intentional? -- Found something which looks like a code comment -- if you have code sections in the document, please surround them with '' and '' lines. Checking references for intended status: Informational ---------------------------------------------------------------------------- -- Looks like a reference, but probably isn't: '0' on line 2353 -- Looks like a reference, but probably isn't: '2' on line 2354 ** Obsolete normative reference: RFC 3852 (ref. 'CMS') (Obsoleted by RFC 5652) == Outdated reference: draft-ietf-smime-sha2 has been published as RFC 5754 == Outdated reference: draft-ietf-smime-3851bis has been published as RFC 5751 == Outdated reference: draft-ietf-smime-new-asn1 has been published as RFC 5911 -- Obsolete informational reference (is this intentional?): RFC 3278 (ref. 'CMS-ECC') (Obsoleted by RFC 5753) == Outdated reference: draft-ietf-pkix-new-asn1 has been published as RFC 5912 Summary: 2 errors (**), 0 flaws (~~), 5 warnings (==), 6 comments (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 1 S/MIME WG Sean Turner, IECA 2 Internet Draft Dan Brown, Certicom 3 Intended Status: Informational May 29, 2009 4 Obsoletes: 3278 (once approved) 5 Expires: November 29, 2009 7 Use of Elliptic Curve Cryptography (ECC) Algorithms 8 in Cryptographic Message Syntax (CMS) 9 draft-ietf-smime-3278bis-08.txt 11 Status of this Memo 13 This Internet-Draft is submitted to IETF in full conformance with the 14 provisions of BCP 78 and BCP 79. This document may contain material 15 from IETF Documents or IETF Contributions published or made publicly 16 available before November 10, 2008. The person(s) controlling the 17 copyright in some of this material may not have granted the IETF 18 Trust the right to allow modifications of such material outside the 19 IETF Standards Process. Without obtaining an adequate license from 20 the person(s) controlling the copyright in such materials, this 21 document may not be modified outside the IETF Standards Process, and 22 derivative works of it may not be created outside the IETF Standards 23 Process, except to format it for publication as an RFC or to 24 translate it into languages other than English. 26 Internet-Drafts are working documents of the Internet Engineering 27 Task Force (IETF), its areas, and its working groups. Note that 28 other groups may also distribute working documents as Internet- 29 Drafts. 31 Internet-Drafts are draft documents valid for a maximum of six months 32 and may be updated, replaced, or obsoleted by other documents at any 33 time. It is inappropriate to use Internet-Drafts as reference 34 material or to cite them other than as "work in progress." 36 The list of current Internet-Drafts can be accessed at 37 http://www.ietf.org/ietf/1id-abstracts.txt 39 The list of Internet-Draft Shadow Directories can be accessed at 40 http://www.ietf.org/shadow.html 42 This Internet-Draft will expire on November 29, 2009. 44 Copyright Notice 46 Copyright (c) 2009 IETF Trust and the persons identified as the 47 document authors. All rights reserved. 49 This document is subject to BCP 78 and the IETF Trust's Legal 50 Provisions Relating to IETF Documents in effect on the date of 51 publication of this document (http://trustee.ietf.org/license-info). 52 Please review these documents carefully, as they describe your rights 53 and restrictions with respect to this document. 55 Abstract 57 This document describes how to use Elliptic Curve Cryptography (ECC) 58 public-key algorithms in the Cryptographic Message Syntax (CMS). The 59 ECC algorithms support the creation of digital signatures and the 60 exchange of keys to encrypt or authenticate content. The definition 61 of the algorithm processing is based on the NIST FIPS 186-3 for 62 digital signature, NIST SP800-56A and SEC1 for key agreement, RFC 63 3370 and RFC 3565 for key wrap and content encryption, NIST FIPS 180- 64 3 for message digest, SEC1 for key derivation, and RFC 2104 and RFC 65 4231 for message authentication code standards. This document 66 obsoletes RFC 3278. 68 Discussion 70 This draft is being discussed on the 'ietf-smime' mailing list. To 71 subscribe, send a message to ietf-smime-request@imc.org with the 72 single word subscribe in the body of the message. There is a Web site 73 for the mailing list at . 75 Table of Contents 77 1. Introduction...................................................3 78 1.1. Requirements Terminology..................................4 79 2. SignedData using ECC...........................................4 80 2.1. SignedData using ECDSA....................................4 81 3. EnvelopedData using ECC Algorithms.............................5 82 3.1. EnvelopedData using (ephemeral-static) ECDH...............5 83 3.2. EnvelopedData using 1-Pass ECMQV..........................8 84 4. AuthenticatedData and AuthEnvelopedData using ECC.............10 85 4.1. AuthenticatedData using 1-pass ECMQV.....................11 86 4.2. AuthEnvelopedData using 1-pass ECMQV.....................12 87 5. Certificates using ECC........................................13 88 6. SMIMECapabilities Attribute and ECC...........................13 89 7. ASN.1 Syntax..................................................21 90 7.1. Algorithm Identifiers....................................21 91 7.2. Other Syntax.............................................24 92 8. Recommended Algorithms and Elliptic Curves....................26 93 9. Security Considerations.......................................28 94 10. IANA Considerations..........................................33 95 11. References...................................................33 96 11.1. Normative...............................................33 97 11.2. Informative.............................................35 98 Appendix A ASN.1 Modules.........................................36 99 Appendix A.1 1988 ASN.1 Module................................36 100 Appendix A.2 2004 ASN.1 Module................................43 101 Appendix B Changes since RFC 3278................................57 102 Acknowledgements.................................................59 103 Author's Addresses...............................................59 105 1. Introduction 107 The Cryptographic Message Syntax (CMS) is cryptographic algorithm 108 independent. This specification defines a profile for the use of 109 Elliptic Curve Cryptography (ECC) public key algorithms in the CMS. 110 The ECC algorithms are incorporated into the following CMS content 111 types: 113 - 'SignedData' to support ECC-based digital signature methods 114 (ECDSA) to sign content; 116 - 'EnvelopedData' to support ECC-based public-key agreement 117 methods (ECDH and ECMQV) to generate pairwise key-encryption 118 keys to encrypt content-encryption keys used for content 119 encryption; 121 - 'AuthenticatedData' to support ECC-based public-key agreement 122 methods (ECMQV) to generate pairwise key-encryption keys to 123 encrypt message-authentication keys used for content 124 authentication and integrity; and, 126 - 'AuthEnvelopedData' to support ECC-based public-key agreement 127 methods (ECMQV) to generate pairwise key-encryption keys to 128 encrypt message-authentication and content-encryption keys used 129 for content authentication, integrity, and encryption. 131 Certification of EC public keys is also described to provide public- 132 key distribution in support of the specified techniques. 134 The document will obsolete [CMS-ECC]. The technical changes 135 performed since RFC 3278 are detailed in Appendix B. 137 1.1. Requirements Terminology 139 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 140 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 141 document are to be interpreted as described in [MUST]. 143 2. SignedData using ECC 145 This section describes how to use ECC algorithms with the CMS 146 SignedData format to sign data. 148 2.1. SignedData using ECDSA 150 This section describes how to use the Elliptic Curve Digital 151 Signature Algorithm (ECDSA) with SignedData. ECDSA is specified in 152 [FIPS186-3]. The method is the elliptic curve analog of the Digital 153 Signature Algorithm (DSA) [FIPS186-3]. ECDSA is used with the Secure 154 Hash Algorithm (SHA) [FIPS180-3]. 156 In an implementation that uses ECDSA with CMS SignedData, the 157 following techniques and formats MUST be used. 159 2.1.1. Fields of the SignedData 161 When using ECDSA with SignedData, the fields of SignerInfo are as in 162 [CMS], but with the following restrictions: 164 - digestAlgorithm MUST contain the algorithm identifier of the hash 165 algorithm (see Section 7.1.1) which MUST be one of the 166 following: id-sha1, id-sha224, id-sha256, id-sha384, or id- 167 sha512. 169 - signatureAlgorithm contains the signature algorithm identifier 170 (see Section 7.1.3): ecdsa-with-SHA1, ecdsa-with-SHA224, ecdsa- 171 with-SHA256, ecdsa-with-SHA384, or ecdsa-with-SHA512. The hash 172 algorithm identified in the name of the signature algorithm MUST 173 be the same as the digestAlgorithm (e.g., digestAlgorithm is id- 174 sha256 therefore signatureAlgorithm is ecdsa-with-SHA256). 176 - signature MUST contain the DER encoding (as an octet string) of a 177 value of the ASN.1 type ECDSA-Sig-Value (see Section 7.2). 179 When using ECDSA, the SignedData certificates field MAY include the 180 certificate(s) for the EC public key(s) used in the generation of the 181 ECDSA signatures in SignedData. ECC certificates are discussed in 182 Section 5. 184 2.1.2. Actions of the sending agent 186 When using ECDSA with SignedData, the sending agent uses the message 187 digest calculation process and signature generation process for 188 SignedData that are specified in [CMS]. To sign data, the sending 189 agent uses the signature method specified in [FIPS186-3]. 191 The sending agent encodes the resulting signature using the 192 ECDSA-Sig-Value syntax (see Section 7.2) and places it in the 193 SignerInfo signature field. 195 2.1.3. Actions of the receiving agent 197 When using ECDSA with SignedData, the receiving agent uses the 198 message digest calculation process and signature verification process 199 for SignedData that are specified in [CMS]. To verify SignedData, 200 the receiving agent uses the signature verification method specified 201 in [FIPS186-3]. 203 In order to verify the signature, the receiving agent retrieves the 204 integers r and s from the SignerInfo signature field of the received 205 message. 207 3. EnvelopedData using ECC Algorithms 209 This section describes how to use ECC algorithms with the CMS 210 EnvelopedData format. 212 This document does not specify the static-static ECDH, method C(0,2, 213 ECC CDH) from [SP800-56A]. Static-static ECDH is analogous to 214 static-static DH, which is specified in [CMS-ALG]. Ephemeral-static 215 ECDH and 1-Pass ECMQV were specified because they provide better 216 security due to the originator's ephemeral contribution to the key 217 agreement scheme. 219 3.1. EnvelopedData using (ephemeral-static) ECDH 221 This section describes how to use the ephemeral-static Elliptic Curve 222 Diffie-Hellman (ECDH) key agreement algorithm with EnvelopedData, 223 method C(1, 1, ECC CDH) from [SP800-56A] and ECDH with the standard 224 primitive from Section 3.3.1 of [SEC1]. Ephemeral-static ECDH is the 225 elliptic curve analog of the ephemeral-static Diffie-Hellman key 226 agreement algorithm specified jointly in the documents [CMS-ALG] and 227 [CMS-DH]. 229 If an implementation uses ECDH with CMS EnvelopedData, then the 230 following techniques and formats MUST be used. 232 The fields of EnvelopedData are as in [CMS]; as ECDH is a key 233 agreement algorithm, the RecipientInfo kari choice is used. 235 3.1.1. Fields of KeyAgreeRecipientInfo 237 When using ephemeral-static ECDH with EnvelopedData, the fields of 238 KeyAgreeRecipientInfo are as follows: 240 - version MUST be 3. 242 - originator MUST be the alternative originatorKey. The 243 originatorKey algorithm field MUST contain the id-ecPublicKey 244 object identifier (see Section 7.1.2). The parameters 245 associated with id-ecPublicKey MUST be absent, ECParameters, or 246 NULL. The parameters associated with id-ecPublicKey SHOULD be 247 absent or ECParameters, and NULL is allowed to support legacy 248 implementations. The previous version of this document required 249 NULL to be present. If the parameters are ECParameters, then 250 they MUST be namedCurve. The originatorKey publicKey field MUST 251 contain the DER-encoding of the value of the ASN.1 type ECPoint 252 (see Section 7.2), which represents the sending agent's 253 ephemeral EC public key. The ECPoint in uncompressed form MUST 254 be supported. 256 - ukm MAY be present or absent. However, message originators 257 SHOULD include the ukm. As specified in RFC 3852 [CMS], 258 implementations MUST support ukm message recipient processing, 259 so interoperability is not a concern if the ukm is present or 260 absent. The ukm is placed in the entityUInfo field of the ECC- 261 CMS-SharedInfo structure. When present, the ukm is used to 262 ensure that a different key-encryption key is generated, even 263 when the ephemeral private key is improperly used more than 264 once, by using the ECC-CMS-SharedInfo as an input to the key 265 derivation function (see Section 7.2). 267 - keyEncryptionAlgorithm MUST contain the object identifier of the 268 key encryption algorithm, which in this case is a key agreement 269 algorithm (see Section 7.1.4). The parameters field contains 270 KeyWrapAlgorithm. The KeyWrapAlgorithm is the algorithm 271 identifier that indicates the symmetric encryption algorithm 272 used to encrypt the content-encryption key (CEK) with the key- 273 encryption key (KEK) and any associated parameters (see Section 274 7.1.5). Algorithm requirements are found in Section 8. 276 - recipientEncryptedKeys contains an identifier and an encrypted 277 key for each recipient. The RecipientEncryptedKey 278 KeyAgreeRecipientIdentifier MUST contain either the 279 issuerAndSerialNumber identifying the recipient's certificate or 280 the RecipientKeyIdentifier containing the subject key identifier 281 from the recipient's certificate. In both cases, the 282 recipient's certificate contains the recipient's static ECDH 283 public key. RecipientEncryptedKey EncryptedKey MUST contain the 284 content-encryption key encrypted with the ephemeral-static, 285 ECDH-generated pairwise key-encryption key using the algorithm 286 specified by the KeyWrapAlgorithm. 288 3.1.2. Actions of the sending agent 290 When using ephemeral-static ECDH with EnvelopedData, the sending 291 agent first obtains the recipient's EC public key and domain 292 parameters (e.g. from the recipient's certificate). The sending 293 agent then determines an integer "keydatalen", which is the 294 KeyWrapAlgorithm symmetric key-size in bits, and also a bit string 295 "SharedInfo", which is the DER encoding of ECC-CMS-SharedInfo (see 296 Section 7.2). The sending agent then performs the key deployment and 297 the key agreement operation of the Elliptic Curve Diffie-Hellman 298 Scheme specified in [SP800-56A] or [SEC1]; in either case, use the 299 KDF defined in Section 3.6.1 of [SEC1] with the hash algorithm 300 identified in the key agreement algorithm. As a result the sending 301 agent obtains: 303 - an ephemeral public key, which is represented as a value of the 304 type ECPoint (see Section 7.2), encapsulated in a bit string and 305 placed in the KeyAgreeRecipientInfo originator originatorKey 306 publicKey field, and 308 - a shared secret bit string "K", which is used as the pairwise 309 key-encryption key for that recipient, as specified in [CMS]. 311 In a single message, if there are multiple layers for a recipient, 312 then the ephemeral public key can be reused by the originator for 313 that recipient in each of the different layers. 315 3.1.3. Actions of the receiving agent 317 When using ephemeral-static ECDH with EnvelopedData, the receiving 318 agent determines the bit string "SharedInfo", which is the DER 319 encoding of ECC-CMS-SharedInfo (see Section 7.2), and the integer 320 "keydatalen" from the key-size, in bits, of the KeyWrapAlgorithm. The 321 receiving agent retrieves the ephemeral EC public key from the bit 322 string KeyAgreeRecipientInfo originator, with a value of the type 323 ECPoint (see Section 7.2) encapsulated as a bit string, and if 324 present, originally supplied additional user key material from the 325 ukm field. The receiving agent performs the key agreement operation 326 of the Elliptic Curve Diffie-Hellman Scheme specified in [SP800-56A] 327 or [SEC1]; in either case, use the KDF defined in Section 3.6.1 of 328 [SEC1]. As a result, the receiving agent obtains a shared secret bit 329 string "K", which is used as the pairwise key-encryption key to 330 unwrap the CEK. 332 3.2. EnvelopedData using 1-Pass ECMQV 334 This section describes how to use the 1-Pass elliptic curve MQV 335 (ECMQV) key agreement algorithm with EnvelopedData, method 336 C(1, 2, ECC MQV) from [SP800-56A]. Like the KEA algorithm [CMS-KEA], 337 1-Pass ECMQV uses three key pairs: an ephemeral key pair, a static 338 key pair of the sending agent, and a static key pair of the receiving 339 agent. Using an algorithm with the sender static key pair allows for 340 knowledge of the message creator, this means that authentication can, 341 in some circumstances, be obtained for AuthEnvelopedData and 342 AuthenticatedData. This means that 1-Pass ECMQV can be a common 343 algorithm for EnvelopedData, AuthenticatedData and AuthEnvelopedData, 344 while ECDH can only be used in EnvelopedData. 346 If an implementation uses 1-Pass ECMQV with CMS EnvelopedData, then 347 the following techniques and formats MUST be used. 349 The fields of EnvelopedData are as in [CMS]; as 1-Pass ECMQV is a key 350 agreement algorithm, the RecipientInfo kari choice is used. When 351 using 1-Pass ECMQV, the EnvelopedData originatorInfo field MAY 352 include the certificate(s) for the EC public key(s) used in the 353 formation of the pairwise key. ECC certificates are discussed in 354 Section 5. 356 3.2.1. Fields of KeyAgreeRecipientInfo 358 When using 1-Pass ECMQV with EnvelopedData, the fields of 359 KeyAgreeRecipientInfo are: 361 - version MUST be 3. 363 - originator identifies the static EC public key of the sender. It 364 SHOULD be one of the alternatives, issuerAndSerialNumber or 365 subjectKeyIdentifier, and point to one of the sending agent's 366 certificates. 368 - ukm MUST be present. The ukm field is an octet string which MUST 369 contain the DER encoding of the type MQVuserKeyingMaterial (see 370 Section 7.2). The MQVuserKeyingMaterial ephemeralPublicKey 371 algorithm field MUST contain the id-ecPublicKey object 372 identifier (see Section 7.1.2). The parameters associated with 373 id-ecPublicKey MUST be absent, ECParameters, or NULL. The 374 parameters associated with id-ecPublicKey SHOULD be absent or 375 ECParameters, as NULL is allowed to support legacy 376 implementations. The previous version of this document required 377 NULL to be present. If the parameters are ECParameters, then 378 they MUST be namedCurve. The MQVuserKeyingMaterial 379 ephemeralPublicKey publicKey field MUST contain the DER-encoding 380 of the ASN.1 type ECPoint (see Section 7.2) representing the 381 sending agent's ephemeral EC public key. The 382 MQVuserKeyingMaterial addedukm field, if present, contains 383 additional user keying material from the sending agent. 385 - keyEncryptionAlgorithm MUST contain the object identifier of the 386 key encryption algorithm, which in this case is a key agreement 387 algorithm (see Section 7.1.4). The parameters field contains 388 KeyWrapAlgorithm. The KeyWrapAlgorithm indicates the symmetric 389 encryption algorithm used to encrypt the CEK with the KEK 390 generated using the 1-Pass ECMQV algorithm and any associated 391 parameters (see Section 7.1.5). Algorithm requirements are 392 found in Section 8. 394 - recipientEncryptedKeys contains an identifier and an encrypted 395 key for each recipient. The RecipientEncryptedKey 396 KeyAgreeRecipientIdentifier MUST contain either the 397 issuerAndSerialNumber identifying the recipient's certificate or 398 the RecipientKeyIdentifier containing the subject key identifier 399 from the recipient's certificate. In both cases, the 400 recipient's certificate contains the recipient's static ECMQV 401 public key. RecipientEncryptedKey EncryptedKey MUST contain the 402 content-encryption key encrypted with the 1-Pass ECMQV-generated 403 pairwise key-encryption key using the algorithm specified by the 404 KeyWrapAlgorithm. 406 3.2.2. Actions of the sending agent 408 When using 1-Pass ECMQV with EnvelopedData, the sending agent first 409 obtains the recipient's EC public key and domain parameters (e.g. 410 from the recipient's certificate), and checks that the domain 411 parameters are the same as the sender's domain parameters. The 412 sending agent then determines an integer "keydatalen", which is the 413 KeyWrapAlgorithm symmetric key-size in bits, and also a bit string 414 "SharedInfo", which is the DER encoding of ECC-CMS-SharedInfo (see 415 Section 7.2). The sending agent then performs the key deployment and 416 key agreement operations of the Elliptic Curve MQV Scheme specified 417 in [SP800-56A], but uses the KDF defined in Section 3.6.1 of [SEC1]. 418 As a result, the sending agent obtains: 420 - an ephemeral public key, which is represented as a value of type 421 ECPoint (see Section 7.2), encapsulated in a bit string, placed 422 in an MQVuserKeyingMaterial ephemeralPublicKey publicKey field 423 (see Section 7.2), and 425 - a shared secret bit string "K", which is used as the pairwise 426 key-encryption key for that recipient, as specified in [CMS]. 428 In a single message, if there are multiple layers for a recipient, 429 then the ephemeral public key can be reused by the originator for 430 that recipient in each of the different layers. 432 3.2.3. Actions of the receiving agent 434 When using 1-Pass ECMQV with EnvelopedData, the receiving agent 435 determines the bit string "SharedInfo", which is the DER encoding of 436 ECC-CMS-SharedInfo (see Section 7.2), and the integer "keydatalen" 437 from the key-size, in bits, of the KeyWrapAlgorithm. The receiving 438 agent then retrieves the static and ephemeral EC public keys of the 439 originator, from the originator and ukm fields as described in 440 Section 3.2.1, and its static EC public key identified in the rid 441 field and checks that the originator's domain parameters are the same 442 as the recipient's domain parameters. The receiving agent then 443 performs the key agreement operation of the Elliptic Curve MQV Scheme 444 [SP800-56A], but uses the KDF defined in Section 3.6.1 of [SEC1]. As 445 a result, the receiving agent obtains a shared secret bit string "K", 446 which is used as the pairwise key-encryption key to unwrap the CEK. 448 4. AuthenticatedData and AuthEnvelopedData using ECC 450 This section describes how to use ECC algorithms with the CMS 451 AuthenticatedData format. AuthenticatedData lacks non-repudiation, 452 and so in some instances is preferable to SignedData. (For example, 453 the sending agent might not want the message to be authenticated when 454 forwarded.) 456 This section also describes how to use ECC algorithms with the CMS 457 AuthEnvelopedData format [CMS-AUTHENV]. AuthEnvelopedData supports 458 authentication and encryption, and in some instances is preferable to 459 signing and then encrypting data. 461 For both AuthenticatedData and AuthEnvelopedData, data origin 462 authentication with 1-Pass ECMQV can only be provided when there is 463 one and only one recipient. When there are multiple recipients, an 464 attack is possible where one recipient modifies the content without 465 other recipients noticing [BON]. A sending agent who is concerned 466 with such an attack SHOULD use a separate AuthenticatedData or 467 AuthEnvelopedData for each recipient. 469 Using an algorithm with the sender static key pair allows for 470 knowledge of the message creator; this means that authentication can, 471 in some circumstances, be obtained for AuthEnvelopedData and 472 AuthenticatedData. This means that 1-Pass ECMQV can be a common 473 algorithm for EnvelopedData, AuthenticatedData, and AuthEnvelopedData 474 while ECDH can only be used in EnvelopedData. 476 4.1. AuthenticatedData using 1-pass ECMQV 478 This section describes how to use the 1-Pass elliptic curve MQV 479 (ECMQV) key agreement algorithm with AuthenticatedData. ECMQV is 480 method C(1, 2, ECC MQV) from [SP800-56A]. 482 When using ECMQV with AuthenticatedData, the fields of 483 AuthenticatedData are as in [CMS], but with the following 484 restrictions: 486 - macAlgorithm MUST contain the algorithm identifier of the message 487 authentication code (MAC) algorithm (see Section 7.1.7) which 488 MUST be one of the following: hmac-SHA1, id-hmacWITHSHA224, id- 489 hmacWITHSHA256, id-hmacWITHSHA384, or id-hmacWITHSHA512. 491 - digestAlgorithm MUST contain the algorithm identifier of the hash 492 algorithm (see Section 7.1.1) which MUST be one of the 493 following: id-sha1, id-sha224, id-sha256, id-sha384, and id- 494 sha512. 496 As 1-Pass ECMQV is a key agreement algorithm, the RecipientInfo kari 497 choice is used in the AuthenticatedData. When using 1-Pass ECMQV, 498 the AuthenticatedData originatorInfo field MAY include the 499 certificate(s) for the EC public key(s) used in the formation of the 500 pairwise key. ECC certificates are discussed in Section 5. 502 4.1.1. Fields of the KeyAgreeRecipientInfo 504 The AuthenticatedData KeyAgreeRecipientInfo fields are used in the 505 same manner as the fields for the corresponding EnvelopedData 506 KeyAgreeRecipientInfo fields of Section 3.2.1 of this document. 508 4.1.2. Actions of the sending agent 510 The sending agent uses the same actions as for EnvelopedData with 511 1-Pass ECMQV, as specified in Section 3.2.2 of this document. 513 In a single message, if there are multiple layers for a recipient, 514 then the ephemeral public key can be reused by the originator for 515 that recipient in each of the different layers. 517 4.1.3. Actions of the receiving agent 519 The receiving agent uses the same actions as for EnvelopedData with 520 1-Pass ECMQV, as specified in Section 3.2.3 of this document. 522 4.2. AuthEnvelopedData using 1-pass ECMQV 524 This section describes how to use the 1-Pass elliptic curve MQV 525 (ECMQV) key agreement algorithm with AuthEnvelopedData. ECMQV is 526 method C(1, 2, ECC MQV) from [SP800-56A]. 528 When using ECMQV with AuthEnvelopedData, the fields of 529 AuthEnvelopedData are as in [CMS-AUTHENV]. 531 As 1-Pass ECMQV is a key agreement algorithm, the RecipientInfo kari 532 choice is used. When using 1-Pass ECMQV, the AuthEnvelopedData 533 originatorInfo field MAY include the certificate(s) for the EC public 534 key used in the formation of the pairwise key. ECC certificates are 535 discussed in Section 5. 537 4.2.1. Fields of the KeyAgreeRecipientInfo 539 The AuthEnvelopedData KeyAgreeRecipientInfo fields are used in the 540 same manner as the fields for the corresponding EnvelopedData 541 KeyAgreeRecipientInfo fields of Section 3.2.1 of this document. 543 4.2.2. Actions of the sending agent 545 The sending agent uses the same actions as for EnvelopedData with 1- 546 Pass ECMQV, as specified in Section 3.2.2 of this document. 548 In a single message, if there are multiple layers for a recipient, 549 then the ephemeral public key can be reused by the originator for 550 that recipient in each of the different layers. 552 4.2.3. Actions of the receiving agent 554 The receiving agent uses the same actions as for EnvelopedData with 555 1-Pass ECMQV, as specified in Section 3.2.3 of this document. 557 5. Certificates using ECC 559 Internet X.509 certificates [PKI] can be used in conjunction with 560 this specification to distribute agents' public keys. The use of ECC 561 algorithms and keys within X.509 certificates is specified in [PKI- 562 ALG]. 564 6. SMIMECapabilities Attribute and ECC 566 A sending agent MAY announce to receiving agents that it supports one 567 or more of the ECC algorithms specified in this document by using the 568 SMIMECapabilities signed attribute [MSG] in either a signed message 569 or a certificate [CERTCAP]. 571 The SMIMECapabilities attribute value indicates support for one of 572 the ECDSA signature algorithms in a SEQUENCE with the capabilityID 573 field containing the object identifier ecdsa-with-SHA1 with NULL 574 parameters and ecdsa-with-SHA* (where * is 224, 256, 384, or 512) 575 with absent parameters. The DER encodings are: 577 ecdsa-with-SHA1: 30 0b 06 07 2a 86 48 ce 3d 04 01 05 00 579 ecdsa-with-SHA224: 30 0a 06 08 2a 86 48 ce 3d 04 03 01 581 ecdsa-with-SHA256: 30 0a 06 08 2a 86 48 ce 3d 04 03 02 583 ecdsa-with-SHA384: 30 0a 06 08 2a 86 48 ce 3d 04 03 03 585 ecdsa-with-SHA512: 30 0a 06 08 2a 86 48 ce 3d 04 03 04 587 NOTE: The SMIMECapabilities attribute indicates that parameters for 588 ECDSA with SHA-1 are NULL; however, the parameters are absent when 589 used to generate a digital signature. 591 The SMIMECapabilities attribute value indicates support for 592 a) the standard ECDH key agreement algorithm, 593 b) the cofactor ECDH key agreement algorithm, or 594 c) the 1-Pass ECMQV key agreement algorithm and 595 is a SEQUENCE with the capabilityID field containing the object 596 identifier 597 a) dhSinglePass-stdDH-sha*kdf-scheme, 598 b) dhSinglePass-cofactorDH-sha*kdf-scheme, or 599 c) mqvSinglePass-sha*kdf-scheme 600 respectively (where * is 1, 224, 256, 384, or 512) with the 601 parameters present. The parameters indicate the supported key- 602 encryption algorithm with the KeyWrapAlgorithm algorithm identifier. 604 The DER encodings that indicate capabilities are as follows (KA is 605 key agreement, KDF is key derivation function, and Wrap is key wrap 606 algorithm): 608 KA=ECDH standard KDF=SHA-1 Wrap=Triple-DES 610 30 1c 06 09 2b 81 05 10 86 48 3f 00 02 30 0f 06 0b 2a 86 48 86 611 f7 0d 01 09 10 03 06 05 00 613 KA=ECDH standard KDF=SHA-224 Wrap=Triple-DES 615 30 17 06 06 2b 81 04 01 0B 00 30 0d 06 0b 2a 86 48 86 f7 0d 01 616 09 10 03 06 618 KA=ECDH standard KDF=SHA-256 Wrap=Triple-DES 620 30 17 06 06 2b 81 04 01 0B 01 30 0d 06 0b 2a 86 48 86 f7 0d 01 621 09 10 03 06 623 KA=ECDH standard KDF=SHA-384 Wrap=Triple-DES 625 30 17 06 06 2b 81 04 01 0B 02 30 0d 06 0b 2a 86 48 86 f7 0d 01 626 09 10 03 06 628 KA=ECDH standard KDF=SHA-512 Wrap=Triple-DES 630 30 17 06 06 2b 81 04 01 0B 03 30 0d 06 0b 2a 86 48 86 f7 0d 01 631 09 10 03 06 633 KA=ECDH standard KDF=SHA-1 Wrap=AES-128 635 30 18 06 09 2b 81 05 10 86 48 3f 00 02 30 0b 06 09 60 86 48 01 636 65 03 04 01 05 638 KA=ECDH standard KDF=SHA-224 Wrap=AES-128 640 30 15 06 06 2b 81 04 01 0B 00 30 0b 06 09 60 86 48 01 65 03 04 641 01 05 643 KA=ECDH standard KDF=SHA-256 Wrap=AES-128 645 30 15 06 06 2b 81 04 01 0B 01 30 0b 06 09 60 86 48 01 65 03 04 646 01 05 648 KA=ECDH standard KDF=SHA-384 Wrap=AES-128 650 30 15 06 06 2b 81 04 01 0B 02 30 0b 06 09 60 86 48 01 65 03 04 651 01 05 653 KA=ECDH standard KDF=SHA-512 Wrap=AES-128 655 30 15 06 06 2b 81 04 01 0B 03 30 0b 06 09 60 86 48 01 65 03 04 656 01 05 658 KA=ECDH standard KDF=SHA-1 Wrap=AES-192 660 30 18 06 09 2b 81 05 10 86 48 3f 00 02 30 0b 06 09 60 86 48 01 661 65 03 04 01 19 663 KA=ECDH standard KDF=SHA-224 Wrap=AES-192 665 30 15 06 06 2b 81 04 01 0B 00 30 0b 06 09 60 86 48 01 65 03 04 666 01 19 668 KA=ECDH standard KDF=SHA-256 Wrap=AES-192 670 30 15 06 06 2b 81 04 01 0B 01 30 0b 06 09 60 86 48 01 65 03 04 671 01 19 673 KA=ECDH standard KDF=SHA-384 Wrap=AES-192 675 30 15 06 06 2b 81 04 01 0B 02 30 0b 06 09 60 86 48 01 65 03 04 676 01 19 678 KA=ECDH standard KDF=SHA-512 Wrap=AES-192 680 30 15 06 06 2b 81 04 01 0B 03 30 0b 06 09 60 86 48 01 65 03 04 681 01 19 683 KA=ECDH standard KDF=SHA-1 Wrap=AES-256 685 30 18 06 09 2b 81 05 10 86 48 3f 00 02 30 0b 06 09 60 86 48 01 686 65 03 04 01 2D 688 KA=ECDH standard KDF=SHA-224 Wrap=AES-256 690 30 15 06 06 2b 81 04 01 0B 00 30 0b 06 09 60 86 48 01 65 03 04 691 01 2D 693 KA=ECDH standard KDF=SHA-256 Wrap=AES-256 695 30 15 06 06 2b 81 04 01 0B 01 30 0b 06 09 60 86 48 01 65 03 04 696 01 2D 698 KA=ECDH standard KDF=SHA-384 Wrap=AES-256 700 30 15 06 06 2b 81 04 01 0B 02 30 0b 06 09 60 86 48 01 65 03 04 701 01 2D 05 00 703 KA=ECDH standard KDF=SHA-512 Wrap=AES-256 705 30 15 06 06 2b 81 04 01 0B 03 30 0b 06 09 60 86 48 01 65 03 04 706 01 2D 708 KA=ECDH cofactor KDF=SHA-1 Wrap=Triple-DES 710 30 1c 06 09 2b 81 05 10 86 48 3f 00 03 30 0f 06 0b 2a 86 48 86 711 f7 0d 01 09 10 03 06 05 00 713 KA=ECDH cofactor KDF=SHA-224 Wrap=Triple-DES 715 30 17 06 06 2b 81 04 01 0E 00 30 0d 06 0b 2a 86 48 86 f7 0d 01 716 09 10 03 06 718 KA=ECDH cofactor KDF=SHA-256 Wrap=Triple-DES 720 30 17 06 06 2b 81 04 01 0E 01 30 0d 06 0b 2a 86 48 86 f7 0d 01 721 09 10 03 06 723 KA=ECDH cofactor KDF=SHA-384 Wrap=Triple-DES 725 30 17 06 06 2b 81 04 01 0E 02 30 0d 06 0b 2a 86 48 86 f7 0d 01 726 09 10 03 06 728 KA=ECDH cofactor KDF=SHA-512 Wrap=Triple-DES 730 30 17 06 06 2b 81 04 01 0E 03 30 0d 06 0b 2a 86 48 86 f7 0d 01 731 09 10 03 06 733 KA=ECDH cofactor KDF=SHA-1 Wrap=AES-128 735 30 18 06 09 2b 81 05 10 86 48 3f 00 03 30 0b 06 09 60 86 48 01 736 65 03 04 01 05 738 KA=ECDH cofactor KDF=SHA-224 Wrap=AES-128 740 30 15 06 06 2b 81 04 01 0E 00 30 0b 06 09 60 86 48 01 65 03 04 741 01 05 743 KA=ECDH cofactor KDF=SHA-256 Wrap=AES-128 745 30 15 06 06 2b 81 04 01 0E 01 30 0b 06 09 60 86 48 01 65 03 04 746 01 05 748 KA=ECDH cofactor KDF=SHA-384 Wrap=AES-128 750 30 15 06 06 2b 81 04 01 0E 02 30 0b 06 09 60 86 48 01 65 03 04 751 01 05 753 KA=ECDH cofactor KDF=SHA-512 Wrap=AES-128 755 30 17 06 06 2b 81 04 01 0E 03 30 0b 06 09 60 86 48 01 65 03 04 756 01 05 758 KA=ECDH cofactor KDF=SHA-1 Wrap=AES-192 760 30 18 06 09 2b 81 05 10 86 48 3f 00 03 30 0b 06 09 60 86 48 01 761 65 03 04 01 19 763 KA=ECDH cofactor KDF=SHA-224 Wrap=AES-192 765 30 15 06 06 2b 81 04 01 0E 00 30 0b 06 09 60 86 48 01 65 03 04 766 01 19 768 KA=ECDH cofactor KDF=SHA-256 Wrap=AES-192 770 30 15 06 06 2b 81 04 01 0E 01 30 0b 06 09 60 86 48 01 65 03 04 771 01 19 773 KA=ECDH cofactor KDF=SHA-384 Wrap=AES-192 775 30 15 06 06 2b 81 04 01 0E 02 30 0b 06 09 60 86 48 01 65 03 04 776 01 19 778 KA=ECDH cofactor KDF=SHA-512 Wrap=AES-192 780 30 15 06 06 2b 81 04 01 0E 03 30 0b 06 09 60 86 48 01 65 03 04 781 01 19 783 KA=ECDH cofactor KDF=SHA-1 Wrap=AES-256 785 30 15 06 09 2b 81 05 10 86 48 3f 00 03 30 0b 06 09 60 86 48 01 786 65 03 04 01 2D 788 KA=ECDH cofactor KDF=SHA-224 Wrap=AES-256 790 30 15 06 06 2b 81 04 01 0E 00 30 0b 06 09 60 86 48 01 65 03 04 791 01 2D 793 KA=ECDH cofactor KDF=SHA-256 Wrap=AES-256 795 30 15 06 06 2b 81 04 01 0E 01 30 0b 06 09 60 86 48 01 65 03 04 796 01 2D 798 KA=ECDH cofactor KDF=SHA-384 Wrap=AES-256 800 30 15 06 06 2b 81 04 01 0E 02 30 0b 06 09 60 86 48 01 65 03 04 801 01 2D 803 KA=ECDH cofactor KDF=SHA-512 Wrap=AES-256 805 30 15 06 06 2b 81 04 01 0E 03 30 0b 06 09 60 86 48 01 65 03 04 806 01 2D 808 KA=ECMQV 1-Pass KDF=SHA-1 Wrap=Triple-DES 810 30 1c 06 09 2b 81 05 10 86 48 3f 00 10 30 0f 06 0b 2a 86 48 86 811 f7 0d 01 09 10 03 06 05 00 813 KA=ECMQV 1-Pass KDF=SHA-224 Wrap=Triple-DES 815 30 17 06 06 2b 81 04 01 0F 00 30 0d 06 0b 2a 86 48 86 f7 0d 01 816 09 10 03 06 818 KA=ECMQV 1-Pass KDF=SHA-256 Wrap=Triple-DES 820 30 17 06 06 2b 81 04 01 0F 01 30 0d 06 0b 2a 86 48 86 f7 0d 01 821 09 10 03 06 823 KA=ECMQV 1-Pass KDF=SHA-384 Wrap=Triple-DES 825 30 17 06 06 2b 81 04 01 0F 02 30 0d 06 0b 2a 86 48 86 f7 0d 01 826 09 10 03 06 828 KA=ECMQV 1-Pass KDF=SHA-512 Wrap=Triple-DES 830 30 17 06 06 2b 81 04 01 0F 03 30 0d 06 0b 2a 86 48 86 f7 0d 01 831 09 10 03 06 833 KA=ECMQV 1-Pass KDF=SHA-1 Wrap=AES-128 835 30 18 06 09 2b 81 05 10 86 48 3f 00 10 30 0b 06 09 60 86 48 01 836 65 03 04 01 05 838 KA=ECMQV 1-Pass KDF=SHA-224 Wrap=AES-128 840 30 15 06 06 2b 81 04 01 0F 00 30 0b 06 09 60 86 48 01 65 03 04 841 01 05 843 KA=ECMQV 1-Pass KDF=SHA-256 Wrap=AES-128 845 30 15 06 06 2b 81 04 01 0F 01 30 0b 06 09 60 86 48 01 65 03 04 846 01 05 848 KA=ECMQV 1-Pass KDF=SHA-384 Wrap=AES-128 850 30 15 06 06 2b 81 04 01 0F 02 30 0b 06 09 60 86 48 01 65 03 04 851 01 05 853 KA=ECMQV 1-Pass KDF=SHA-512 Wrap=AES-128 855 30 15 06 06 2b 81 04 01 0F 03 30 0b 06 09 60 86 48 01 65 03 04 856 01 05 858 KA=ECMQV 1-Pass KDF=SHA-1 Wrap=AES-192 860 30 18 06 09 2b 81 05 10 86 48 3f 00 10 30 0b 06 09 60 86 48 01 861 65 03 04 01 19 863 KA=ECMQV 1-Pass KDF=SHA-224 Wrap=AES-192 865 30 15 06 06 2b 81 04 01 0F 00 30 0b 06 09 60 86 48 01 65 03 04 866 01 19 868 KA=ECMQV 1-Pass KDF=SHA-256 Wrap=AES-192 870 30 15 06 06 2b 81 04 01 0F 01 30 0b 06 09 60 86 48 01 65 03 04 871 01 19 873 KA=ECMQV 1-Pass KDF=SHA-384 Wrap=AES-192 875 30 15 06 06 2b 81 04 01 0F 02 30 0b 06 09 60 86 48 01 65 03 04 876 01 19 878 KA=ECMQV 1-Pass KDF=SHA-512 Wrap=AES-192 880 30 15 06 06 2b 81 04 01 0F 03 30 0b 06 09 60 86 48 01 65 03 04 881 01 19 883 KA=ECMQV 1-Pass KDF=SHA-1 Wrap=AES-256 885 30 18 06 09 2b 81 05 10 86 48 3f 00 10 30 0b 06 09 60 86 48 01 886 65 03 04 01 2D 888 KA=ECMQV 1-Pass KDF=SHA-224 Wrap=AES-256 890 30 15 06 06 2b 81 04 01 0F 00 30 0b 06 09 60 86 48 01 65 03 04 891 01 2D 893 KA=ECMQV 1-Pass KDF=SHA-256 Wrap=AES-256 895 30 15 06 06 2b 81 04 01 0F 01 30 0b 06 09 60 86 48 01 65 03 04 896 01 2D 898 KA=ECMQV 1-Pass KDF=SHA-384 Wrap=AES-256 900 30 15 06 06 2b 81 04 01 0F 02 30 0b 06 09 60 86 48 01 65 03 04 901 01 2D 903 KA=ECMQV 1-Pass KDF=SHA-512 Wrap=AES-256 905 30 15 06 06 2b 81 04 01 0F 03 30 0b 06 09 60 86 48 01 65 03 04 906 01 2D 908 NOTE: The S/MIME Capabilities for the supported AES content 909 encryption key sizes are defined in [CMS-AES]. 911 NOTE: The S/MIME Capabilities for the supported MAC algorithms are 912 defined in [CMS-ASN]. 914 7. ASN.1 Syntax 916 The ASN.1 syntax [X.680], [X.681], X.682], [X.683] used in this 917 document is gathered in this section for reference purposes. 919 7.1. Algorithm Identifiers 921 This section provides the object identifiers for the algorithms used 922 in this document along with any associated parameters. 924 7.1.1. Digest Algorithms 926 Digest algorithm object identifiers are used in the SignedData 927 digestAlgorithms and digestAlgorithm fields and the AuthenticatedData 928 digestAlgorithm field. The digest algorithms used in this document 929 are: SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512. The object 930 identifiers and parameters associated with these algorithms are found 931 in [CMS-ALG] and [CMS-SHA2]. 933 7.1.2. Originator Public Key 935 The KeyAgreeRecipientInfo originator field uses the following object 936 identifier to indicate an elliptic curve public key: 938 id-ecPublicKey OBJECT IDENTIFIER ::= { 939 ansi-x9-62 keyType(2) 1 } 941 where 943 ansi-x9-62 OBJECT IDENTIFIER ::= { 944 iso(1) member-body(2) us(840) 10045 } 946 When the object identifier id-ecPublicKey is used here with an 947 algorithm identifier, the associated parameters MUST be either absent 948 or ECParameters. Implementations MUST accept id-ecPublicKey with 949 absent and ECParameters parameters. If ECParameters is present, its 950 value MUST match the recipient's ECParameters. Implementations 951 SHOULD generate absent parameters for the id-ecPublicKey object 952 identifier in the KeyAgreeRecipientInfo originator field. 954 [CMS-ECC] indicated the parameters were NULL. Support for this 955 legacy form is OPTIONAL. 957 7.1.3. Signature Algorithms 959 Signature algorithm identifiers are used in the SignedData 960 signatureAlgorithm and signature fields. The signature algorithms 961 used in this document are ECDSA with SHA-1, ECDSA with SHA-224, ECDSA 962 with SHA-256, ECDSA with SHA-384, and ECDSA with SHA-512. The object 963 identifiers and parameters associated with these algorithms are found 964 in [PKI-ALG]. 966 [CMS-ECC] indicated the parameters were NULL. Support for this 967 legacy form is OPTIONAL. 969 7.1.4. Key Agreement Algorithms 971 Key agreement algorithms are used in EnvelopedData, 972 AuthenticatedData, and AuthEnvelopedData in the KeyAgreeRecipientInfo 973 keyEncryptionAlgorithm field. The following object identifiers 974 indicate the key agreement algorithms used in this document [SP800- 975 56A], [SEC1]: 977 dhSinglePass-stdDH-sha1kdf-scheme OBJECT IDENTIFIER ::= { 978 x9-63-scheme 2 } 980 dhSinglePass-stdDH-sha224kdf-scheme OBJECT IDENTIFIER ::= { 981 secg-scheme 11 0 } 983 dhSinglePass-stdDH-sha256kdf-scheme OBJECT IDENTIFIER ::= { 984 secg-scheme 11 1 } 986 dhSinglePass-stdDH-sha384kdf-scheme OBJECT IDENTIFIER ::= { 987 secg-scheme 11 2 } 989 dhSinglePass-stdDH-sha512kdf-scheme OBJECT IDENTIFIER ::= { 990 secg-scheme 11 3 } 992 dhSinglePass-cofactorDH-sha1kdf-scheme OBJECT IDENTIFIER ::= { 993 x9-63-scheme 3 } 995 dhSinglePass-cofactorDH-sha224kdf-scheme OBJECT IDENTIFIER ::= { 996 secg-scheme 14 0 } 998 dhSinglePass-cofactorDH-sha256kdf-scheme OBJECT IDENTIFIER ::= { 999 secg-scheme 14 1 } 1001 dhSinglePass-cofactorDH-sha384kdf-scheme OBJECT IDENTIFIER ::= { 1002 secg-scheme 14 2 } 1004 dhSinglePass-cofactorDH-sha512kdf-scheme OBJECT IDENTIFIER ::= { 1005 secg-scheme 14 3 } 1007 mqvSinglePass-sha1kdf-scheme OBJECT IDENTIFIER ::= { 1008 x9-63-scheme 16 } 1010 mqvSinglePass-sha224kdf-scheme OBJECT IDENTIFIER ::= { 1011 secg-scheme 15 0 } 1013 mqvSinglePass-sha256kdf-scheme OBJECT IDENTIFIER ::= { 1014 secg-scheme 15 1 } 1016 mqvSinglePass-sha384kdf-scheme OBJECT IDENTIFIER ::= { 1017 secg-scheme 15 2 } 1019 mqvSinglePass-sha512kdf-scheme OBJECT IDENTIFIER ::= { 1020 secg-scheme 15 3 } 1022 where 1024 x9-63-scheme OBJECT IDENTIFIER ::= { 1025 iso(1) identified-organization(3) tc68(133) country(16) 1026 x9(840) x9-63(63) schemes(0) } 1028 and 1030 secg-scheme OBJECT IDENTIFIER ::= { 1031 iso(1) identified-organization(3) certicom(132) schemes(1) } 1033 When the object identifiers are used here within an algorithm 1034 identifier, the associated parameters field contains KeyWrapAlgorithm 1035 to indicate the key wrap algorithm and any associated parameters. 1037 7.1.5. Key Wrap Algorithms 1039 Key wrap algorithms are used as part of the parameters in the key 1040 agreement algorithm. The key wrap algorithms used in this document 1041 are Triple-DES, AES-128, AES-192, and AES-256. The object 1042 identifiers and parameters for these algorithms are found in [CMS- 1043 ALG] and [CMS-AES]. 1045 7.1.6. Content Encryption Algorithms 1047 Content encryption algorithms are used in EnvelopedData and 1048 AuthEnvelopedData in the EncryptedContentInfo 1049 contentEncryptionAlgorithm field. The content encryption algorithms 1050 used with EnvelopedData in this document are 3-Key Triple DES in CBC 1051 mode, AES-128 in CBC mode, AES-192 in CBC mode, and AES-256 in CBC 1052 mode. The object identifiers and parameters associated with these 1053 algorithms are found in [CMS-ALG] and [CMS-AES]. The content 1054 encryption algorithms used with AuthEnvelopedData in this document 1055 are AES-128 in CCM mode, AES-192 in CCM mode, AES-256 in CCM mode, 1056 AES-128 in GCM mode, AES-192 in GCM mode, and AES-256 in GCM mode. 1057 The object identifiers and parameters associated with these 1058 algorithms are found in [CMS-AESCG]. 1060 7.1.7. Message Authentication Code Algorithms 1062 Message authentication code algorithms are used in AuthenticatedData 1063 in the macAlgorithm field. The message authentication code 1064 algorithms used in this document are HMAC with SHA-1, HMAC with SHA- 1065 224, HMAC with SHA-256, HMAC with SHA-384, and HMAC with SHA-512. 1066 The object identifiers and parameters associated with these 1067 algorithms are found in [CMS-ALG] and [HMAC-SHA2]. 1069 NOTE: [HMAC-SHA2] defines the object identifiers for HMAC with SHA- 1070 224, HMAC with SHA-256, HMAC with SHA-384, and HMAC with SHA-512, but 1071 there is no ASN.1 module from which to import these object 1072 identifiers. Therefore, the object identifiers for these algorithms 1073 are included in the ASN.1 modules defined in Appendix A. 1075 7.1.8. Key Derivation Algorithm 1077 The KDF used in this document is as specified in 3.6.1 of [SEC1]. 1078 The hash algorithm is identified in key agreement algorithm. For 1079 example, dhSinglePass-stdDH-sha256kdf-scheme uses the KDF from [SEC1] 1080 but uses SHA-256 instead of SHA-1. 1082 7.2. Other Syntax 1084 The following additional syntax is used here. 1086 When using ECDSA with SignedData, ECDSA signatures are encoded using 1087 the type: 1089 ECDSA-Sig-Value ::= SEQUENCE { 1090 r INTEGER, 1091 s INTEGER } 1093 ECDSA-Sig-Value is specified in [PKI-ALG]. Within CMS, ECDSA-Sig- 1094 Value is DER-encoded and placed within a signature field of 1095 SignedData. 1097 When using ECDH and ECMQV with EnvelopedData, AuthenticatedData, and 1098 AuthEnvelopedData, ephemeral and static public keys are encoded using 1099 the type ECPoint. Implementations MUST support uncompressed keys, MAY 1100 support compressed keys, and MUST NOT support hybrid keys. 1102 ECPoint ::= OCTET STRING 1104 When using ECMQV with EnvelopedData, AuthenticatedData, and 1105 AuthEnvelopedData, the sending agent's ephemeral public key and 1106 additional keying material are encoded using the type: 1108 MQVuserKeyingMaterial ::= SEQUENCE { 1109 ephemeralPublicKey OriginatorPublicKey, 1110 addedukm [0] EXPLICIT UserKeyingMaterial OPTIONAL } 1112 The ECPoint syntax is used to represent the ephemeral public key and 1113 is placed in the ephemeralPublicKey publicKey field. The additional 1114 user keying material is placed in the addedukm field. Then the 1115 MQVuserKeyingMaterial value is DER-encoded and placed within the ukm 1116 field of EnvelopedData, AuthenticatedData, or AuthEnvelopedData. 1118 When using ECDH or ECMQV with EnvelopedData, AuthenticatedData, or 1119 AuthEnvelopedData, the key-encryption keys are derived by using the 1120 type: 1122 ECC-CMS-SharedInfo ::= SEQUENCE { 1123 keyInfo AlgorithmIdentifier, 1124 entityUInfo [0] EXPLICIT OCTET STRING OPTIONAL, 1125 suppPubInfo [2] EXPLICIT OCTET STRING } 1127 The fields of ECC-CMS-SharedInfo are as follows: 1129 keyInfo contains the object identifier of the key-encryption 1130 algorithm (used to wrap the CEK) and associated parameters. In 1131 this specification, 3DES wrap has NULL parameters while the AES 1132 wraps have absent parameters. 1134 entityUInfo optionally contains additional keying material 1135 supplied by the sending agent. When used with ECDH and CMS, the 1136 entityUInfo field contains the octet string ukm. When used with 1137 ECMQV and CMS, the entityUInfo contains the octet string addedukm 1138 (encoded in MQVuserKeyingMaterial). 1140 suppPubInfo contains the length of the generated KEK, in bits, 1141 represented as a 32 bit number, as in [CMS-DH] and [CMS-AES]. 1142 (E.g. for AES-256 it would be 00 00 01 00.) 1144 Within CMS, ECC-CMS-SharedInfo is DER-encoded and used as input to 1145 the key derivation function, as specified in Section 3.6.1 of [SEC1]. 1147 NOTE: ECC-CMS-SharedInfo differs from the OtherInfo specified in 1148 [CMS-DH]. Here, a counter value is not included in the keyInfo field 1149 because the key derivation function specified in Section 3.6.1 of 1150 [SEC1] ensures that sufficient keying data is provided. 1152 8. Recommended Algorithms and Elliptic Curves 1154 It is RECOMMENDED that implementations of this specification support 1155 SignedData and EnvelopedData. Support for AuthenticatedData and 1156 AuthEnvelopedData is OPTIONAL. 1158 In order to encourage interoperability, implementations SHOULD use 1159 the elliptic curve domain parameters specified by [PKI-ALG]. 1161 Implementations that support SignedData with ECDSA: 1163 - MUST support ECDSA with SHA-256; and, 1165 - MAY support ECDSA with SHA-1, ECDSA with SHA-224, ECDSA with SHA- 1166 384, and ECDSA with SHA-512; other digital signature algorithms 1167 MAY also be supported. 1169 When using ECDSA, to promote interoperability it is RECOMMENDED that 1170 the P-192, P-224, and the P-256 curves be used with SHA-256, the P- 1171 384 curve be used with SHA-384, and the P-521 curve be used with SHA- 1172 512. 1174 If EnvelopedData is supported, then ephemeral-static ECDH standard 1175 primitive MUST be supported. Support for ephemeral-static ECDH co- 1176 factor is OPTIONAL and support for 1-Pass ECMQV is also OPTIONAL. 1178 Implementations that support EnvelopedData with the ephemeral-static 1179 ECDH standard primitive: 1181 - MUST support the dhSinglePass-stdDH-sha256kdf-scheme key 1182 agreement algorithm, the id-aes128-wrap key wrap algorithm, and 1183 the id-aes128-cbc content encryption algorithm; and, 1185 - MAY support the dhSinglePass-stdDH-sha1kdf-scheme, dhSinglePass- 1186 stdDH-sha224kdf-scheme, dhSinglePass-stdDH-sha384kdf-scheme and 1187 dhSinglePass-stdDH-sha512kdf-scheme key agreement algorithms, 1188 the id-alg-CMS3DESwrap, id-aes192-wrap, and id-aes256-wrap key 1189 wrap algorithms and the des-ede3-cbc, id-aes192-cbc, and id- 1190 aes256-cbc content encryption algorithms; other algorithms MAY 1191 also be supported. 1193 Implementations that support EnvelopedData with the ephemeral-static 1194 ECDH cofactor primitive: 1196 - MUST support the dhSinglePass-cofactorDH-sha256kdf-scheme key 1197 agreement algorithm, the id-aes128-wrap key wrap algorithm, and 1198 the id-aes128-cbc content encryption algorithm; and, 1200 - MAY support the dhSinglePass-cofactorDH-sha1kdf-scheme, 1201 dhSinglePass-cofactorDH-sha224kdf-scheme, dhSinglePass- 1202 cofactorDH-sha384kdf-scheme, and dhSinglePass-cofactorDH- 1203 sha512kdf-scheme key agreement, the id-alg-CMS3DESwrap, id- 1204 aes192-wrap, and id-aes256-wrap key wrap algorithms and the des- 1205 ede3-cbc, id-aes192-cbc, and id-aes256-cbc content encryption 1206 algorithms; other algorithms MAY also be supported. 1208 Implementations that support EnvelopedData with 1-Pass ECMQV: 1210 - MUST support the mqvSinglePass-sha256kdf-scheme key agreement 1211 algorithm, the id-aes128-wrap key wrap algorithm, and the id- 1212 aes128-cbc content encryption algorithm; and, 1214 - MAY support mqvSinglePass-sha1kdf-scheme, mqvSinglePass- 1215 sha224kdf-scheme, mqvSinglePass-sha384kdf-scheme, and 1216 mqvSinglePass-sha512kdf-scheme key agreement algorithms, the id- 1217 alg-CMS3DESwrap, id-aes192-wrap, and id-aes256-wrap key wrap 1218 algorithms and the des-ede3-cbc, id-aes192-cbc, and id-aes256- 1219 cbc content encryption algorithms; other algorithms MAY also be 1220 supported. 1222 Implementations that support AuthenticatedData with 1-Pass ECMQV: 1224 - MUST support the mqvSinglePass-sha256kdf-scheme key agreement, 1225 the id-aes128-wrap key wrap, the id-sha256 message digest, and 1226 id-hmacWithSHA256 message authentication code algorithms; and, 1228 - MAY support the mqvSinglePass-sha1kdf-scheme, mqvSinglePass- 1229 sha224kdf-scheme, mqvSinglePass-sha384kdf-scheme, mqvSinglePass- 1230 sha512kdf-scheme key agreement algorithms, the id-alg- 1231 CMS3DESwrap, id-aes192-wrap, and id-aes256-wrap key wrap 1232 algorithms, the id-sha1, id-sha224, id-sha384, and id-sha512, 1233 message digest algorithms, and the hmac-SHA1, id-hmacWithSHA224, 1234 id-hmacWithSHA384, and id-hmacWithSHA512 message authentication 1235 code algorithms; other algorithms MAY also be supported. 1237 Implementations that support AuthEnvelopedData with 1-Pass ECMQV: 1239 - MUST support the mqvSinglePass-sha256kdf-scheme key agreement, 1240 the id-aes128-wrap key wrap, and the id-aes128-ccm 1241 authenticated-content encryption; and, 1243 - MAY support the mqvSinglePass-sha1kdf-scheme, mqvSinglePass- 1244 sha224kdf-scheme, mqvSinglePass-sha384kdf-scheme, and 1245 mqvSinglePass-sha512kdf-scheme key agreement algorithms, the id- 1246 alg-CMS3DESwrap, id-aes192-wrap, and id-aes256-wrap key wrap 1247 algorithms, the id-aes192-ccm, id-aes256-ccm, id-aes128-gcm, id- 1248 aes192-gcm, and id-aes256-ccm authenticated-content encryption 1249 algorithms; other algorithms MAY also be supported. 1251 9. Security Considerations 1253 Cryptographic algorithms will be broken or weakened over time. 1254 Implementers and users need to check that the cryptographic 1255 algorithms listed in this document continue to provide the expected 1256 level of security. The IETF from time to time may issue documents 1257 dealing with the current state of the art. 1259 Cryptographic algorithms rely on random numbers. See [RANDOM] for 1260 guidance on generation of random numbers. 1262 Receiving agents that validate signatures and sending agents that 1263 encrypt messages need to be cautious of cryptographic processing 1264 usage when validating signatures and encrypting messages using keys 1265 larger than those mandated in this specification. An attacker could 1266 send keys and/or certificates with keys which would result in 1267 excessive cryptographic processing, for example keys larger than 1268 those mandated in this specification, which could swamp the 1269 processing element. Agents which use such keys without first 1270 validating the certificate to a trust anchor are advised to have some 1271 sort of cryptographic resource management system to prevent such 1272 attacks. 1274 Using secret keys of an appropriate size is crucial to the security 1275 of a Diffie-Hellman exchange. For elliptic curve groups, the size of 1276 the secret key must be equal to the size of n (the order of the group 1277 generated by the point g). Using larger secret keys provides 1278 absolutely no additional security, and using smaller secret keys is 1279 likely to result in dramatically less security. (See [SP800-56A] for 1280 more information on selecting secret keys.) 1281 This specification is based on [CMS], [CMS-AES], [CMS-AESCG], [CMS- 1282 ALG], [CMS-AUTHENV], [CMS-DH], [CMS-SHA2], [FIPS180-3], [FIPS186-3], 1283 and [HMAC-SHA2], and the appropriate security considerations of those 1284 documents apply. 1286 In addition, implementers of AuthenticatedData and AuthEnvelopedData 1287 should be aware of the concerns expressed in [BON] when using 1288 AuthenticatedData and AuthEnvelopedData to send messages to more than 1289 one recipient. Also, users of MQV should be aware of the 1290 vulnerability described in [K]. 1292 When implementing EnvelopedData, AuthenticatedData, and 1293 AuthEnvelopedData, there are five algorithm related choices that need 1294 to be made: 1296 1) What is the public key size? 1297 2) What is the KDF? 1298 3) What is the key wrap algorithm? 1299 4) What is the content encryption algorithm? 1300 5) What is the curve? 1302 Consideration must be given to the strength of the security provided 1303 by each of these choices. Security is measured in bits, where a 1304 strong symmetric cipher with a key of X bits is said to provide X 1305 bits of security. It is recommended that the bits of security 1306 provided by each are roughly equivalent. The following table provides 1307 comparable minimum bits of security [SP800-57] for the ECDH/ECMQV key 1308 sizes, KDFs, key wrapping algorithms, and content encryption 1309 algorithms. It also lists curves [PKI-ALG] for the key sizes. 1311 Minimum | ECDH or | Key | Key | Content | Curves 1312 Bits of | ECQMV | Derivation | Wrap | Encryption | 1313 Security | Key Size | Function | Alg. | Alg. | 1314 ---------+----------+------------+----------+-------------+---------- 1315 80 | 160-223 | SHA-1 | 3DES | 3DES CBC | sect163k1 1316 | | SHA-224 | AES-128 | AES-128 CBC | secp163r2 1317 | | SHA-256 | AES-192 | AES-192 CBC | secp192r1 1318 | | SHA-384 | AES-256 | AES-256 CBC | 1319 | | SHA-512 | | | 1320 ---------+----------+------------+----------+-------------+--------- 1321 112 | 224-255 | SHA-1 | 3DES | 3DES CBC | secp224r1 1322 | | SHA-224 | AES-128 | AES-128 CBC | sect233k1 1323 | | SHA-256 | AES-192 | AES-192 CBC | sect233r1 1324 | | SHA-384 | AES-256 | AES-256 CBC | 1325 | | SHA-512 | | | 1326 ---------+----------+------------+----------+-------------+--------- 1327 128 | 256-383 | SHA-1 | AES-128 | AES-128 CBC | secp256r1 1328 | | SHA-224 | AES-192 | AES-192 CBC | sect283k1 1329 | | SHA-256 | AES-256 | AES-256 CBC | sect283r1 1330 | | SHA-384 | | | 1331 | | SHA-512 | | | 1332 ---------+----------+------------+----------+-------------+--------- 1333 192 | 384-511 | SHA-224 | AES-192 | AES-192 CBC | secp384r1 1334 | | SHA-256 | AES-256 | AES-256 CBC | sect409k1 1335 | | SHA-384 | | | sect409r1 1336 | | SHA-512 | | | 1337 ---------+----------+------------+----------+-------------+--------- 1338 256 | 512+ | SHA-256 | AES-256 | AES-256 CBC | secp521r1 1339 | | SHA-384 | | | sect571k1 1340 | | SHA-512 | | | sect571r1 1341 ---------+----------+------------+----------+-------------+--------- 1342 To promote interoperability, the following choices are RECOMMENDED: 1344 Minimum | ECDH or | Key | Key | Content | Curve 1345 Bits of | ECQMV | Derivation | Wrap | Encryption | 1346 Security | Key Size | Function | Alg. | Alg. | 1347 ---------+----------+------------+----------+-------------+---------- 1348 80 | 192 | SHA-256 | 3DES | 3DES CBC | secp192r1 1349 ---------+----------+------------+----------+-------------+---------- 1350 112 | 224 | SHA-256 | 3DES | 3DES CBC | secp224r1 1351 ---------+----------+------------+----------+-------------+---------- 1352 128 | 256 | SHA-256 | AES-128 | AES-128 CBC | secp256r1 1353 ---------+----------+------------+----------+-------------+---------- 1354 192 | 384 | SHA-384 | AES-256 | AES-256 CBC | secp384r1 1355 ---------+----------+------------+----------+-------------+---------- 1356 256 | 512+ | SHA-512 | AES-256 | AES-256 CBC | secp521r1 1357 ---------+----------+------------+----------+-------------+---------- 1359 When implementing SignedData, there are three algorithm related 1360 choices that need to be made: 1362 1) What is the public key size? 1363 2) What is the hash algorithm? 1364 3) What is the curve? 1366 Consideration must be given to the bits of security provided by each 1367 of these choices. Security is measured in bits, where a strong 1368 symmetric cipher with a key of X bits is said to provide X bits of 1369 security. It is recommended that the bits of security provided by 1370 each choice are roughly equivalent. The following table provides 1371 comparable minimum bits of security [SP800-57] for the ECDSA key 1372 sizes and message digest algorithms. It also lists curves [PKI-ALG] 1373 for the key sizes. 1375 Minimum | ECDSA | Message | Curve 1376 Bits of | Key Size | Digest | 1377 Security | | Algorithm | 1378 ---------+----------+-----------+----------- 1379 80 | 160-223 | SHA-1 | sect163k1 1380 | | SHA-224 | secp163r2 1381 | | SHA-256 | secp192r1 1382 | | SHA-384 | 1383 | | SHA-512 | 1384 ---------+----------+-----------+----------- 1385 112 | 224-255 | SHA-224 | secp224r1 1386 | | SHA-256 | sect233k1 1387 | | SHA-384 | sect233r1 1388 | | SHA-512 | 1389 ---------+----------+-----------+----------- 1390 128 | 256-383 | SHA-256 | secp256r1 1391 | | SHA-384 | sect283k1 1392 | | SHA-512 | sect283r1 1393 ---------+----------+-----------+----------- 1394 192 | 384-511 | SHA-384 | secp384r1 1395 | | SHA-512 | sect409k1 1396 | | | sect409r1 1397 ---------+----------+-----------+----------- 1398 256 | 512+ | SHA-512 | secp521r1 1399 | | | sect571k1 1400 | | | sect571r1 1401 ---------+----------+-----------+----------- 1403 To promote interoperability, the following choices are RECOMMENDED: 1405 Minimum | ECDSA | Message | Curve 1406 Bits of | Key Size | Digest | 1407 Security | | Algorithm | 1408 ---------+----------+-----------+----------- 1409 80 | 192 | SHA-256 | sect192r1 1410 ---------+----------+-----------+----------- 1411 112 | 224 | SHA-256 | secp224r1 1412 ---------+----------+-----------+----------- 1413 128 | 256 | SHA-256 | secp256r1 1414 ---------+----------+-----------+----------- 1415 192 | 384 | SHA-384 | secp384r1 1416 ---------+----------+-----------+----------- 1417 256 | 512+ | SHA-512 | secp521r1 1418 ---------+----------+-----------+----------- 1420 10. IANA Considerations 1422 This document makes extensive use of object identifiers to register 1423 originator public key types and algorithms. The algorithm object 1424 identifiers are registered in the ANSI X9.62, ANSI X9.63, NIST, RSA, 1425 and SECG arcs. Additionally, object identifiers are used to identify 1426 the ASN.1 modules found in Appendix A (there are two). These are 1427 defined by the SMIME WG Registrar in an arc delegated by RSA to the 1428 SMIME Working Group: iso(1) member-body(2) us(840) rsadsi(113549) 1429 pkcs(1) pkcs-9(9) smime(16) modules(0). No action by IANA is 1430 necessary for this document or any anticipated updates. 1432 11. References 1434 11.1. Normative 1436 [CMS] Housley, R., "Cryptographic Message Syntax", RFC 1437 3852, July 2004. 1439 [CMS-AES] Schaad, J., "Use of the Advanced Encryption Standard 1440 (AES) Encryption Algorithm in Cryptographic Message 1441 Syntax (CMS)", RFC 3565, July 2003. 1443 [CMS-AESCG] Housley, R., "Using AES-CCM and AES-GCM Authenticated 1444 Encryption in the Cryptographic Message Syntax 1445 (CMS)", RFC 5084, November 2007. 1447 [CMS-ALG] Housley, R., "Cryptographic Message Syntax (CMS) 1448 Algorithms", RFC 3370, August 2002. 1450 [CMS-AUTHENV] Housley, R. "Cryptographic Message Syntax (CMS) 1451 Authenticated-Enveloped-Data Content Type", RFC 5083, 1452 November 2007. 1454 [CMS-DH] Rescorla, E., "Diffie-Hellman Key Agreement Method", 1455 RFC 2631, June 1999. 1457 [CMS-SHA2] Turner, S., "Using SHA2 Algorithms with Cryptographic 1458 Message Syntax", draft-ietf-smime-sha2, work-in- 1459 progress. 1461 [FIPS180-3] National Institute of Standards and Technology 1462 (NIST), FIPS Publication 180-3: Secure Hash Standard, 1463 October 2008. 1465 [FIPS186-3] National Institute of Standards and Technology 1466 (NIST), FIPS Publication 186-3: Digital Signature 1467 Standard, (draft) November 2008. 1469 [HMAC-SHA2] Nystrom, M., "Identifiers and Test Vectors for HMAC- 1470 SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA- 1471 512", RFC 4231, December 2005. 1473 [MUST] Bradner, S., "Key Words for Use in RFCs to Indicate 1474 Requirement Levels", BCP 14, RFC 2119, March 1997. 1476 [MSG] Ramsdell, B., and S. Turner, "S/MIME Version 3.2 1477 Message Specification", draft-ietf-smime-3851bis, 1478 work-in-progress. 1480 [PKI] Cooper, D., Santesson, S., Farrell, S., Boeyen, S. 1481 Housley, R., and W. Polk, "Internet X.509 Public Key 1482 Infrastructure Certificate and Certificate Revocation 1483 List (CRL) Profile", RFC 5280, May 2008. 1485 [PKI-ALG] Turner, S., Brown, D., Yiu, K., Housley, R., and W. 1486 Polk, "Elliptic Curve Cryptography Subject Public Key 1487 Information", RFC 5480, March 2009. 1489 [RANDOM] Eastlake 3rd, D., Crocker, S., and J. Schiller, 1490 "Randomness Recommendations for Security", RFC 4086, 1491 June 2005. 1493 [RSAOAEP] Schaad, J., Kaliski, B., and R. Housley, "Additional 1494 Algorithms and Identifiers for RSA Cryptography for 1495 use in the Internet X.509 Public Key Infrastructure 1496 Certificate and Certificate Revocation List (CRL) 1497 Profile", RFC 4055, June 2005. 1499 [SEC1] SECG, "Elliptic Curve Cryptography", Standards for 1500 Efficient Cryptography Group, 2002. Available from 1501 http://www.secg.org/download/aid-780/sec1-v2.pdf. 1503 [SP800-56A] National Institute of Standards and Technology 1504 (NIST), Special Publication 800-56A: Recommendation 1505 Pair-Wise Key Establishment Schemes Using Discrete 1506 Logarithm Cryptography (Revised), March 2007. 1508 [X.680] ITU-T Recommendation X.680 (2002) | ISO/IEC 8824- 1509 1:2002. Information Technology - Abstract Syntax 1510 Notation One. 1512 11.2. Informative 1514 [BON] D. Boneh, "The Security of Multicast MAC", 1515 Presentation at Selected Areas of Cryptography 2000, 1516 Center for Applied Cryptographic Research, University 1517 of Waterloo, 2000. Paper version available from 1518 http://crypto.stanford.edu/~dabo/papers/mmac.ps 1520 [CERTCAP] Santesson, S., "X.509 Certificate Extension for 1521 Secure/Multipurpose Internet Mail Extensions (S/MIME) 1522 Capabilities", RFC 4262, December 2005. 1524 [CMS-ASN] Hoffman, P., and J. Schaad, "New ASN.1 Modules for 1525 CMS", draft-ietf-smime-new-asn1, work-in-progress. 1527 [CMS-ECC] Blake-Wilson, S., Brown, D., and P. Lambert, "Use of 1528 Elliptic Curve Cryptography (ECC) Algorithms in 1529 Cryptographic Message Syntax (CMS)", RFC 3278, April 1530 2002. 1532 [CMS-KEA] Pawling, J., "CMS KEA and SKIPJACK Conventions", RFC 1533 2876, July 2000. 1535 [K] B. Kaliski, "MQV Vulnerability", Posting to ANSI X9F1 1536 and IEEE P1363 newsgroups, 1998. 1538 [PKI-ASN] Hoffman, P., and J. Schaad, "New ASN.1 Modules for 1539 PKIX", draft-ietf-pkix-new-asn1, work-in-progress. 1541 [SP800-57] National Institute of Standards and Technology 1542 (NIST), Special Publication 800-57: Recommendation 1543 for Key Management - Part 1 (Revised), March 2007. 1545 [X.680] ITU-T Recommendation X.680 (2002) | ISO/IEC 8824- 1546 1:2002. Information Technology - Abstract Syntax 1547 Notation One. 1549 [X.681] ITU-T Recommendation X.681 (2002) | ISO/IEC 8824- 1550 2:2002. Information Technology - Abstract Syntax 1551 Notation One: Information Object Specification. 1553 [X.682] ITU-T Recommendation X.682 (2002) | ISO/IEC 8824- 1554 3:2002. Information Technology - Abstract Syntax 1555 Notation One: Constraint Specification. 1557 [X.683] ITU-T Recommendation X.683 (2002) | ISO/IEC 8824- 1558 4:2002. Information Technology - Abstract Syntax 1559 Notation One: Parameterization of ASN.1 1560 Specifications, 2002. 1562 Appendix A ASN.1 Modules 1564 Appendix A.1 provides the normative ASN.1 definitions for the 1565 structures described in this specification using ASN.1 as defined in 1566 [X.680] for compilers that support the 1988 ASN.1. 1568 Appendix A.2 provides informative ASN.1 definitions for the 1569 structures described in this specification using ASN.1 as defined in 1570 [X.680], [X.681], [X.682], and [X.683] for compilers that support the 1571 2002 ASN.1. This appendix contains the same information as Appendix 1572 A.1 in a more recent (and precise) ASN.1 notation, however Appendix 1573 A.1 takes precedence in case of conflict. 1575 NOTE: The values for the TBAs will be included during AUTH48. 1577 //** RFC Editor: Remove this note prior to publication **// 1579 Appendix A.1 1988 ASN.1 Module 1581 SMIMEECCAlgs-1988 1582 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1583 smime(16) modules(0) TBA1 } 1585 DEFINITIONS IMPLICIT TAGS ::= 1587 BEGIN 1589 -- EXPORTS ALL 1591 IMPORTS 1593 -- From [PKI] 1595 AlgorithmIdentifier 1596 FROM PKIX1Explicit88 1597 { iso(1) identified-organization(3) dod(6) 1598 internet(1) security(5) mechanisms(5) pkix(7) mod(0) 1599 pkix1-explicit(18) } 1601 -- From [RSAOAEP] 1603 id-sha224, id-sha256, id-sha384, id-sha512 1604 FROM PKIX1-PSS-OAEP-Algorithms 1605 { iso(1) identified-organization(3) dod(6) internet(1) 1606 security(5) mechanisms(5) pkix(7) id-mod(0) 1607 id-mod-pkix1-rsa-pkalgs(33) } 1609 -- From [PKI-ALG] 1611 id-sha1, ecdsa-with-SHA1, ecdsa-with-SHA224, 1612 ecdsa-with-SHA256, ecdsa-with-SHA384, ecdsa-with-SHA512, 1613 id-ecPublicKey, ECDSA-Sig-Value, ECPoint, ECParameters 1614 FROM PKIX1Algorithms2008 1615 { iso(1) identified-organization(3) dod(6) internet(1) 1616 security(5) mechanisms(5) pkix(7) id-mod(0) 45 } 1618 -- From [CMS] 1620 OriginatorPublicKey, UserKeyingMaterial 1621 FROM CryptographicMessageSyntax2004 1622 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1623 smime(16) modules(0) cms-2004(24) } 1625 -- From [CMS-ALG] 1627 hMAC-SHA1, des-ede3-cbc, id-alg-CMS3DESwrap, CBCParameter 1628 FROM CryptographicMessageSyntaxAlgorithms 1629 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1630 smime(16) modules(0) cmsalg-2001(16) } 1632 -- From [CMS-AES] 1634 id-aes128-CBC, id-aes192-CBC, id-aes256-CBC, AES-IV, 1635 id-aes128-wrap, id-aes192-wrap, id-aes256-wrap 1636 FROM CMSAesRsaesOaep 1637 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1638 smime(16) modules(0) id-mod-cms-aes(19) } 1640 -- From [CMS-AESCG] 1642 id-aes128-CCM, id-aes192-CCM, id-aes256-CCM, CCMParameters 1643 id-aes128-GCM, id-aes192-GCM, id-aes256-GCM, GCMParameters 1644 FROM CMS-AES-CCM-and-AES-GCM 1645 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1646 smime(16) modules(0) id-mod-cms-aes(32) } 1648 ; 1650 -- 1651 -- Message Digest Algorithms 1652 -- 1654 -- id-sha1 Parameters are preferred absent 1655 -- id-sha224 Parameters are preferred absent 1656 -- id-sha256 Parameters are preferred absent 1657 -- id-sha384 Parameters are preferred absent 1658 -- id-sha512 Parameters are preferred absent 1660 -- 1661 -- Signature Algorithms 1662 -- 1664 -- ecdsa-with-SHA1 Parameters are NULL 1665 -- ecdsa-with-SHA224 Parameters are absent 1666 -- ecdsa-with-SHA256 Parameters are absent 1667 -- ecdsa-with-SHA384 Parameters are absent 1668 -- ecdsa-with-SHA512 Parameters are absent 1670 -- ECDSA Signature Value 1671 -- Contents of SignatureValue OCTET STRING 1673 -- ECDSA-Sig-Value ::= SEQUENCE { 1674 -- r INTEGER, 1675 -- s INTEGER 1676 -- } 1678 -- 1679 -- Key Agreement Algorithms 1680 -- 1682 x9-63-scheme OBJECT IDENTIFIER ::= { 1683 iso(1) identified-organization(3) tc68(133) country(16) x9(840) 1684 x9-63(63) schemes(0) } 1686 secg-scheme OBJECT IDENTIFIER ::= { 1687 iso(1) identified-organization(3) certicom(132) schemes(1) } 1689 -- 1690 -- Diffie-Hellman Single Pass, Standard, with KDFs 1691 -- 1693 -- Parameters are always present and indicate the key wrap algorithm 1694 -- with KeyWrapAlgorithm. 1696 dhSinglePass-stdDH-sha1kdf-scheme OBJECT IDENTIFIER ::= { 1697 x9-63-scheme 2 } 1699 dhSinglePass-stdDH-sha224kdf-scheme OBJECT IDENTIFIER ::= { 1700 secg-scheme 11 0 } 1702 dhSinglePass-stdDH-sha256kdf-scheme OBJECT IDENTIFIER ::= { 1703 secg-scheme 11 1 } 1705 dhSinglePass-stdDH-sha384kdf-scheme OBJECT IDENTIFIER ::= { 1706 secg-scheme 11 2 } 1708 dhSinglePass-stdDH-sha512kdf-scheme OBJECT IDENTIFIER ::= { 1709 secg-scheme 11 3 } 1711 -- 1712 -- Diffie-Hellman Single Pass, Cofactor, with KDFs 1713 -- 1715 dhSinglePass-cofactorDH-sha1kdf-scheme OBJECT IDENTIFIER ::= { 1716 x9-63-scheme 3 } 1718 dhSinglePass-cofactorDH-sha224kdf-scheme OBJECT IDENTIFIER ::= { 1719 secg-scheme 14 0 } 1721 dhSinglePass-cofactorDH-sha256kdf-scheme OBJECT IDENTIFIER ::= { 1722 secg-scheme 14 1 } 1724 dhSinglePass-cofactorDH-sha384kdf-scheme OBJECT IDENTIFIER ::= { 1725 secg-scheme 14 2 } 1727 dhSinglePass-cofactorDH-sha512kdf-scheme OBJECT IDENTIFIER ::= { 1728 secg-scheme 14 3 } 1730 -- 1731 -- MQV Single Pass, Cofactor, with KDFs 1732 -- 1734 mqvSinglePass-sha1kdf-scheme OBJECT IDENTIFIER ::= { 1735 x9-63-scheme 16 } 1737 mqvSinglePass-sha224kdf-scheme OBJECT IDENTIFIER ::= { 1738 secg-scheme 15 0 } 1740 mqvSinglePass-sha256kdf-scheme OBJECT IDENTIFIER ::= { 1741 secg-scheme 15 1 } 1743 mqvSinglePass-sha384kdf-scheme OBJECT IDENTIFIER ::= { 1744 secg-scheme 15 2 } 1746 mqvSinglePass-sha512kdf-scheme OBJECT IDENTIFIER ::= { 1747 secg-scheme 15 3 } 1749 -- 1750 -- Key Wrap Algorithms 1751 -- 1753 KeyWrapAlgorithm ::= AlgorithmIdentifier 1755 -- id-alg-CMS3DESwrap Parameters are NULL 1756 -- id-aes128-wrap Parameters are absent 1757 -- id-aes192-wrap Parameters are absent 1758 -- id-aes256-wrap Parameters are absent 1760 -- 1761 -- Content Encryption Algorithms 1762 -- 1764 -- des-ede3-cbc Parameters are CBCParameter 1765 -- id-aes128-CBC Parameters are AES-IV 1766 -- id-aes192-CBC Parameters are AES-IV 1767 -- id-aes256-CBC Parameters are AES-IV 1768 -- id-aes128-CCM Parameters are CCMParameters 1769 -- id-aes192-CCM Parameters are CCMParameters 1770 -- id-aes256-CCM Parameters are CCMParameters 1771 -- id-aes128-GCM Parameters are GCMParameters 1772 -- id-aes192-GCM Parameters are GCMParameters 1773 -- id-aes256-GCM Parameters are GCMParameters 1775 -- 1776 -- Message Authentication Code Algorithms 1777 -- 1779 -- hMAC-SHA1 Parameters are preferred absent 1781 -- HMAC with SHA-224, SHA-256, SHA_384, and SHA-512 Parameters are 1782 -- absent 1783 id-hmacWithSHA224 OBJECT IDENTIFIER ::= { 1784 iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 8 } 1786 id-hmacWithSHA256 OBJECT IDENTIFIER ::= { 1787 iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 9 } 1789 id-hmacWithSHA384 OBJECT IDENTIFIER ::= { 1790 iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 10 1791 } 1793 id-hmacWithSHA512 OBJECT IDENTIFIER ::= { 1794 iso(1) member-body(2) us(840) rsadsi(113549) digestAlgorithm(2) 11 1795 } 1797 -- 1798 -- Originator Public Key Algorithms 1799 -- 1801 -- id-ecPublicKey Parameters are absent, NULL, or ECParameters 1803 -- Format for both ephemeral and static public keys 1805 -- ECPoint ::= OCTET STRING 1807 -- ECParameters ::= CHOICE { 1808 -- namedCurve OBJECT IDENTIFIER 1809 -- commented out in [PKI-ALG] implicitCurve NULL 1810 -- commented out in [PKI-ALG] specifiedCurve SpecifiedECDomain 1811 -- commented out in [PKI-ALG] Extensible 1812 -- } 1813 -- implicitCurve and specifiedCurve MUST NOT be used in PKIX. 1814 -- Details for SpecifiedECDomain can be found in [X9.62]. 1815 -- Any future additions to this CHOICE should be coordinated 1816 -- with ANSI X9. 1818 -- Format of KeyAgreeRecipientInfo ukm field when used with 1819 -- ECMQV 1821 MQVuserKeyingMaterial ::= SEQUENCE { 1822 ephemeralPublicKey OriginatorPublicKey, 1823 addedukm [0] EXPLICIT UserKeyingMaterial OPTIONAL 1824 } 1825 -- 'SharedInfo' for input to KDF when using ECDH and ECMQV with 1826 -- EnvelopedData, AuthenticatedData, or AuthEnvelopedData 1828 ECC-CMS-SharedInfo ::= SEQUENCE { 1829 keyInfo AlgorithmIdentifier, 1830 entityUInfo [0] EXPLICIT OCTET STRING OPTIONAL, 1831 suppPubInfo [2] EXPLICIT OCTET STRING 1832 } 1834 -- 1835 -- S/MIME Capabilities 1836 -- An identifier followed by type. 1837 -- 1839 -- 1840 -- S/MIME Capabilities: Message Digest Algorithms 1841 -- 1843 -- Found in [CMS-SHA2]. 1845 -- 1846 -- S/MIME Capabilities: Signature Algorithms 1847 -- 1849 -- ecdsa-with-SHA1 Type NULL 1850 -- ecdsa-with-SHA224 Type absent 1851 -- ecdsa-with-SHA256 Type absent 1852 -- ecdsa-with-SHA384 Type absent 1853 -- ecdsa-with-SHA512 Type absent 1855 -- 1856 -- S/MIME Capabilities: ECDH, Single Pass, Standard 1857 -- 1859 -- dhSinglePass-stdDH-sha1kdf Type is the KeyWrapAlgorithm 1860 -- dhSinglePass-stdDH-sha224kdf Type is the KeyWrapAlgorithm 1861 -- dhSinglePass-stdDH-sha256kdf Type is the KeyWrapAlgorithm 1862 -- dhSinglePass-stdDH-sha384kdf Type is the KeyWrapAlgorithm 1863 -- dhSinglePass-stdDH-sha512kdf Type is the KeyWrapAlgorithm 1865 -- 1866 -- S/MIME Capabilities: ECDH, Single Pass, Cofactor 1867 -- 1869 -- dhSinglePass-cofactorDH-sha1kdf Type is the KeyWrapAlgorithm 1870 -- dhSinglePass-cofactorDH-sha224kdf Type is the KeyWrapAlgorithm 1871 -- dhSinglePass-cofactorDH-sha256kdf Type is the KeyWrapAlgorithm 1872 -- dhSinglePass-cofactorDH-sha384kdf Type is the KeyWrapAlgorithm 1873 -- dhSinglePass-cofactorDH-sha512kdf Type is the KeyWrapAlgorithm 1875 -- 1876 -- S/MIME Capabilities: ECMQV, Single Pass, Standard 1877 -- 1879 -- mqvSinglePass-sha1kdf Type is the KeyWrapAlgorithm 1880 -- mqvSinglePass-sha224kdf Type is the KeyWrapAlgorithm 1881 -- mqvSinglePass-sha256kdf Type is the KeyWrapAlgorithm 1882 -- mqvSinglePass-sha384kdf Type is the KeyWrapAlgorithm 1883 -- mqvSinglePass-sha512kdf Type is the KeyWrapAlgorithm 1885 -- 1886 -- S/MIME Capabilities: Message Authentication Code Algorithms 1887 -- 1889 -- hMACSHA1 Type is preferred absent 1890 -- id-hmacWithSHA224 Type is absent 1891 -- if-hmacWithSHA256 Type is absent 1892 -- id-hmacWithSHA384 Type is absent 1893 -- id-hmacWithSHA512 Type is absent 1895 END 1897 Appendix A.2 2004 ASN.1 Module 1899 SMIMEECCAlgs-2008 1900 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1901 smime(16) modules(0) TBA2 } 1903 DEFINITIONS IMPLICIT TAGS ::= 1905 BEGIN 1907 -- EXPORTS ALL 1909 IMPORTS 1910 -- From [PKI-ASN] 1912 mda-sha1, sa-ecdsaWithSHA1, sa-ecdsaWithSHA224, sa-ecdsaWithSHA256, 1913 sa-ecdsaWithSHA384, sa-ecdsaWithSHA512, id-ecPublicKey, 1914 ECDSA-Sig-Value, ECPoint, ECParameters 1915 FROM PKIXAlgs-2009 1916 { iso(1) identified-organization(3) dod(6) internet(1) 1917 security(5) mechanisms(5) pkix(7) id-mod(0) 1918 id-mod-pkix1-algorithms2008-02(56) } 1920 -- From [PKI-ASN] 1922 mda-sha224, mda-sha256, mda-sha384, mda-sha512 1923 FROM PKIX1-PSS-OAEP-Algorithms-2009 1924 { iso(1) identified-organization(3) dod(6) internet(1) 1925 security(5) mechanisms(5) pkix(7) id-mod(0) 1926 id-mod-pkix1-rsa-pkalgs-02(54) } 1928 -- FROM [CMS-ASN] 1930 KEY-WRAP, SIGNATURE-ALGORITHM, DIGEST-ALGORITHM, ALGORITHM, 1931 PUBLIC-KEY, MAC-ALGORITHM, CONTENT-ENCRYPTION, KEY-AGREE, SMIME-CAPS 1932 FROM AlgorithmInformation-2009 1933 { iso(1) identified-organization(3) dod(6) internet(1) 1934 security(5) mechanisms(5) pkix(7) id-mod(0) 1935 id-mod-algorithmInformation-02(58) } 1937 -- From [CMS-ASN] 1939 OriginatorPublicKey, UserKeyingMaterial 1940 FROM CryptographicMessageSyntax-2009 1941 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1942 smime(16) modules(0) id-mod-cms-2004-02(41) } 1944 -- From [CMS-ASN] 1946 maca-hMAC-SHA1, cea-des-ede3-cbc, kwa-3DESWrap, CBCParameter 1947 FROM CryptographicMessageSyntaxAlgorithms-2009 1948 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1949 smime(16) modules(0) id-mod-cmsalg-2001-02(37) } 1951 -- From [CMS-ASN] 1953 cea-aes128-CBC, cea-aes192-CBC, cea-aes256-CBC, kwa-aes128-wrap, 1954 kwa-aes192-wrap, kwa-aes256-wrap 1955 FROM CMSAesRsaesOaep-2009 1956 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1957 smime(16) modules(0) id-mod-cms-aes-02(38) } 1959 -- From [CMS-ASN] 1961 cea-aes128-ccm, cea-aes192-ccm, cea-aes256-ccm, cea-aes128-gcm, 1962 cea-aes192-gcm, cea-aes256-gcm 1963 FROM CMS-AES-CCM-and-AES-GCM-2009 1964 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 1965 smime(16) modules(0) id-mod-cms-aes-ccm-gcm-02(44) } 1967 ; 1969 -- Constrains the SignedData digestAlgorithms field 1970 -- Constrains the SignedData SignerInfo digestAlgorithm field 1971 -- Constrains the AuthenticatedData digestAlgorithm field 1973 -- MessageDigestAlgs DIGEST-ALGORITHM ::= { 1974 -- mda-sha1 | 1975 -- mda-sha224 | 1976 -- mda-sha256 | 1977 -- mda-sha384 | 1978 -- mda-sha512, 1979 -- ... -- Extensible 1980 -- } 1982 -- Constrains the SignedData SignerInfo signatureAlgorithm field 1984 -- SignatureAlgs SIGNATURE-ALGORITHM ::= { 1985 -- sa-ecdsaWithSHA1 | 1986 -- sa-ecdsaWithSHA224 | 1987 -- sa-ecdsaWithSHA256 | 1988 -- sa-ecdsaWithSHA384 | 1989 -- sa-ecdsaWithSHA512, 1990 -- ... -- Extensible 1991 -- } 1992 -- ECDSA Signature Value 1993 -- Contents of SignatureValue OCTET STRING 1995 -- ECDSA-Sig-Value ::= SEQUENCE { 1996 -- r INTEGER, 1997 -- s INTEGER 1998 -- } 2000 -- 2001 -- Key Agreement Algorithms 2002 -- 2004 -- Constrains the EnvelopedData RecipientInfo KeyAgreeRecipientInfo 2005 -- keyEncryption Algorithm field 2006 -- Constrains the AuthenticatedData RecipientInfo 2007 -- KeyAgreeRecipientInfo keyEncryption Algorithm field 2008 -- Constrains the AuthEnvelopedData RecipientInfo 2009 -- KeyAgreeRecipientInfo keyEncryption Algorithm field 2011 -- DH variants are not used with AuthenticatedData or 2012 -- AuthEnvelopedData 2014 KeyAgreementAlgs KEY-AGREE ::= { 2015 kaa-dhSinglePass-stdDH-sha1kdf-scheme | 2016 kaa-dhSinglePass-stdDH-sha224kdf-scheme | 2017 kaa-dhSinglePass-stdDH-sha256kdf-scheme | 2018 kaa-dhSinglePass-stdDH-sha384kdf-scheme | 2019 kaa-dhSinglePass-stdDH-sha512kdf-scheme | 2020 kaa-dhSinglePass-cofactorDH-sha1kdf-scheme | 2021 kaa-dhSinglePass-cofactorDH-sha224kdf-scheme | 2022 kaa-dhSinglePass-cofactorDH-sha256kdf-scheme | 2023 kaa-dhSinglePass-cofactorDH-sha384kdf-scheme | 2024 kaa-dhSinglePass-cofactorDH-sha512kdf-scheme | 2025 kaa-mqvSinglePass-sha1kdf-scheme | 2026 kaa-mqvSinglePass-sha224kdf-scheme | 2027 kaa-mqvSinglePass-sha256kdf-scheme | 2028 kaa-mqvSinglePass-sha384kdf-scheme | 2029 kaa-mqvSinglePass-sha512kdf-scheme, 2030 ... -- Extensible 2031 } 2033 x9-63-scheme OBJECT IDENTIFIER ::= { 2034 iso(1) identified-organization(3) tc68(133) country(16) x9(840) 2035 x9-63(63) schemes(0) } 2037 secg-scheme OBJECT IDENTIFIER ::= { 2038 iso(1) identified-organization(3) certicom(132) schemes(1) } 2040 -- 2041 -- Diffie-Hellman Single Pass, Standard, with KDFs 2042 -- 2044 -- Parameters are always present and indicate the Key Wrap Algorithm 2046 kaa-dhSinglePass-stdDH-sha1kdf-scheme KEY-AGREE ::= { 2047 IDENTIFIER dhSinglePass-stdDH-sha1kdf-scheme 2048 PARAMS TYPE KeyWrapAlgorithm ARE required 2049 UKM -- TYPE unencoded data -- IS preferredPresent 2050 SMIME-CAPS cap-kaa-dhSinglePass-stdDH-sha1kdf-scheme 2051 } 2053 dhSinglePass-stdDH-sha1kdf-scheme OBJECT IDENTIFIER ::= { 2054 x9-63-scheme 2 } 2056 kaa-dhSinglePass-stdDH-sha224kdf-scheme KEY-AGREE ::= { 2057 IDENTIFIER dhSinglePass-stdDH-sha224kdf-scheme 2058 PARAMS TYPE KeyWrapAlgorithm ARE required 2059 UKM -- TYPE unencoded data -- IS preferredPresent 2060 SMIME-CAPS cap-kaa-dhSinglePass-stdDH-sha224kdf-scheme 2061 } 2063 dhSinglePass-stdDH-sha224kdf-scheme OBJECT IDENTIFIER ::= { 2064 secg-scheme 11 0 } 2066 kaa-dhSinglePass-stdDH-sha256kdf-scheme KEY-AGREE ::= { 2067 IDENTIFIER dhSinglePass-stdDH-sha256kdf-scheme 2068 PARAMS TYPE KeyWrapAlgorithm ARE required 2069 UKM -- TYPE unencoded data -- IS preferredPresent 2070 SMIME-CAPS cap-kaa-dhSinglePass-stdDH-sha256kdf-scheme 2071 } 2073 dhSinglePass-stdDH-sha256kdf-scheme OBJECT IDENTIFIER ::= { 2074 secg-scheme 11 1 } 2076 kaa-dhSinglePass-stdDH-sha384kdf-scheme KEY-AGREE ::= { 2077 IDENTIFIER dhSinglePass-stdDH-sha384kdf-scheme 2078 PARAMS TYPE KeyWrapAlgorithm ARE required 2079 UKM -- TYPE unencoded data -- IS preferredPresent 2080 SMIME-CAPS cap-kaa-dhSinglePass-stdDH-sha384kdf-scheme 2081 } 2083 dhSinglePass-stdDH-sha384kdf-scheme OBJECT IDENTIFIER ::= { 2084 secg-scheme 11 2 } 2086 kaa-dhSinglePass-stdDH-sha512kdf-scheme KEY-AGREE ::= { 2087 IDENTIFIER dhSinglePass-stdDH-sha512kdf-scheme 2088 PARAMS TYPE KeyWrapAlgorithm ARE required 2089 UKM -- TYPE unencoded data -- IS preferredPresent 2090 SMIME-CAPS cap-kaa-dhSinglePass-stdDH-sha512kdf-scheme } 2091 } 2093 dhSinglePass-stdDH-sha512kdf-scheme OBJECT IDENTIFIER ::= { 2094 secg-scheme 11 3 } 2096 -- 2097 -- Diffie-Hellman Single Pass, Cofactor, with KDFs 2098 -- 2100 kaa-dhSinglePass-cofactorDH-sha1kdf-scheme KEY-AGREE ::= { 2101 IDENTIFIER dhSinglePass-cofactorDH-sha1kdf-scheme 2102 PARAMS TYPE KeyWrapAlgorithm ARE required 2103 UKM -- TYPE unencoded data -- IS preferredPresent 2104 SMIME-CAPS cap-kaa-dhSinglePass-cofactorDH-sha1kdf-scheme 2105 } 2107 dhSinglePass-cofactorDH-sha1kdf-scheme OBJECT IDENTIFIER ::= { 2108 x9-63-scheme 3 } 2110 kaa-dhSinglePass-cofactorDH-sha224kdf-scheme KEY-AGREE ::= { 2111 IDENTIFIER dhSinglePass-cofactorDH-sha224kdf-scheme 2112 PARAMS TYPE KeyWrapAlgorithm ARE required 2113 UKM -- TYPE unencoded data -- IS preferredPresent 2114 SMIME-CAPS cap-kaa-dhSinglePass-cofactorDH-sha224kdf-scheme 2115 } 2117 dhSinglePass-cofactorDH-sha224kdf-scheme OBJECT IDENTIFIER ::= { 2118 secg-scheme 14 0 } 2120 kaa-dhSinglePass-cofactorDH-sha256kdf-scheme KEY-AGREE ::= { 2121 IDENTIFIER dhSinglePass-cofactorDH-sha256kdf-scheme 2122 PARAMS TYPE KeyWrapAlgorithm ARE required 2123 UKM -- TYPE unencoded data -- IS preferredPresent 2124 SMIME-CAPS cap-kaa-dhSinglePass-cofactorDH-sha256kdf-scheme 2125 } 2127 dhSinglePass-cofactorDH-sha256kdf-scheme OBJECT IDENTIFIER ::= { 2128 secg-scheme 14 1 } 2130 kaa-dhSinglePass-cofactorDH-sha384kdf-scheme KEY-AGREE ::= { 2131 IDENTIFIER dhSinglePass-cofactorDH-sha384kdf-scheme 2132 PARAMS TYPE KeyWrapAlgorithm ARE required 2133 UKM -- TYPE unencoded data -- IS preferredPresent 2134 SMIME-CAPS cap-kaa-dhSinglePass-cofactorDH-sha384kdf-scheme 2135 } 2137 dhSinglePass-cofactorDH-sha384kdf-scheme OBJECT IDENTIFIER ::= { 2138 secg-scheme 14 2 } 2140 kaa-dhSinglePass-cofactorDH-sha512kdf-scheme KEY-AGREE ::= { 2141 IDENTIFIER dhSinglePass-cofactorDH-sha512kdf-scheme 2142 PARAMS TYPE KeyWrapAlgorithm ARE required 2143 UKM -- TYPE unencoded data -- IS preferredPresent 2144 SMIME-CAPS cap-kaa-dhSinglePass-cofactorDH-sha512kdf-scheme 2145 } 2147 dhSinglePass-cofactorDH-sha512kdf-scheme OBJECT IDENTIFIER ::= { 2148 secg-scheme 14 3 } 2150 -- 2151 -- MQV Single Pass, Cofactor, with KDFs 2152 -- 2154 kaa-mqvSinglePass-sha1kdf-scheme KEY-AGREE ::= { 2155 IDENTIFIER mqvSinglePass-sha1kdf-scheme 2156 PARAMS TYPE KeyWrapAlgorithm ARE required 2157 UKM -- TYPE unencoded data -- IS preferredPresent 2158 SMIME-CAPS cap-kaa-mqvSinglePass-sha1kdf-scheme 2159 } 2161 mqvSinglePass-sha1kdf-scheme OBJECT IDENTIFIER ::= { 2162 x9-63-scheme 16 } 2164 kaa-mqvSinglePass-sha224kdf-scheme KEY-AGREE ::= { 2165 IDENTIFIER mqvSinglePass-sha224kdf-scheme 2166 PARAMS TYPE KeyWrapAlgorithm ARE required 2167 UKM -- TYPE unencoded data -- IS preferredPresent 2168 SMIME-CAPS cap-kaa-mqvSinglePass-sha224kdf-scheme 2169 } 2171 mqvSinglePass-sha224kdf-scheme OBJECT IDENTIFIER ::= { 2172 secg-scheme 15 0 } 2174 kaa-mqvSinglePass-sha256kdf-scheme KEY-AGREE ::= { 2175 IDENTIFIER mqvSinglePass-sha256kdf-scheme 2176 PARAMS TYPE KeyWrapAlgorithm ARE required 2177 UKM -- TYPE unencoded data -- IS preferredPresent 2178 SMIME-CAPS cap-kaa-mqvSinglePass-sha256kdf-scheme 2179 } 2181 mqvSinglePass-sha256kdf-scheme OBJECT IDENTIFIER ::= { 2182 secg-scheme 15 1 } 2184 kaa-mqvSinglePass-sha384kdf-scheme KEY-AGREE ::= { 2185 IDENTIFIER mqvSinglePass-sha384kdf-scheme 2186 PARAMS TYPE KeyWrapAlgorithm ARE required 2187 UKM -- TYPE unencoded data -- IS preferredPresent 2188 SMIME-CAPS cap-kaa-mqvSinglePass-sha384kdf-scheme 2189 } 2191 mqvSinglePass-sha384kdf-scheme OBJECT IDENTIFIER ::= { 2192 secg-scheme 15 2 } 2194 kaa-mqvSinglePass-sha512kdf-scheme KEY-AGREE ::= { 2195 IDENTIFIER mqvSinglePass-sha512kdf-scheme 2196 PARAMS TYPE KeyWrapAlgorithm ARE required 2197 UKM -- TYPE unencoded data -- IS preferredPresent 2198 SMIME-CAPS cap-kaa-mqvSinglePass-sha512kdf-scheme 2199 } 2201 mqvSinglePass-sha512kdf-scheme OBJECT IDENTIFIER ::= { 2202 secg-scheme 15 3 } 2204 -- 2205 -- Key Wrap Algorithms 2206 -- 2208 KeyWrapAlgorithm ::= KeyWrapAlgs 2210 KeyWrapAlgs KEY-WRAP ::= { 2211 kwa-3des | 2212 kwa-aes128 | 2213 kwa-aes192 | 2214 kwa-aes256, 2215 ... -- Extensible 2216 } 2217 -- 2218 -- Content Encryption Algorithms 2219 -- 2221 -- Constrains the EnvelopedData EncryptedContentInfo encryptedContent 2222 -- field and the AuthEnvelopedData EncryptedContentInfo 2223 -- contentEncryptionAlgorithm field 2225 -- ContentEncryptionAlgs CONTENT-ENCRYPTION ::= { 2226 -- cea-des-ede3-cbc | 2227 -- cea-aes128-cbc | 2228 -- cea-aes192-cbc | 2229 -- cea-aes256-cbc | 2230 -- cea-aes128-ccm | 2231 -- cea-aes192-ccm | 2232 -- cea-aes256-ccm | 2233 -- cea-aes128-gcm | 2234 -- cea-aes192-gcm | 2235 -- cea-aes256-gcm, 2236 -- ... -- Extensible 2237 -- } 2239 -- des-ede3-cbc and aes*-cbc are used with EnvelopedData and 2240 -- EncryptedData 2241 -- aes*-ccm are used with AuthEnvelopedData 2242 -- aes*-gcm are used with AuthEnvelopedData 2243 -- (where * is 128, 192, and 256) 2245 -- 2246 -- Message Authentication Code Algorithms 2247 -- 2249 -- Constrains the AuthenticatedData 2250 -- MessageAuthenticationCodeAlgorithm field 2251 -- 2253 MessageAuthAlgs MAC-ALGORITHM ::= { 2254 -- maca-hMAC-SHA1 | 2255 maca-hMAC-SHA224 | 2256 maca-hMAC-SHA256 | 2257 maca-hMAC-SHA384 | 2258 maca-hMAC-SHA512, 2259 ... -- Extensible 2260 } 2262 maca-hMAC-SHA224 MAC-ALGORITHM ::= { 2263 IDENTIFIER hMAC-SHA1 2264 PARAMS TYPE ARE absent 2265 IS-KEYED-MAC TRUE 2266 SMIME-CAPS cap-hMAC-SHA224 2267 } 2269 id-hmacWithSHA224 OBJECT IDENTIFIER ::= { 2270 iso(1) member-body(2) us(840) rsadsi(113549) 2271 digestAlgorithm(2) 8 } 2273 maca-hMAC-SHA256 MAC-ALGORITHM ::= { 2274 IDENTIFIER id-hmacWithSHA256 2275 PARAMS TYPE ARE absent 2276 IS-KEYED-MAC TRUE 2277 SMIME-CAPS cap-hMAC-SHA256 2278 } 2280 id-hmacWithSHA256 OBJECT IDENTIFIER ::= { 2281 iso(1) member-body(2) us(840) rsadsi(113549) 2282 digestAlgorithm(2) 9 } 2284 maca-hMAC-SHA384 MAC-ALGORITHM ::= { 2285 IDENTIFIER id-hmacWithSHA384 2286 PARAMS TYPE ARE absent 2287 IS-KEYED-MAC TRUE 2288 SMIME-CAPS cap-hMAC-SHA384 2289 } 2291 id-hmacWithSHA384 OBJECT IDENTIFIER ::= { 2292 iso(1) member-body(2) us(840) rsadsi(113549) 2293 digestAlgorithm(2) 10 } 2295 maca-hMAC-SHA512 MAC-ALGORITHM ::= { 2296 IDENTIFIER id-hmacWithSHA512 2297 PARAMS TYPE ARE absent 2298 IS-KEYED-MAC TRUE 2299 SMIME-CAPS cap-hMAC-SHA512 2300 } 2302 id-hmacWithSHA512 OBJECT IDENTIFIER ::= { 2303 iso(1) member-body(2) us(840) rsadsi(113549) 2304 digestAlgorithm(2) 11 } 2306 -- 2307 -- Originator Public Key Algorithms 2308 -- 2310 -- Constraints on KeyAgreeRecipientInfo OriginatorIdentifierOrKey 2311 -- OriginatorPublicKey algorithm field 2313 -- PARAMS are NULL 2315 OriginatorPKAlgorithms PUBLIC-KEY ::= { 2316 opka-ec, 2317 ... -- Extensible 2318 } 2320 opka-ec PUBLIC-KEY ::={ 2321 IDENTIFIER id-ecPublicKey 2322 KEY ECPoint 2323 PARAMS TYPE CHOICE { n NULL, p ECParameters } ARE preferredAbsent 2324 } 2326 -- Format for both ephemeral and static public keys 2328 -- ECPoint ::= OCTET STRING 2330 -- ECParameters ::= CHOICE { 2331 -- namedCurve CURVE.&id({NamedCurve}) 2332 -- commented out in [PKI-ALG] implicitCurve NULL 2333 -- commented out in [PKI-ALG] specifiedCurve SpecifiedECDomain 2334 -- commented out in [PKI-ALG] ... Extensible 2335 -- } 2336 -- implicitCurve and specifiedCurve MUST NOT be used in PKIX. 2337 -- Details for SpecifiedECDomain can be found in [X9.62]. 2338 -- Any future additions to this CHOICE should be coordinated 2339 -- with ANSI X.9. 2341 -- Format of KeyAgreeRecipientInfo ukm field when used with 2342 -- ECMQV 2344 MQVuserKeyingMaterial ::= SEQUENCE { 2345 ephemeralPublicKey OriginatorPublicKey, 2346 addedukm [0] EXPLICIT UserKeyingMaterial OPTIONAL 2347 } 2348 -- 'SharedInfo' for input to KDF when using ECDH and ECMQV with 2349 -- EnvelopedData, AuthenticatedData, or AuthEnvelopedData 2351 ECC-CMS-SharedInfo ::= SEQUENCE { 2352 keyInfo AlgorithmIdentifier { KeyWrapAlgorithm }, 2353 entityUInfo [0] EXPLICIT OCTET STRING OPTIONAL, 2354 suppPubInfo [2] EXPLICIT OCTET STRING 2355 } 2357 -- 2358 -- S/MIME CAPS for algorithms in this document 2359 -- 2361 SMimeCAPS SMIME-CAPS ::= { 2362 -- mda-sha1.&smimeCaps | 2363 -- mda-sha224.&smimeCaps | 2364 -- mda-sha256.&smimeCaps | 2365 -- mda-sha384.&smimeCaps | 2366 -- mda-sha512.&smimeCaps | 2367 -- sa-ecdsaWithSHA1.&smimeCaps | 2368 -- sa-ecdsaWithSHA224.&smimeCaps | 2369 -- sa-ecdsaWithSHA256.&smimeCaps | 2370 -- sa-ecdsaWithSHA384.&smimeCaps | 2371 -- sa-ecdsaWithSHA512.&smimeCaps | 2372 kaa-dhSinglePass-stdDH-sha1kdf-scheme.&smimeCaps | 2373 kaa-dhSinglePass-stdDH-sha224kdf-scheme.&smimeCaps | 2374 kaa-dhSinglePass-stdDH-sha256kdf-scheme.&smimeCaps | 2375 kaa-dhSinglePass-stdDH-sha384kdf-scheme.&smimeCaps | 2376 kaa-dhSinglePass-stdDH-sha512kdf-scheme.&smimeCaps | 2377 kaa-dhSinglePass-cofactorDH-sha1kdf-scheme.&smimeCaps | 2378 kaa-dhSinglePass-cofactorDH-sha224kdf-scheme.&smimeCaps | 2379 kaa-dhSinglePass-cofactorDH-sha256kdf-scheme.&smimeCaps | 2380 kaa-dhSinglePass-cofactorDH-sha384kdf-scheme.&smimeCaps | 2381 kaa-dhSinglePass-cofactorDH-sha512kdf-scheme.&smimeCaps | 2382 kaa-mqvSinglePass-sha1kdf-scheme.&smimeCaps | 2383 kaa-mqvSinglePass-sha224kdf-scheme.&smimeCaps | 2384 kaa-mqvSinglePass-sha256kdf-scheme.&smimeCaps | 2385 kaa-mqvSinglePass-sha384kdf-scheme.&smimeCaps | 2386 kaa-mqvSinglePass-sha512kdf-scheme.&smimeCaps | 2387 -- kwa-3des.&smimeCaps | 2388 -- kwa-aes128.&smimeCaps | 2389 -- kwa-aes192.&smimeCaps | 2390 -- kwa-aes256.&smimeCaps | 2391 -- cea-des-ede3-cbc.&smimeCaps | 2392 -- cea-aes128-cbc.&smimeCaps | 2393 -- cea-aes192-cbc.&smimeCaps | 2394 -- cea-aes256-cbc.&smimeCaps | 2395 -- cea-aes128-ccm.&smimeCaps | 2396 -- cea-aes192-ccm.&smimeCaps | 2397 -- cea-aes256-ccm.&smimeCaps | 2398 -- cea-aes128-gcm.&smimeCaps | 2399 -- cea-aes192-gcm.&smimeCaps | 2400 -- cea-aes256-gcm.&smimeCaps | 2401 -- maca-hMAC-SHA1.&smimeCaps | 2402 maca-hMAC-SHA224.&smimeCaps | 2403 maca-hMAC-SHA256.&smimeCaps | 2404 maca-hMAC-SHA384.&smimeCaps | 2405 maca-hMAC-SHA512.&smimeCaps, 2406 ... - Extensible 2407 } 2409 cap-kaa-dhSinglePass-stdDH-sha1kdf-scheme SMIME-CAPS ::= { 2410 TYPE KeyWrapAlgorithm 2411 IDENTIFIED BY dhSinglePass-stdDH-sha1kdf-scheme 2412 } 2414 cap-kaa-dhSinglePass-stdDH-sha224kdf-scheme SMIME-CAPS ::= { 2415 TYPE KeyWrapAlgorithm 2416 IDENTIFIED BY dhSinglePass-stdDH-sha224kdf-scheme } 2418 cap-kaa-dhSinglePass-stdDH-sha256kdf-scheme SMIME-CAPS ::= { 2419 TYPE KeyWrapAlgorithm 2420 IDENTIFIED BY dhSinglePass-stdDH-sha256kdf-scheme } 2422 cap-kaa-dhSinglePass-stdDH-sha384kdf-scheme SMIME-CAPS ::= { 2423 TYPE KeyWrapAlgorithm 2424 IDENTIFIED BY dhSinglePass-stdDH-sha384kdf-scheme 2425 } 2427 cap-kaa-dhSinglePass-stdDH-sha512kdf-scheme SMIME-CAPS ::= { 2428 TYPE KeyWrapAlgorithm 2429 IDENTIFIED BY dhSinglePass-stdDH-sha512kdf-scheme 2430 } 2432 cap-kaa-dhSinglePass-cofactorDH-sha1kdf-scheme SMIME-CAPS ::={ 2433 TYPE KeyWrapAlgorithm 2434 IDENTIFIED BY dhSinglePass-cofactorDH-sha1kdf-scheme 2435 } 2437 cap-kaa-dhSinglePass-cofactorDH-sha224kdf-scheme SMIME-CAPS ::={ 2438 TYPE KeyWrapAlgorithm 2439 IDENTIFIED BY dhSinglePass-cofactorDH-sha224kdf-scheme 2440 } 2441 cap-kaa-dhSinglePass-cofactorDH-sha256kdf-scheme SMIME-CAPS ::={ 2442 TYPE KeyWrapAlgorithm 2443 IDENTIFIED BY dhSinglePass-cofactorDH-sha256kdf-scheme 2444 } 2446 cap-kaa-dhSinglePass-cofactorDH-sha384kdf-scheme SMIME-CAPS ::={ 2447 TYPE KeyWrapAlgorithm 2448 IDENTIFIED BY dhSinglePass-cofactorDH-sha384kdf-scheme 2449 } 2451 cap-kaa-dhSinglePass-cofactorDH-sha512kdf-scheme SMIME-CAPS ::={ 2452 TYPE KeyWrapAlgorithm 2453 IDENTIFIED BY dhSinglePass-cofactorDH-sha512kdf-scheme 2454 } 2456 cap-kaa-mqvSinglePass-sha1kdf-scheme SMIME-CAPS ::={ 2457 TYPE KeyWrapAlgorithm 2458 IDENTIFIED BY mqvSinglePass-sha1kdf-scheme 2459 } 2461 cap-kaa-mqvSinglePass-sha224kdf-scheme SMIME-CAPS ::={ 2462 TYPE KeyWrapAlgorithm 2463 IDENTIFIED BY mqvSinglePass-sha224kdf-scheme 2464 } 2466 cap-kaa-mqvSinglePass-sha256kdf-scheme SMIME-CAPS ::={ 2467 TYPE KeyWrapAlgorithm 2468 IDENTIFIED BY mqvSinglePass-sha256kdf-scheme 2469 } 2471 cap-kaa-mqvSinglePass-sha384kdf-scheme SMIME-CAPS ::={ 2472 TYPE KeyWrapAlgorithm 2473 IDENTIFIED BY mqvSinglePass-sha384kdf-scheme 2474 } 2476 cap-kaa-mqvSinglePass-sha512kdf-scheme SMIME-CAPS ::={ 2477 TYPE KeyWrapAlgorithm 2478 IDENTIFIED BY mqvSinglePass-sha512kdf-scheme 2479 } 2481 cap-hMAC-SHA224 SMIME-CAPS ::={ IDENTIFIED BY id-hmacWithSHA224 } 2483 cap-hMAC-SHA256 SMIME-CAPS ::={ IDENTIFIED BY id-hmacWithSHA256 } 2485 cap-hMAC-SHA384 SMIME-CAPS ::={ IDENTIFIED BY id-hmacWithSHA384 } 2487 cap-hMAC-SHA512 SMIME-CAPS ::={ IDENTIFIED BY id-hmacWithSHA512 } 2488 END 2490 Appendix B Changes since RFC 3278 2492 The following summarizes the changes: 2494 - Abstract: The basis of the document was changed to refer to NIST 2495 FIPS 186-3 and SP800-56A. However, to maintain backwards 2496 compatibility the Key Derivation Function from ANSI/SEC1 is 2497 retained. 2499 - Section 1: A bullet was added to address AuthEnvelopedData. 2501 - Section 2.1: A sentence was added to indicate FIPS180-3 is used 2502 with ECDSA. Replaced reference to ANSI X9.62 with FIPS186-3. 2504 - Section 2.1.1: The permitted digest algorithms were expanded from 2505 SHA-1 to SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512. 2507 - Section 2.1.2 and 2.1.3: The bullet addressing integer "e" was 2508 deleted. 2510 - Section 3: Added explanation of why static-static ECDH is not 2511 included. 2513 - Section 3.1: The reference for DH was changed from RFC 3852 to 2514 RFC 3370. Provided text to indicate fields of EnvelopedData are 2515 as in CMS. 2517 - Section 3.1.1: The text was updated to include description of all 2518 KeyAgreeRecipientInfo fields. Parameters for id-ecPublicKey 2519 field changed from NULL to absent or ECParameter. Additional 2520 information about ukm was added. 2522 - Section 3.2: The sentence describing the advantages of 1-Pass 2523 ECMQV was rewritten. 2525 - Section 3.2.1: The text was updated to include description of all 2526 fields. Parameters for id-ecPublicKey field changed from NULL 2527 to absent or ECParameters. 2529 - Sections 3.2.2 and 4.1.2: The re-use of ephemeral keys paragraph 2530 was reworded. 2532 - Section 4.1: The sentences describing the advantages of 1-Pass 2533 ECMQV was moved to Section 4. 2535 - Section 4.1.2: The note about the attack was moved to Section 4. 2537 - Section 4.2: This section was added to address AuthEnvelopedData 2538 with ECMQV. 2540 - Section 5: This section was moved to Section 8. The 1st 2541 paragraph was modified to recommend both SignedData and 2542 EnvelopedData. The requirements were updated for hash 2543 algorithms and recommendations for matching curves and hash 2544 algorithms. Also the requirements were expanded to indicate 2545 which ECDH and ECMQV variants, key wrap algorithms, and content 2546 encryption algorithms are required for each of the content types 2547 used in this document. The permitted digest algorithms used in 2548 key derivations functions (KDFs) were expanded from SHA-1 to 2549 SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512. 2551 - Section 6 (formerly 7): This section was updated to allow for 2552 SMIMECapabilities to be present in certificates. The S/MIME 2553 capabilities for ECDSA with SHA-224, SHA-256, SHA-384, and SHA- 2554 512 were added to the list of S/MIME Capabilities. Also updated 2555 to include S/MIME capabilities for ECDH and ECMQV using the SHA- 2556 224, SHA-256, SHA-384, and SHA-512 algorithms as the KDF. 2558 - Section 7.1 (formerly 8.1): Added sub-sections for digest, 2559 signature, originator public key, key agreement, content 2560 encryption, key wrap, and message authentication code 2561 algorithms. Pointed to algorithms and parameters in appropriate 2562 documents for: SHA-224, SHA-256, SHA-384, and SHA-512 as well as 2563 SHA-224, SHA-256, SHA-384, and SHA-512 with ECDSA. Also added 2564 algorithm identifiers for ECDH std, ECDH cofactor, and ECMQV 2565 with SHA-224, SHA-256, SHA-384, and SHA-512 algorithms as the 2566 KDF. Changed id-ecPublicKey parameters to be absent, NULL, or 2567 ECParameters, and if present the originator's ECParameters must 2568 match the recipient's ECParameters. 2570 - Section 7.2 (formerly 8.2): Updated to include AuthEnvelopedData. 2571 Also, added text to address support requirement for compressed, 2572 uncompressed, and hybrid keys, changed pointers from ANSI X9.61 2573 to PKIX (where ECDSA-Sig-Value is imported), changed pointers 2574 from SECG to NIST specs, and updated example of suppPubInfo to 2575 be AES-256. keyInfo's parameters changed from NULL to any 2576 associated parameters (AES wraps have absent parameters). 2578 - Section 9: Replaced text, which was a summary paragraph, with an 2579 updated security considerations section. Paragraph referring to 2580 definitions of SHA-224, SHA-256, SHA-384, and SHA-512 is 2581 deleted. 2583 - Updated references. 2585 - Added ASN.1 modules. 2587 - Updated acknowledgements section. 2589 Acknowledgements 2591 The methods described in this document are based on work done by the 2592 ANSI X9F1 working group. The authors wish to extend their thanks to 2593 ANSI X9F1 for their assistance. The authors also wish to thank Peter 2594 de Rooij for his patient assistance. The technical comments of 2595 Francois Rousseau were valuable contributions. 2597 Many thanks go out to the other authors of RFC 3278: Simon Blake- 2598 Wilson and Paul Lambert. Without RFC 3278 this version wouldn't 2599 exist. 2601 The authors also wish to thank Alfred Hoenes, Paul Hoffman, Russ 2602 Housley, and Jim Schaad for their valuable input. 2604 Authors' Addresses 2606 Sean Turner 2608 IECA, Inc. 2609 3057 Nutley Street, Suite 106 2610 Fairfax, VA 22031 2611 USA 2613 Email: turners@ieca.com 2615 Daniel R. L. Brown 2617 Certicom Corp 2618 5520 Explorer Drive #400 2619 Mississauga, ON L4W 5L1 2620 CANADA 2622 Email: dbrown@certicom.com