ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
XMLSign (Function)
In french: XMLSigne
Signs an XML document.
Example
MyDoc is xmlDocument
NodeToSign is xmlNode, description="ProjectXSDSchema.RootNode"
MyCertificate is Certificate
 
MySignature is xmlSignature
MySignature.AlgorithmNormalization = atC14NExclusiveWithComments
MySignature.AlgorithmSignature = asRSA_SHA_160
MySignature.Key = MyCertificate
 
IF XMLSign(MySignature, MyDoc.NodeToSign) = True THEN
Trace("Document signed")
END
Syntax
<Result> = XMLSign(<Signature> , <Insertion node>)
<Result>: Boolean
  • True if the XML document has been signed,
  • False otherwise.
<Signature>: xmlSignature variable
Name of the xmlSignature variable corresponding to the XML signature to use.
<Insertion node>: xmlNode variable
Name of the xmlNode variable that corresponds to the location where the signature should be inserted.
Remarks
XML files cannot be signed on smart cards. In this case, the function fails.
Business / UI classification: Business Logic
Component: wd290xml.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/31/2024

Send a report | Local help