Share via


PFN_CRYPT_ENUM_KEYID_PROP (Compact 2013)

3/28/2014

This callback function is used with the CryptEnumKeyIdentifierProperties function.

Syntax

typedef BOOL (WINAPI *PFN_CRYPT_ENUM_KEYID_PROP)(
    __in const CRYPT_HASH_BLOB *pKeyIdentifier,
    __in DWORD dwFlags,
    __reserved void *pvReserved,
    __inout_opt void *pvArg,
    __in DWORD cProp,
    __in_ecount(cProp) DWORD *rgdwPropId,
    __in_ecount(cProp) void **rgpvData,
    __in_ecount(cProp) DWORD *rgcbData
    );

Parameters

  • pKeyIdentifier
    [in] Pointer to a CRYPT_INTEGER_BLOB structure that contains the key identifier. For the structure definition, see BLOB (Cryptography).
  • dwFlags
    [in] Reserved for future use. Must be 0 (zero).
  • pvReserved
    Reserved for future use. Must be NULL.
  • cProp
    [in] Count of elements in the array of rgdwPropId.
  • rgdwPropId
    [in] Pointer to an array of property identifiers. Any certificate property ID can be used.
  • rgpvData
    [in] Pointer to an array that contains pointers to data elements that correspond to rgdwPropId array elements.

    For CERT_KEY_PROV_INFO_PROP_ID, a pointer to a CRYPT_KEY_PROV_INFO structure. For all other properties, a pointer to an array of bytes.

  • rgcbData
    [in] Array of DWORDs that specify the size, in bytes, of corresponding elements in the rgpvData array.

Return Values

Returns TRUE if the function succeeds; otherwise, returns FALSE.

Requirements

Header

wincrypt.h

See Also

Reference

Certificates Callback Functions
BLOB (Cryptography)