Computes the signature of all references set in this Signature object.


   doc xml.DomDocument )
  1. doc defines the XML document.


If the signature type is:

  • Enveloping: then doc must be NULL because all document fragment references are inside the Signature itself
  • Enveloped: then doc must be the XML document where the signature must be added afterwards to get a valid enveloped signature
  • Detached: then doc can be NULL if all references are absolute, otherwise it can be the XML document fragment references that are referencing

See XML Signature concepts for more details.

Also, see Windows® .NET special recommendation.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).