VerifyXMLSignature (open)

Validate a XML Signature signature hash

Syntax

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

BOOLEAN FUNCTION VerifyXMLSignature(STRING signaturealgorithm, STRING data, STRING signature_base64, STRING publickey)

Parameters

STRING signaturealgorithm

URI of signature algorithm

STRING data

Signed data

STRING signature_base64

Base64 encoded signature

STRING publickey

PEM-encoded public key to use for signing

Return value

BOOLEAN

Whether the signature validates with this publickey