Share via


CMSG_KEY_TRANS_RECIPIENT_INFO (Compact 2013)

3/28/2014

This structure contains information used in key transport algorithms.

Syntax

typedef struct _CMSG_KEY_TRANS_RECIPIENT_INFO {
  DWORD dwVersion;
  CERT_ID RecipientId;
  CRYPT_ALGORITHM_IDENTIFIER KeyEncryptionAlgorithm;
  CRYPT_DATA_BLOB EncryptedKey;
} CMSG_KEY_TRANS_RECIPIENT_INFO, *PCMSG_KEY_TRANS_RECIPIENT_INFO;

Members

  • dwVersion
    Indicates the version of the structure. If RecipientId uses the ISSUER_SERIAL_NUMBER to identify the recipient, dwVersion is set to zero (0), If RecipientId uses KEYID, dwVersion is set to two (2).
  • RecipientId
    CERT_ID that identifies the recipient. Currently, only ISSUER_SERIAL_NUMBER or KEYID choices in the CERT_ID are valid.
  • KeyEncryptionAlgorithm
    CRYPT_ALGORITHM_IDENTIFIER that identifies the key-encryption algorithm and any associated parameters used to encrypt the content encryption key.
  • EncryptedKey
    BLOB that contains the bytes of the encrypted session key.

Requirements

Header

wincrypt.h

See Also

Reference

Cryptography Structures