CMSG_RECIPIENT_ENCRYPTED_KEY_INFO structure (wincrypt.h)

The CMSG_RECIPIENT_ENCRYPTED_KEY_INFO structure contains information used for an individual key agreement recipient.

Syntax

typedef struct _CMSG_RECIPIENT_ENCRYPTED_KEY_INFO {
  CERT_ID                     RecipientId;
  CRYPT_DATA_BLOB             EncryptedKey;
  FILETIME                    Date;
  PCRYPT_ATTRIBUTE_TYPE_VALUE pOtherAttr;
} CMSG_RECIPIENT_ENCRYPTED_KEY_INFO, *PCMSG_RECIPIENT_ENCRYPTED_KEY_INFO;

Members

RecipientId

CERT_ID structure identifying the recipient. Currently, only the ISSUER_SERIAL_NUMBER or KEYID choices in the CERT_ID structure are valid.

EncryptedKey

A CRYPT_DATA_BLOB structure that contains the encrypted content encryption key.

Date

Optional. When present, this member specifies which of the recipient's previously distributed UKMs was used by the sender. Only applicable to KEYID choice in the RecipientId CERT_ID structure.

pOtherAttr

Optional pointer to a CRYPT_ATTRIBUTE_TYPE_VALUE structure containing additional information. Only applicable to KEYID choice in the RecipientId CERT_ID structure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h