PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Special case
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.
Versions 27 and later
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
New in version 27
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
Example
MonDoc is xmlDocument
NoeudASigner is xmlNode, description="schemaXSDDuProjet.NoeudRacine"
MonCertificat is Certificate
 
MaSignature is xmlSignature
MaSignature.AlgorithmNormalization = atC14NExclusiveWithComments
MaSignature.AlgorithmSignature = asRSA_SHA_160
MaSignature.Key = MonCertificat
 
IF XMLSign(MaSignature, MonDoc.NoeudASigner) = True THEN
Trace("Document signé")
END
Syntax
<Result> = XMLSign(<Signature> , <Insertion node>)
<Result>: Boolean
  • True if the XML document has been signed,
  • False otherwise.
<Signature>: xmlSignature variable
Name of xmlSignature variable corresponding to the XML signature to use.
<Insertion node>: xmlNode variable
Name of the Variable of type xmlNode corresponding to the location where the signature must be inserted.
Remarks

Special case

XML signing is not possible for smart cards. In this case, the function fails.
Business / UI classification: Business Logic
Component: wd270xml.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment