CMSG_SIGNER_INFO
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, CryptMsgGetParam is called for each signer to get a CMSG_SIGNER_INFO structure.
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_BLOB that contains the issuer of a certificate with the public key needed to verify a signature.
- SerialNumber
CRYPT_INTEGER_BLOB that contains the serial number of the certificate containing the public key needed to verify a signature. See CERT_INFO for details.
- HashAlgorithm
CRYPT_ALGORITHM_IDENTIFIER structure that specifies the algorithm 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 |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
Cryptography Structures
CRYPTOAPI_BLOB
CRYPT_ALGORITHM_IDENTIFIER
CRYPT_ATTRIBUTES