Export (0) Print
Expand All
Expand Minimize

CMSG_RECIPIENT_ENCODE_INFO structure

The CMSG_RECIPIENT_ENCODE_INFO structure contains information a message recipient's content encryption key management type.

Note  Only key transport recipients are supported in PKCS #7 version 1.5.

Syntax


typedef struct _CMSG_RECIPIENT_ENCODE_INFO {
  DWORD dwRecipientChoice;
  union {
    PCMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO pKeyTrans;
    PCMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO pKeyAgree;
    PCMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO pMailList;
  };
} CMSG_RECIPIENT_ENCODE_INFO, PCMSG_RECIPIENT_ENCODE_INFO;

Members

dwRecipientChoice

Indicates the union member to be used. The following values are defined.

ValueMeaning
CMSG_KEY_TRANS_RECIPIENT

Use with key transport key management

CMSG_KEY_AGREE_RECIPIENT

Used with key agreement key management

CMSG_MAIL_LIST_RECIPIENT

Use with previously distributed key encryption key management

 

pKeyTrans

A pointer to a CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO structure. Used with CMSG_KEY_TRANS_RECIPIENT

pKeyAgree

A pointer to a CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO structure. Used with CMSG_KEY_AGREE_RECIPIENT

pMailList

A pointer to a CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO structure. Used with CMSG_MAIL_LIST_RECIPIENT

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft