jdk/test/javax/xml/crypto/dsig/data/signature-enveloping-hmac-sha1-trunclen-8-attack.xml
equal
deleted
inserted
replaced
|
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> |