CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA structure (wincrypt.h)

The CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA structure is used to delete an unauthenticated attribute of a signer of a signed message. This structure is passed to CryptMsgControl if the dwCrlType parameter is CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR.

Syntax

typedef struct _CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA {
  DWORD cbSize;
  DWORD dwSignerIndex;
  DWORD dwUnauthAttrIndex;
} CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA, *PCMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA;

Members

cbSize

Size of this structure in bytes.

dwSignerIndex

Index of the signer in the rgSigners array of pointers to CMSG_SIGNER_ENCODE_INFO structures in a signed message's CMSG_SIGNED_ENCODE_INFO structure. The unauthenticated attribute for this signer is deleted.

dwUnauthAttrIndex

Index of the element in the rgUnauthAttr array of the CMSG_SIGNER_ENCODE_INFO structure holding the unauthenticated attribute to be removed.

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

CryptMsgControl