但是XML签名又如何? [英] XML signature but how?

查看:130
本文介绍了但是XML签名又如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我找到了示例签名的xml的一部分.我应该在粗体部分加上什么? (EmbeddedDocumentBinaryObject)我将从读卡器中读取数字签名.我应该在这里写我已经读过的值吗?

Hello
I''ve located a part of sample signatured xml . What should i put on the bolded part? (EmbeddedDocumentBinaryObject) I will read the digital signature from card reader. Should i write there the value I''ve read?

<cac:Signature>
<cbc:ID>1288331521</cbc:ID>
<cac:SignatoryParty>
<cac:PartyIdentification>
   <cbc:ID schemeID="VKN">1288331521</cbc:ID>
</cac:PartyIdentification>
<cac:PostalAddress>
   <cbc:StreetName>Papatya Caddesi Yasemin Sokak</cbc:StreetName>
   <cbc:BuildingNumber>21</cbc:BuildingNumber>
   <cbc:CitySubdivisionName>Beşiktaş </cbc:CitySubdivisionName>
   <cbc:CityName>İstanbul</cbc:CityName>
   <cbc:PostalZone>34100</cbc:PostalZone>
   <cac:Country>
    <cbc:Name>Türkiye</cbc:Name>
   </cac:Country>
</cac:PostalAddress>
</cac:SignatoryParty>
<cac:DigitalSignatureAttachment>
<cbc:EmbeddedDocumentBinaryObject mimeCode="text/xml">           UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi
</cbc:EmbeddedDocumentBinaryObject>
</cac:DigitalSignatureAttachment>
</cac:Signature>



还是关于此MSDN文章? http://msdn.microsoft.com/en-us/library/ms229745.aspx [ ^ ]

我不知道数字签名.有没有人一步步描述我该怎么办?谢谢大家.



Or, is it about this MSDN article? http://msdn.microsoft.com/en-us/library/ms229745.aspx[^]

I have no idea with digital signatures. Is there anyone describe me step by step what should i do? Thank you all.

推荐答案

比较您的两个子句:我对数字签名一无所知"和有人逐步描述我该怎么办? "

如果有人帮助您(第二步);并且仅执行这些步骤,您仍然不会对数字签名有所了解,我会保证. :-)

因此,相反,请先阅读并彻底理解以下内容:
http://en.wikipedia.org/wiki/Public-key_cryptography [ http://en.wikipedia.org/wiki/Digital_signature [ http://msdn.microsoft .com/en-us/library/ms229745.aspx [ ^ ].这次您应该能够理解它并意识到使用数字签名应该怎么做.

—SA
Compare two your clauses: "I have no idea with digital signatures" and "Is there anyone describe me step by step what should I do?"

If someone help you with second one (step by step); and you only follow these steps, you still won''t get an idea about digital signatures, I''ll guarantee that. :-)

So, instead, first read and thoroughly understand this:
http://en.wikipedia.org/wiki/Public-key_cryptography[^],
http://en.wikipedia.org/wiki/Digital_signature[^].

Understanding the idea will take some brain work.

If you understand the above matter well, you can re-read the article you used http://msdn.microsoft.com/en-us/library/ms229745.aspx[^]. This time you should be able to understand it and realize what should you do to use digital signatures.

—SA


这篇关于但是XML签名又如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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