Expand Minimize

CRYPT_ENUM_KEYID_PROP callback function

The CRYPT_ENUM_KEYID_PROP callback function is used with the CryptEnumKeyIdentifierProperties function.

Syntax


BOOL WINAPI CRYPT_ENUM_KEYID_PROP(
  _In_     PCRYPT_HASH_BLOB pKeyIdentifier,
  _In_     DWORD dwFlags,
  _In_     void *pvReserved,
  _Inout_  void *pvArg,
  _In_     DWORD cProp,
  _In_     DWORD *rgdwPropId,
  _In_     void **rgpvData,
  _In_     DWORD *rgcbData
);

Parameters

pKeyIdentifier [in]

A pointer to a CRYPT_INTEGER_BLOB that contains the key identifier.

dwFlags [in]

Reserved for future use and must be zero.

pvReserved [in]

Reserved for future use. Must be NULL.

pvArg [in, out]

A pointer to an argument that is passed back from the callback function.

cProp [in]

Count of elements in the array of rgdwPropId

rgdwPropId [in]

A pointer to an array of property identifiers. Each entry in the array will be one of the value types listed for in the table for dwPropId in the CryptSetKeyIdentifierProperty function.

rgpvData [in]

A pointer to an array that contains pointers to pvData elements corresponding the rgdwPropId array elements.

For CERT_KEY_PROV_INFO_PROP_ID the rgpvData element points to a CRYPT_KEY_PROV_INFO structure. For all other properties, the rgpvData element points to an array of bytes.

rgcbData [in]

Array of DWORDs that specify the size, in bytes, of corresponding elements in the rgpvData array.

Return value

Returns TRUE if the function succeeds, FALSE if it fails.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wincrypt.h

See also

CRYPT_INTEGER_BLOB
CRYPT_KEY_PROV_INFO
CryptEnumKeyIdentifierProperties
CryptSetKeyIdentifierProperty

 

 

Community Additions

ADD
Show:
© 2014 Microsoft