CreateXMLSignature (open)

Calculate an XML Signature signature

Syntax

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

STRING FUNCTION CreateXMLSignature(STRING signaturealgorithm, STRING data, STRING privatekey, STRING passphrase)

Parameters

STRING signaturealgorithm

URI of signature algorithm

STRING data

Data to sign

STRING privatekey

Private key to use for signing

STRING passphrase

Passphrase for private key

Return value

STRING

Base-64 encoded signature