GetXMLSignatureContextByNodes (open)

Return a new SignatureContext. The document should contain a <Signature> element that references all the signed nodes.

Syntax

LOADLIB "wh::xml/signature.whlib";

OBJECT FUNCTION GetXMLSignatureContextByNodes(OBJECT ARRAY nodes, OBJECT signaturesearchroot)

Parameters

OBJECT ARRAY nodes

Nodes that are signed (or need to be signed). All must be from the same document

OBJECT signaturesearchroot

Root node where to start searching for the signature (optional, defaults to the document of the signed nodes)

Return value

OBJECT
Possible objecttypes:

SignatureContext object