<?xml version="1.0" encoding="UTF-8"?>
<Document>
  <ToBeSigned>
    Some very secret data
  </ToBeSigned>
  <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo>
      <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
      <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
      <Reference URI="">
        <Transforms>
          <Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2">
            <XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"> //ToBeSigned </XPath>
          </Transform>
        </Transforms>
        <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
        <DigestValue>3om1gINPzaogcdLuDdjIQlls4NE=</DigestValue>
      </Reference>
    </SignedInfo>
    <SignatureValue>X/W6AuFxAJ2ptVFSpVR1Z1hMyn3Ss9wRDjlJlB1xC9XmUD42ZrAGsUPoNc7Ye97k
qu9lPZa7GnQEFWDjE/tNzT/G9zZBcDs0VnXr14y5/h1kDoOPNDDTFPGhKqzirLw8
QUpgVXyR8+aMAGtSHAO74cnB0usdg0wK3c4zh1LwnCbZ0aHKySyhzG/HhH03ErMq
XMLgfJUCpT/J8RYMyXMWDeb/bKOsOtiGhnLzJC1WhtzKKN0P1oEJ2jUxa98ZBeea
aND8AoD1K5x0a5CvU/KA3Pwgo+zIAk60tSzjO7/qC9Qz2ULsm2lIq/JEXghp+Y//
yQaKF4+whsEadEc7wAtQzQ==</SignatureValue>
    <KeyInfo>
      <X509Data>
        <X509IssuerSerial>
<X509IssuerName>emailAddress=xmlsec@aleksey.com,CN=Aleksey Sanin,OU=Root CA,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName>
<X509SerialNumber>12655831530416757421</X509SerialNumber>
</X509IssuerSerial>
<X509IssuerSerial>
<X509IssuerName>emailAddress=xmlsec@aleksey.com,CN=Aleksey Sanin,OU=Root CA,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName>
<X509SerialNumber>12655831530416757420</X509SerialNumber>
</X509IssuerSerial>
<X509IssuerSerial>
<X509IssuerName>emailAddress=xmlsec@aleksey.com,CN=Aleksey Sanin,O=XML Security Library (http://www.aleksey.com/xmlsec),ST=California,C=US</X509IssuerName>
<X509SerialNumber>12655831530416757433</X509SerialNumber>
</X509IssuerSerial>
      </X509Data>
    </KeyInfo>
  </Signature>
</Document>
