W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2003

Digest Value - What is calculated?

From: Tarun Pinto Pereira <tarun_pinto@hotmail.com>
Date: Thu, 6 Mar 2003 17:35:30 -0000
To: <w3c-ietf-xmldsig@w3.org>
Message-ID: <OE15Sl1q4gtopWd7KKQ0000006b@hotmail.com>

I am trying to understand the standard for a simple implementation for a
project.
I would like to know what exactly are the digest and signing algos applied
to?
Is it the tag + data or just the data?
For example consider the document below

....
<MyDataElement Id="mydata">DataToBeSigned</MyDataElement>
...
<Reference URI="#mydata">
    <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
   <DigestValue>Digest</DigestValue>
</Reference>


Is the Digest value calculated for "
<MyDataElement Id="mydata">DataToBeSigned</MyDataElement>"
or is it just calculated for "DataToBeSigned"

Thanks for any help.
Tarun
Received on Friday, 7 March 2003 02:54:10 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:16 GMT