Expand Minimize

CMSG_CMS_SIGNER_INFO structure

The CMSG_CMS_SIGNER_INFO 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_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_SIGNER_INFO, *PCMSG_SIGNER_INFO;

Members

dwVersion

The version of this structure.

SignerId

A CERT_ID structure that identifies the signer's certificate.

HashAlgorithm

A CRYPT_ALGORITHM_IDENTIFIER structure that specifies the algorithm used in generating the hash of a message.

HashEncryptionAlgorithm

A CRYPT_ALGORITHM_IDENTIFIER structure that specifies the algorithm used to encrypt the hash.

EncryptedHash

A CRYPT_DATA_BLOB structure that contains the encrypted hash of the message, the signature.

AuthAttrs

A CRYPT_ATTRIBUTES structure that contains authenticated attributes of the signer.

UnauthAttrs

A CRYPT_ATTRIBUTES structure that contains unauthenticated attributes of the signer.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

See also

CRYPT_ALGORITHM_IDENTIFIER
CRYPT_ATTRIBUTES
CRYPT_INTEGER_BLOB

 

 

Community Additions

ADD
Show:
© 2014 Microsoft