共用方式為


CMSG_CTRL_KEY_AGREE_DECRYPT_PARA

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains information about a key agreement recipient.

Syntax

typedef struct _CMSG_CTRL_KEY_AGREE_DECRYPT_PARA {
  DWORD cbSize;
  HCRYPTPROV hCryptProv;
  DWORD dwKeySpec;
  PCMSG_KEY_AGREE_RECIPIENT_INFO pKeyAgree;
  DWORD dwRecipientIndex;
  DWORD dwRecipientEncryptedKeyIndex;
  CRYPT_BIT_BLOB OriginatorPublicKey;
} CMSG_CTRL_KEY_AGREE_DECRYPT_PARA, *PCMSG_CTRL_KEY_AGREE_DECRYPT_PARA;

Members

  • cbSize
    Size of this data structure in bytes.
  • hCryptProv
    The provider used to do the recipient key encryption and export. If NULL, the provider specified in CMSG_ENVELOPED_ENCODE_INFO is used.
  • dwKeySpec
    Specifies the encrypted key. It is the result of encrypting the content-encryption key.
  • pKeyAgree
    Pointer to a CMSG_KEY_AGREE_RECIPIENT_INFO structure.
  • dwRecipientIndex
    Indicates a specific recipient in an array of recipients.
  • dwRecipientEncryptedKeyIndex
    Indicates a specific encrypted key in an array of encrypted keys.
  • OriginatorPublicKey
    CRYPT_BIT_BLOB that contains the sender's public key information.

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