Share via


CMSG_SIGNED_ENCODE_INFO (Compact 2013)

3/28/2014

This structure contains information to be passed to CryptMsgOpenToEncode if dwMsgType is 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.
  • cCertEncoded
    Number of elements in the rgCertEncoded array.
  • rgCertEncoded
    Pointer to an array of CERT_BLOB structures, each containing an encoded certificate.
  • cCrlEncoded
    Number of elements in the rgCrlEncoded array.
  • rgCrlEncoded
    Pointer to an array of CRL_BLOB_ENCODED structures, each containing an encoded CRL.
  • cAttrCertlEncoded
    Number of elements in the rgAttrCertEncoded array. Used only if CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS is defined.
  • rgAttrCertEncoded
    Pointer to an array of CERT_BLOB structures, each identifying an encoded attribute certificate. Used only if CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS is defined.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures
CRYPTOAPI_BLOB
CMSG_SIGNER_ENCODE_INFO