Incorrect OID used in example 6.1

"Magnus Svensson" <[email protected]> Sun, 4 Feb 2001 17:23:28 +0100
Newsgroups gmane.ietf.smime-examples
Message-ID <[email protected]>
John,

I think I discovered another error in the 6.1 example. The
keyEncryptionAlgorithm in the KeyAgreeRecipientInfo structure is encoded as
follows in the 6.1 example:

SEQUENCE {
  OBJECT IDENTIFIER dhPublicNumber (1 2 840 10046 2 1)
  SEQUENCE {
    OBJECT IDENTIFIER '1 2 840 113549 1 9 16 3 6'
    NULL
  }
}

Since the 6.1 example uses Ephemeral-Static DH the
keyEncryptionAlgorithm-identifier should not be dhPublicNumber as displayed
above. According to CMS (RFC2630) section 12.3.1.1 the
keyEncryptionAlgorithm-identifier should be the id-alg-ESDH (1 2 840 113549
1 9 16 3 6) instead.

Regards,
Magnus