CRYPT_KEY_PROV_PARAM structure (wincrypt.h)

The CRYPT_KEY_PROV_PARAM structure contains information about a key container parameter. This structure is used with the CRYPT_KEY_PROV_INFO structure.

Syntax

typedef struct _CRYPT_KEY_PROV_PARAM {
  DWORD dwParam;
  BYTE  *pbData;
  DWORD cbData;
  DWORD dwFlags;
} CRYPT_KEY_PROV_PARAM, *PCRYPT_KEY_PROV_PARAM;

Members

dwParam

Identifies the parameter. For possible values, see the dwParam parameter of the CryptSetProvParam function.

pbData

The address of a buffer that contains the parameter data. For more information, see the pbData parameter of the CryptSetProvParam function.

cbData

The size, in bytes, of the pbData buffer.

dwFlags

This member is reserved for future use and is zero.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h

See also

CRYPT_KEY_PROV_INFO

CryptSetProvParam