CMSG_SIGNER_INFO

The CMSG_SIGNER_INFO structure is used to hold the content of the SignerInfo, as defined by PKCS # 7, in a signed or a signed and enveloped message. When decoding a received message, for each of the signers, CryptMsgGetParam is called to get the SignerInfo.

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
Identifies the issuer of the certificate that contains the public key, which should be used to verify this signature.
SerialNumber
Identifies the serial number of the certificate that contains the public key, which should be used to verify this signature. See CERT_INFO for details.
HashAlgorithm
The algorithm for use in generating the hash of a message.
HashEncryptionAlgorithm
The algorithm that was used to encrypt the hash.
EncryptedHash
The encrypted hash (the signature).
AuthAttrs
The authenticated attributes for the signer.
UnauthAttrs
The unauthenticated attributes for the signer.

See Also

BLOB Structure, CRYPT_ALGORITHM_IDENTIFIER, CRYPT_ATTRIBUTES