共用方式為


CMSG_SIGNED_ENCODE_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
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
CMSG_SIGNER_ENCODE_INFO