jdk/test/com/sun/org/apache/xml/internal/security/signature-enveloping-hmac-sha1-trunclen-8-attack.xml
changeset 3462 4477fb399895
equal deleted inserted replaced
3461:cbc3dfc3b609 3462:4477fb399895
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
       
     3   <SignedInfo>
       
     4     <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
       
     5     <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">
       
     6       <HMACOutputLength>8</HMACOutputLength>
       
     7     </SignatureMethod>
       
     8     <Reference URI="#object">
       
     9       <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
       
    10       <DigestValue>nz4GS0NbH2SrWlD/4fX313CoTzc=</DigestValue>
       
    11     </Reference>
       
    12   </SignedInfo>
       
    13   <SignatureValue>
       
    14     Qw==
       
    15   </SignatureValue>
       
    16   <Object Id="object">some other text</Object>
       
    17 </Signature>