阅读背景:

XML规范化算法在直接调用时比作为XML数字签名的一部分调用时产生两个不同的结果。

来源:互联网 

I'm getting two different hashes of the same xml document when I directly canonicalize some xml than when I perform a digital signature on it which also performs the same canonicalization algoririth on the xml before hashing it? I worked out that the digital signature canonicalization includes the new line characters '\n' and spacing characters when canonicalizing and the direct algorithm does not. I'm getting two different hashes of the same xm




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: