CMSG_CTRL_MAIL_LIST_DECRYPT_PARA structure (wincrypt.h)
The CMSG_CTRL_MAIL_LIST_DECRYPT_PARA structure contains information on a mail list message recipient.
typedef struct _CMSG_CTRL_MAIL_LIST_DECRYPT_PARA {
DWORD cbSize;
HCRYPTPROV hCryptProv;
PCMSG_MAIL_LIST_RECIPIENT_INFO pMailList;
DWORD dwRecipientIndex;
DWORD dwKeyChoice;
union {
HCRYPTKEY hKeyEncryptionKey;
void *pvKeyEncryptionKey;
} DUMMYUNIONNAME;
} CMSG_CTRL_MAIL_LIST_DECRYPT_PARA, *PCMSG_CTRL_MAIL_LIST_DECRYPT_PARA;
cbSize
The size, in bytes, of this data structure.
hCryptProv
The provider used to do the recipient key encryption and export. If hCryptProv is NULL, the provider specified in CMSG_ENVELOPED_ENCODE_INFO is used.
pMailList
A pointer to a CMSG_MAIL_LIST_RECIPIENT_INFO structure.
dwRecipientIndex
Indicates a specific recipient in any array of recipients.
dwKeyChoice
Indicates the member of the following union that will be used. Currently only CMSG_MAIL_LIST_HANDLE_KEY_CHOICE is defined.
DUMMYUNIONNAME
DUMMYUNIONNAME.hKeyEncryptionKey
Handle of the key encryption key. Used with dwKeyChoice set to CMSG_MAIL_LIST_HANDLE_KEY_CHOICE.
DUMMYUNIONNAME.pvKeyEncryptionKey
A pointer to a void. Reserved for future use.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |