C#XML数字签名与VC ++数字签名 [英] C# XML Digital Signature Vs VC++ Digital Signature

查看:151
本文介绍了C#XML数字签名与VC ++数字签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如果我们使用C#XML(System.Security.Cryptography.Xml)签署了XML文件;当我们使用VC ++ CryptoAPI for XML文件创建数字签名时,数字签名会相同吗?

谢谢
Prashant Joseph.

Hi,

If we signed a XML file using C# XML (System.Security.Cryptography.Xml); Will the digital signature same when we create a digital signature using VC++ CryptoAPI for XML file.

Thanks
Prashant Joseph.

推荐答案

否.实际上,它从来都不是相同的,否则签名将无法保护任何东西. :-)



从OP答复中,我认为这还不清楚.请参阅下面的我的评论.需要了解一些基本知识.
阅读:
http://en.wikipedia.org/wiki/Public-key_cryptography [ http://en.wikipedia.org/wiki/Digital_signature [
No. It''s never the same, practically, otherwise the signature would not protect anything. :-)



From OP reply I feel this is not clear. See my comment below. It needs understanding of some fundamentals.
Read:
http://en.wikipedia.org/wiki/Public-key_cryptography[^],
http://en.wikipedia.org/wiki/Digital_signature[^].

—SA


这篇关于C#XML数字签名与VC ++数字签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆