RE: Calculating the DigestValue over an Object URI

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 UTC