Поделиться через


CMSG_SIGNER_INFO (Compact 2013)

3/28/2014

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.
  • 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

See Also

Reference

Cryptography Structures
CRYPTOAPI_BLOB
CRYPT_ALGORITHM_IDENTIFIER
CRYPT_ATTRIBUTES