AW: AW: AW: [xmlsec] Problems verifing digest value
Aleksey Sanin
aleksey at aleksey.com
Fri Oct 17 08:42:14 PDT 2003
0) Do you really want whitespaces written out? Just write out the
document without
formatting.
1) You can add whitespaces in memory by yourself.
2) Save formatted document to a temporary file or memory buffer and then
parse it again.
Aleksey
Lehnert, Hartmut wrote:
>Yes, you're right! (Sorry for not reading
>www.w3.org/TR/2001/REC-xml-c14-n20010315 :-( )
>But is there any solution for this problem? How can the
>in-memory-representation be transformed before calculating the hash value so
>that the hash created over the in-memory-representation matches the hash
>value created over the canonicalized file representation?
>
>Thank you VERY much for this answer;-)
>
>Hartmut
>
>
More information about the xmlsec
mailing list