CMSG_CMS_SIGNER_INFO (Compact 2013)

3/28/2014

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

See Also

Reference

Cryptography Structures