Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CryptXmlDllCreateKey function pointer

the CryptXmlDllCreateKey function parses the KeyValue element and creates a Cryptography API: Next Generation (CNG) BCrypt key handle to verify a signature.


typedef HRESULT ( WINAPI *CryptXmlDllCreateKey)(
  _In_   CRYPT_XML_BLOB *pEncoded,
  _Out_  const BCRYPT_KEY_HANDLE *phKey


pEncoded [in]

A pointer to a CRYPT_XML_BLOB structure that contains the KeyValue element.

phKey [out]

A pointer to a BCRYPT_KEY_HANDLE variable that receives the handle of the key used to verify the signature.

When CryptXML has finished using the key, CryptXML frees it by calling the BCryptDestroyKey function.

Return value

If the function succeeds, the function returns zero.

If the function fails, it returns an HRESULT value that indicates the error.


Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]





Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.