test-2.xml 777 B

1234567891011121314151617181920
  1. <?xml version="1.0"?>
  2. <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  3. <SignedInfo>
  4. <ds:CanonicalizationMethod xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
  5. <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
  6. <Reference URI="#ndid:1234-5678-0987">
  7. <Transforms>
  8. <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
  9. </Transforms>
  10. <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
  11. <DigestValue>sj1VXDB2VMCU5qmva2OtDw3kKOs=</DigestValue>
  12. </Reference>
  13. </SignedInfo>
  14. <SignatureValue>...</SignatureValue>
  15. <KeyInfo>
  16. <X509Data>
  17. <X509Certificate>...</X509Certificate>
  18. </X509Data>
  19. </KeyInfo>
  20. </Signature>