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 the content of the defined SignerInfo in signed or signed and enveloped messages. In decoding a received message, CryptMsgGetParamis 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_IDstructure identifying the signer's certificate.

HashAlgorithm

CRYPT_ALGORITHM_IDENTIFIERstructure that specifies the algorithm that is used in generating the hash of a message.

HashEncryptionAlgorithm

CRYPT_ALGORITHM_IDENTIFIERstructure 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_ATTRIBUTESstructure that contains authenticated attributes of the signer.

UnauthAttrs

CRYPT_ATTRIBUTESstructure that contains unauthenticated attributes of the signer.

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