what is Enveloped Data Messages?

发布时间 2023-07-08 17:33:19作者: saaspeter

from: Creating and Receiving Enveloped Data Messages - Win32 apps | Microsoft Learn

An enveloped message is a message that is encrypted for a set of recipients. In the envelopment process, a session encryption key is generated and the message is encrypted with that key. The encryption key itself is then encrypted separately for each recipient using the public keys from each intended recipient's certificate. The enveloped message consists of the encrypted message, the certificates of the intended recipients, and the set of encrypted keys, one for each recipient. The message generated is in PKCS #7/CMS format.

 这种的加密方式,我还不知道怎么在邮件上方便的使用,需要知道收件人的公钥啊。