CMSG_CTRL_KEY_AGREE_DECRYPT_PARA

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This structure contains information about a key agreement recipient.


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;

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.

Headerwincrypt.h
Windows Embedded CEWindows CE .NET 4.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: