Partager via


CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA (Compact 2013)

3/28/2014

This structure is used to add an unauthenticated attribute to a signer of a signed message. This structure is passed to CryptMsgControl if the dwCtrlType parameter is set to CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR.

Syntax

typedef struct _CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA {
  DWORD cbSize;
  DWORD dwSignerIndex;
  CRYPT_DATA_BLOB BLOB;
} CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA, *PCMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA;

Members

  • cbSize
    Size of this structure in bytes.
  • dwSignerIndex
    Index of the signer in the rgSigners array indicated in the CMSG_SIGNER_ENCODE_INFO structure that represents the signed message. The unauthenticated attribute is to be added to the signer's information.
  • BLOB
    CRYPT_DATA_BLOB structure that contains the encoded unauthenticated attribute as its pbData member.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CRYPTOAPI_BLOB
CryptMsgControl