Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains information to be passed to CryptMsgOpenToEncodeif dwMsgTypeis CMSG_SIGNED.

Syntax

typedef struct _CMSG_SIGNED_ENCODE_INFO {
  DWORD 
cbSize;
  DWORD 
cSigners;
  PCMSG_SIGNER_ENCODE_INFO 
rgSigners;
  DWORD 
cCertEncoded;
  PCERT_BLOB 
rgCertEncoded;
  DWORD 
cCrlEncoded;
  PCRL_BLOB 
rgCrlEncoded;
  DWORD 
cAttrCertlEncoded;
  PCERT_BLOB 
rgAttrCertEncoded;
} CMSG_SIGNED_ENCODE_INFO;

Members

cbSize

Size of this structure in bytes.

cSigners

Number of elements in the array.

rgSigners

Pointer to an array of CMSG_SIGNER_ENCODE_INFOstructures, each containing signer information.

cCertEncoded

Number of elements in the rgCertEncodedarray.

rgCertEncoded

Pointer to an array of CERT_BLOBstructures, each containing an encoded certificate.

cCrlEncoded

Number of elements in the rgCrlEncodedarray.

rgCrlEncoded

Pointer to an array of CRL_BLOB_ENCODEDstructures, each containing an encoded CRL.

cAttrCertlEncoded

Number of elements in the rgAttrCertEncodedarray. Used only if CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS is defined.

rgAttrCertEncoded

Pointer to an array of CERT_BLOBstructures, each identifying an encoded attribute certificate. Used only if CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS is defined.

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