Git init
[external/xmlsec1.git] / examples / sign1-tmpl.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- 
3 XML Security Library example: Simple signature template file for sign1 example. 
4 -->
5 <Envelope xmlns="urn:envelope">
6   <Data>
7         Hello, World!
8   </Data>
9   <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
10     <SignedInfo>
11       <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
12       <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
13       <Reference URI="">
14         <Transforms>
15           <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
16         </Transforms>
17         <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
18         <DigestValue></DigestValue>
19       </Reference>
20     </SignedInfo>
21     <SignatureValue/>
22     <KeyInfo>
23         <KeyName/>
24     </KeyInfo>
25   </Signature>
26 </Envelope>
27