⟩ How to combine XML document with a signature such that, in the resulting document, the signature signs the original document?
1. Create an enveloping signature around the root element of the document.
2. Create an enveloped signature. The signature is placed inside the document, and its SignedInfo Reference contains transforms that omit the signature from the document.