CMSG_CMS_SIGNER_INFO structure (wincrypt.h)
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_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
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wincrypt.h |