CMSG_KEY_TRANS_RECIPIENT_INFO structure (wincrypt.h)

The CMSG_KEY_TRANS_RECIPIENT_INFO structure contains information used in key transport algorithms.

Syntax

typedef struct _CMSG_KEY_TRANS_RECIPIENT_INFO {
  DWORD                      dwVersion;
  CERT_ID                    RecipientId;
  CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
  CRYPT_DATA_BLOB            EncryptedKey;
} CMSG_KEY_TRANS_RECIPIENT_INFO, *PCMSG_KEY_TRANS_RECIPIENT_INFO;

Members

dwVersion

Indicates the version of the structure. If RecipientId uses the ISSUER_SERIAL_NUMBER to identify the recipient, dwVersion is set to zero. If RecipientId uses KEYID, dwVersion is set to two.

RecipientId

A CERT_ID that identifies the recipient. Currently, only ISSUER_SERIAL_NUMBER or KEYID choices in the CERT_ID are valid.

KeyEncryptionAlgorithm

A CRYPT_ALGORITHM_IDENTIFIER that identifies the key-encryption algorithm and any associated parameters used to encrypt the content encryption key.

EncryptedKey

A CRYPT_DATA_BLOB that contains the bytes of the encrypted session key.

Requirements

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