CryptXmlGetSignature function (cryptxml.h)

The CryptXmlGetSignature function returns an XML Signature element.

Syntax

HRESULT CryptXmlGetSignature(
  [in]  HCRYPTXML                 hCryptXml,
  [out] const CRYPT_XML_SIGNATURE **ppStruct
);

Parameters

[in] hCryptXml

The handle of the Signature element.

[out] ppStruct

A pointer to a pointer to a CRYPT_XML_SIGNATURE structure to receive the signature.

Return value

If the function succeeds, the function returns zero.

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

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header cryptxml.h
Library Cryptxml.lib
DLL Cryptxml.dll