1 <?xml version="1.0" encoding="US-ASCII"?>
 2 <!DOCTYPE doc [
 3 <!ATTLIST Data Id ID #IMPLIED>
 4 <!ATTLIST Info ID ID #IMPLIED>
 5 ]>
 6 <doc>
 7   <Data>xyz</Data>
 8   <Data>pqr</Data>
 9   <Data Id="foo">abc</Data>
10   <Data Id="baz">456</Data>
11   <Info ID="bar">123</Info>
12   <Info ID="qux">789</Info>
13 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="thesig">
14 <SignedInfo>
15 <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
16 <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
17 <Reference URI="">
18 <Transforms>
19 <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
20 <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
21 </Transforms>
22 <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
23 <DigestValue>d6Pzi4DPNG6uc9KqTxdnm1zdLSA=</DigestValue>
24 </Reference>
25 <Reference URI="#foo">
26 <Transforms>
27 <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
28 <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
29 </Transforms>
30 <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
31 <DigestValue>j5sLNXdJgD7ye531XlyUb2exL8I=</DigestValue>
32 </Reference>
33 <Reference URI="#bar">
34 <Transforms>
35 <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
36 <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
37 </Transforms>
38 <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
39 <DigestValue>yn5TDgwmUdYwr7PtVYsz2XuwUww=</DigestValue>
40 </Reference>
41 </SignedInfo>
42 <SignatureValue>ErZz53i1O2IjsFg2RJKugaEYkwv8jAcjyu484bViJczBchVCwsKGCGQ830YCkHxDIGIWWcaiMYGUFmkndy9iTRUi4csn3TIpQTzQd/3tIUWQ8xiZRytriL5cMLWtjnhFRp7tuB28/h6DkjWKm5c0m7mlBhDOZVEk6Wu5PjhwD8E=</SignatureValue>
43 <KeyInfo>
44 <KeyValue><RSAKeyValue>
45 <Modulus>
46 4IlzOY3Y9fXoh3Y5f06wBbtTg94Pt6vcfcd1KQ0FLm0S36aGJtTSb6pYKfyX7PqCUQ8wgL6xUJ5GRPEsu9gyz8
47 ZobwfZsGCsvu40CWoT9fcFBZPfXro1Vtlh/xl/yYHm+Gzqh0Bw76xtLHSfLfpVOrmZdwKmSFKMTvNXOFd0V18=
48 </Modulus>
49 <Exponent>AQAB</Exponent>
50 </RSAKeyValue></KeyValue>
51 </KeyInfo>
52 </Signature>
53 </doc>