API Reference

ValidateSignature

Description

Validates the signature of a digitally signed XML fragment.

bool ValidateSignature(string xmlValue, string publicKey, out string errorMessage)

Arguments

NameData TypeDescription
xmlValuestringthe digitally signed XML
publicKeystringthe RSA public encryption key (from Define Products / Encryption Keys / Non-Windows Encryption Keys)
errorMessagestringreturned error message if the validation fails

Return

Data TypeDescription
booltrue if the signature is valid

Remarks

You should use this function to validate that the XML file returned by an XML file digitally signed by the QLM License Server is valid.

For example, you can use this function to validate the XML fragment returned by calling GetProductProperties.