ExecuteSign
Signs the XML document according to the specified signing options (given in the signatureType and canonicalizationMethod parameters; see the xmlsignature-sign CLI command for available values). The output file is defined by outputPath, which is a string that provides the URL of the output file. The result is true on success, false on failure.
COM and .NET
Signature: boolean ExecuteSign(string outputPath, string signatureType,string canonicalizationMethod)
Java
Signature: public boolean executeSign(string outputPath, string signatureType,string canonicalizationMethod)