开发者

CryptoAPI and XMLDSIG c, c++, delphi

开发者 https://www.devze.com 2023-04-12 12:00 出处:网络
I\'m trying to sign a xml document (http://www.w3.org/TR/xmldsig-core/) with an enveloped signature, I managed to calculate the signed info part but I\'m struggling to get a meaningful result from the

I'm trying to sign a xml document (http://www.w3.org/TR/xmldsig-core/) with an enveloped signature, I managed to calculate the signed info part but I'm struggling to get a meaningful result from the cryptoapi, unfortunately I have to stick to the crypto api (no external libs, no XmlXec). The signature method is rsa-sha1, the digest method is sha1. Do you please have any working example of the construction of a xml si开发者_运维问答gnature in c, c++ or delphi?


There is an article in the MSDN about XML signatures: http://msdn.microsoft.com/en-us/library/ms757845(v=VS.85).aspx

0

精彩评论

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