jdk/test/javax/xml/crypto/dsig/data/signature-enveloping-hmac-sha1-trunclen-8-attack.xml
author xuelei
Thu, 18 Oct 2012 01:14:00 -0700
changeset 14194 971f46db533d
parent 3462 4477fb399895
permissions -rw-r--r--
7068321: Support TLS Server Name Indication (SNI) Extension in JSSE Server Reviewed-by: mullan, weijun, wetmore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3462
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     2
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     3
  <SignedInfo>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     4
    <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     5
    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     6
      <HMACOutputLength>8</HMACOutputLength>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     7
    </SignatureMethod>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     8
    <Reference URI="#object">
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
     9
      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    10
      <DigestValue>nz4GS0NbH2SrWlD/4fX313CoTzc=</DigestValue>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    11
    </Reference>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    12
  </SignedInfo>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    13
  <SignatureValue>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    14
    Qw==
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    15
  </SignatureValue>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    16
  <Object Id="object">some other text</Object>
4477fb399895 6824440: XML Signature HMAC issue
mullan
parents:
diff changeset
    17
</Signature>