Git init
[external/xmlsec1.git] / tests / aleksey-xmldsig-01 / enveloped-gost.tmpl
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/2001/04/xmldsig-more#gostr34102001-gostr3411"/>
13       <Reference URI="">
14         <Transforms>
15           <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
16         <Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
17         <XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">not(ancestor-or-self::dsig:Signature)</XPath>
18         </Transform>
19         </Transforms>
20         <DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/>
21         <DigestValue></DigestValue>
22       </Reference>
23     </SignedInfo>
24     <SignatureValue/>
25     <KeyInfo>
26 <X509Data>
27 <X509Certificate></X509Certificate>
28 </X509Data>
29 </KeyInfo>
30 </Signature>
31 </Envelope>