ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2024 feature!
Help / WLanguage / WLanguage functions / Standard functions / XML file functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
XMLVerifySignature (Function)
In french: XMLVérifieSignature
Verifies the signature of an XML node.
Example
myVerification is xmlSignatureVerification
myVerification.Key = "mypublickey.pem"

myXMLDoc is xmlDocument = XMLOpen("filetoverify.xml", XMLKeepEmptyTextNode)

IF NOT XMLVerifySignature(myVerification, myXMLDoc.Root.SignNode) THEN
Error("Invalid signature")
ELSE
Info("Ok")
END
Syntax
<Result> = XMLVerifySignature(<Signature verification> , <XML node to verify>)
<Result>: Boolean
  • True if the signature is correct,
  • False otherwise.
<Signature verification>: xmlVerificationSignature variable
Name of the xmlSignatureVerification variable that contains the information required to verify an XML signature.
<XML node to verify>: xmlNode variable
XML node whose signature must be verified.
Remarks
When opening the XML document with XMLOpen, use the XMLKeepEmptyTextNode constant. The document must not be modified before the signature is verified.
Component: wd290xml.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help