view test/com/sun/org/apache/xml/internal/security/signature-enveloping-hmac-sha1.xml @ 1519:e2726b43d1cc

6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid Reviewed-by: asaha
author mullan
date Wed, 08 Jul 2009 16:57:40 -0400
parents
children
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<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#hmac-sha1" />
    <Reference URI="#object">
      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
      <DigestValue>7/XTsHaBSOnJ/jXD5v0zL6VKYsk=</DigestValue>
    </Reference>
  </SignedInfo>
  <SignatureValue>
    JElPttIT4Am7Q+MNoMyv+WDfAZw=
  </SignatureValue>
  <Object Id="object">some text</Object>
</Signature>