XML signature is recommended by w3c. It acts as a digital signature for
XML documents. This technology is used by various technologies such as
SAML, SOAP, etc. You can use this technology whenever you can access a
specific XML document in a URL. If the signature is contained outside
the document then it is called as a detached signature. When it is
contained inside the document then it is called as enveloping signature.