共用方式為


CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Cryptography Structures
CRYPTOAPI_BLOB
CryptMsgControl