xml.Signature.getDocument

Returns a new DomDocument object representing the signature in XML.

Syntax

getDocument()
  RETURNING doc xml.DomDocument

Usage

Returns a xml.DomDocument object.

If the type of the signature is enveloped, it's up to the user to add it at the right place in the XML document it is intended to sign.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.