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ándezReceived on Monday, 3 October 2005 19:30:10 GMT
This archive was generated by hypermail 2.2.0 + w3c-0.30 : Monday, 3 October 2005 19:30:10 GMT