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

RE: Calculating the DigestValue over an Object URI

From: John <cmj@cht.com.tw>
Date: Thu, 16 Oct 2003 10:17:35 +0800
Message-ID: <001501c3938b$af381010$5c85900a@chttl.com.tw>
To: <w3c-ietf-xmldsig@w3.org>

Dear John Boyer,
    Thank you for the answer, I think my problem should be that I applied a
'partial' C14N
transforming before calculating the hash.
Since my C14N implementation is lack of a 'document subsets transforming',
the default namespace is not propagated onto the Object element.
Therefore, when I tried a real C14N form which is:
<Object xmlns="http://www.w3.org/2000/09/xmldsig#" Id="object">some
text</Object>
with sha1 and base64, I got: 7/XTsHaBSOnJ/jXD5v0zL6VKYsk=
which is identical to the DigestValue.

Thanks for your help.


John major
Received on Wednesday, 15 October 2003 22:19:19 GMT

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