jdk/test/com/sun/org/apache/xml/internal/security/signature-enveloping-hmac-sha1.xml
author jwilhelm
Thu, 04 Jun 2015 14:19:51 +0200
changeset 31034 6d34754bd5e0
parent 3466 2200fa4b79ff
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3466
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     2
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     3
  <SignedInfo>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     4
    <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     5
    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1" />
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     6
    <Reference URI="#object">
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     7
      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     8
      <DigestValue>7/XTsHaBSOnJ/jXD5v0zL6VKYsk=</DigestValue>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
     9
    </Reference>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
    10
  </SignedInfo>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
    11
  <SignatureValue>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
    12
    JElPttIT4Am7Q+MNoMyv+WDfAZw=
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
    13
  </SignatureValue>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
    14
  <Object Id="object">some text</Object>
2200fa4b79ff 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
mullan
parents:
diff changeset
    15
</Signature>