Git init
[external/xmlsec1.git] / tests / aleksey-xmldsig-01 / x509data-test.tmpl
1 <?xml version="1.0" encoding="UTF-8"?>
2 <Document>
3   <ToBeSigned>
4     Some very secret data
5   </ToBeSigned>
6   <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
7     <SignedInfo>
8       <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
9       <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
10       <Reference URI="">
11         <Transforms>
12           <Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
13             <XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"> //ToBeSigned </XPath>
14           </Transform>
15         </Transforms>
16         <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
17         <DigestValue/>
18       </Reference>
19     </SignedInfo>
20     <SignatureValue/>
21     <KeyInfo>
22       <X509Data>
23         <X509SubjectName/>
24         <X509IssuerSerial/>
25         <X509SKI/>
26         <X509Certificate/>
27         <X509CRL/>
28       </X509Data>
29     </KeyInfo>
30   </Signature>
31 </Document>