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.
Syntax
typedef HRESULT ( WINAPI *CryptXmlDllCreateKey)( _In_ CRYPT_XML_BLOB *pEncoded, _Out_ const BCRYPT_KEY_HANDLE *phKey );
Parameters
- 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.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|