开发者

Why did MSFT remove XML digital signature support in MSXML6.0? [closed]

开发者 https://www.devze.com 2023-04-06 13:17 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question c开发者_StackOverflow社区an be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

MSXML5 is the only version of MSXML that supports XML digital signatures.

Does anyone have any background why this was dropped, and what replaces it? Is this a good substitute?


MSXML5 has many features, including DOM, SAX, XPath, XSLT, XmlHttp and ServreXmlHttp, in addition to DSig. However, the customer for DSig feature was delivered for Office, or put it another way, the customer for MSXML5 is Office. Therefore DSig is excluded from MSXML6 from day one, while the rest of features remained. The other reason is about the cost, as it is not efficient to maintain MSXML3, MSXML4, MSXML5 and MSXML6 in the same time with allocated resources. Therefore, Microsoft has been pushing internal and external customers to MSXML6, which the best of the breed. This even leads Office 2010 moved off MSXML5 per Changes in Office 2010. So the point is: don't build your solution upon MSXML5.

Unfortunately, I am not aware of any Win32 native replacement of MSXML5 from Microsoft. However, you can use the classes in the System.Security.Cryptography.Xml namespace for DSig.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号