Since the template is just an XML file, it might be created in advance
and saved in a file. It's also possible for application to create
templates without using XML Security Library functions. Also in some
cases template should be inserted in the signed or encrypted data
(for example, if you want to create an enveloped or enveloping
Signature verification and data decryption do not require template
because all the necessary information is provided in the signed or
Figure 1. The verification or decryption processing model.