CryptXmlDllVerifySignature function pointer
The CryptXmlDllVerifySignature function verifies a signature.
The CryptXmlDllVerifySignature function is exposed through the exported CryptXmlDllGetInterface function.
Syntax
typedef HRESULT ( WINAPI *CryptXmlDllVerifySignature)( _In_ const CRYPT_XML_ALGORITHM *pSignatureMethod, _In_ HCRYPTXML_PROV hCryptProv, _In_ HCRYPTXML_KEY hKey, _In_ const BYTE *pbInput, _In_ ULONG cbInput, _In_ const BYTE *pbSignature, _In_ ULONG cbSignature );
Parameters
- pSignatureMethod [in]
-
A pointer to a CRYPT_XML_ALGORITHM structure that specifies the algorithm.
- hCryptProv [in]
-
A handle to the cryptographic provider.
- hKey [in]
-
A handle to the public key.
- pbInput [in]
-
A pointer to a buffer that contains the signed data. The cbInput parameter contains the size of this buffer.
- cbInput [in]
-
The size, in bytes, of the buffer pointed to by the pbInput parameter.
- pbSignature [in]
-
A pointer to a buffer that contains the signature value to be verified. The cbSignature parameter contains the size of this buffer.
- cbSignature [in]
-
The size, in bytes, of the pbSignature buffer.
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 |
|