CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA structure (wincrypt.h)

The CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA 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 of pointers of CMSG_SIGNER_ENCODE_INFO structures in a signed message's CMSG_SIGNED_ENCODE_INFO structure. The unauthenticated attribute is to be added to this signer's information.

blob

Requirements

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

See also

CRYPT_INTEGER_BLOB

CryptMsgControl