CMSG_CTRL_MAIL_LIST_DECRYPT_PARA structure

The CMSG_CTRL_MAIL_LIST_DECRYPT_PARA structure contains information on a mail list message recipient.

Syntax


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;
  };
} CMSG_CTRL_MAIL_LIST_DECRYPT_PARA, *PCMSG_CTRL_MAIL_LIST_DECRYPT_PARA;

Members

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.

hKeyEncryptionKey

Handle of the key encryption key. Used with dwKeyChoice set to CMSG_MAIL_LIST_HANDLE_KEY_CHOICE.

pvKeyEncryptionKey

A pointer to a void. Reserved for future use.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

 

 

Show: