Partager via


CMSG_CMS_SIGNER_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure contains the content of the defined SignerInfo in signed or signed and enveloped messages. In decoding a received message, CryptMsgGetParam is called for each signer to get a CMSG_CMS_SIGNER_INFO structure.

Syntax

typedef struct _CMSG_CMS_SIGNER_INFO {
  DWORD dwVersion;
  CERT_ID SignerId;
  CRYPT_ALGORITHM_IDENTIFIER HashAlgorithm;
  CRYPT_ALGORITHM_IDENTIFIER HashEncryptionAlgorithm;
  CRYPT_DATA_BLOB EncryptedHash;
  CRYPT_ATTRIBUTES AuthAttrs;
  CRYPT_ATTRIBUTES UnauthAttrs;
} CMSG_CMS_SIGNER_INFO, *PCMSG_CMS_SIGNER_INFO;

Members

  • dwVersion
    The version of this structure.
  • SignerId
    CERT_ID structure identifying the signer's certificate.
  • HashAlgorithm
    CRYPT_ALGORITHM_IDENTIFIER structure that specifies the algorithm that is used in generating the hash of a message.
  • HashEncryptionAlgorithm
    CRYPT_ALGORITHM_IDENTIFIER structure that specifies the algorithm used to encrypt the hash.
  • EncryptedHash
    CRYPT_DATA_BLOB that contains the encrypted hash of the message, the signature.
  • AuthAttrs
    CRYPT_ATTRIBUTES structure that contains authenticated attributes of the signer.
  • UnauthAttrs
    CRYPT_ATTRIBUTES structure that contains unauthenticated attributes of the signer.

Requirements

Header wincrypt.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Cryptography Structures