The Signature class / xml.Signature methods |
Returns a new DomDocument object representing the signature in XML.
getDocument() RETURNING doc xml.DomDocument
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.