Re: Simple question about canonicalization

> 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$

-- 
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html

Received on Monday, 3 October 2005 12:35:22 UTC