|
|
|
|
|
XMLSign (Function) In french: XMLSigne MyDoc is xmlDocument
NodeToSign is xmlNode, description="ProjectXSDSchema.RootNode"
MyCertificate is Certificate
MySignature is xmlSignature
MySignature.NormalizationAlgorithm = atC14NExclusiveWithComments
MySignature.SignatureAlgorithm = saRSA_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 or xmlXAdESSignature variable Signature to be used. This parameter can be one of the following: <Insertion node>: xmlNode variable Name of the xmlNode variable that corresponds to the location where the signature should be inserted. Remarks New in SaaSYou can use certificates stored on smart cards to sign XML documents. In this case, an RSA SHA 256 signature is used by default. Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 1. For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|