共用方式為


CMSG_KEY_TRANS_RECIPIENT_INFO

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Cryptography Structures