CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO structure (wincrypt.h)

The CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO structure contains information on a message receiver used to decrypt the session key needed to decrypt the message contents. This structure is used with CMS low level messages using any of the key management methods.

Syntax

typedef struct _CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO {
  DWORD                       cbSize;
  CRYPT_BIT_BLOB              RecipientPublicKey;
  CERT_ID                     RecipientId;
  FILETIME                    Date;
  PCRYPT_ATTRIBUTE_TYPE_VALUE pOtherAttr;
} CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO, *PCMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO;

Members

cbSize

The size, in bytes, of this data structure.

RecipientPublicKey

A CRYPT_BIT_BLOB structure that contains the recipient's public key.

RecipientId

The CERT_ID that identifies a message recipient's public key.

Date

Optional FILETIME. Applicable only if the CERT_ID identifies the receiver's public key with a KEY_IDENTIFIER.

pOtherAttr

Optional. Pointer to a CRYPT_ATTRIBUTE_TYPE_VALUE. Applicable only if the CERT_ID identifies the receiver's public key with a KEY_IDENTIFIER.

Requirements

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