- From: Rafa <rafael.hernandez@ya.com>
- Date: Mon, 03 Oct 2005 21:31:47 +0200
- To: Rich Salz <rsalz@datapower.com>
- CC: "w3c-ietf-xmldsig@w3.org" <w3c-ietf-xmldsig@w3.org>
Rich Salz escribió: >>Could it be that the internal representation of the canonicalized >><SignedInfo> is not as simple as one byte per character although I use >>only ASCII characters? >> >> > >No, that is not the problem. > > > >>In other words, what is the exact byte-stream I must use as input to the >>SHA1 algorithm? >> >> > >Well, not to be silly about it, but it *is* defined in the C14N spec. > >UTF8. > >Beware of line-ending issues. > > /r$ > > > You were right, there was nothing wrong in my canonicalization. I had a hidden bug in my SHA1 routine that was only showing when the input had special particularities. I am now signing correctly. Thanks again, you have been really helpful. Rafael Hernández
Received on Monday, 3 October 2005 19:30:10 UTC