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 PKCS #7 defined SignerInfo in signed messages. In decoding a received message, CryptMsgGetParamis called for each signer to get a CMSG_SIGNER_INFOstructure.

Syntax

typedef struct _CMSG_SIGNER_INFO {
  DWORD 
dwVersion;
  CERT_NAME_BLOB 
Issuer;
  CRYPT_INTEGER_BLOB 
SerialNumber;
  CRYPT_ALGORITHM_IDENTIFIER 
HashAlgorithm;
  CRYPT_ALGORITHM_IDENTIFIER 
HashEncryptionAlgorithm;
  CRYPT_DATA_BLOB 
EncryptedHash;
  CRYPT_ATTRIBUTES 
AuthAttrs;
  CRYPT_ATTRIBUTES 
UnauthAttrs;
} CMSG_SIGNER_INFO, *PCMSG_SIGNER_INFO;

Members

dwVersion

The version of this structure.

Issuer

CERT_NAME_BLOBthat contains the issuer of a certificate with the public key needed to verify a signature.

SerialNumber

CRYPT_INTEGER_BLOBthat contains the serial number of the certificate containing the public key needed to verify a signature. See CERT_INFOfor details.

HashAlgorithm

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

HashEncryptionAlgorithm

CRYPT_ALGORITHM_IDENTIFIERstructure that specifies the algorithm used to encrypt the hash.

EncryptedHash

CRYPT_DATA_BLOBthat contains the encrypted hash of the message, the signature.

AuthAttrs

CRYPT_ATTRIBUTESstructure 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also