jdk/test/javax/xml/crypto/dsig/data/signature-enveloping-hmac-sha1-40.xml
author xuelei
Thu, 18 Oct 2012 01:14:00 -0700
changeset 14194 971f46db533d
parent 2 90ce3da70b43
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:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
  <SignedInfo>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
    <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
    <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#hmac-sha1">
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
      <HMACOutputLength>40</HMACOutputLength>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
    </SignatureMethod>
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
    <Reference URI="#object">
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
      <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
      <DigestValue>7/XTsHaBSOnJ/jXD5v0zL6VKYsk=</DigestValue>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
    </Reference>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
  </SignedInfo>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
  <SignatureValue>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
    HHiqvCU=
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
  </SignatureValue>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
  <Object Id="object">some text</Object>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
</Signature>