CMSG_CTRL_KEY_AGREE_DECRYPT_PARA (Compact 2013)

3/28/2014

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

See Also

Reference

Cryptography Structures