解密部分肥皂消息. [英] Decrypt part of a soap message.
问题描述
好,我发布了 http ://social.msdn.microsoft.com/Forums/zh-CN/wcf/thread/2b4d5881-5f1a-4512-b5b1-e7223d8ecc87 ,但是我提到了一种密码学 论坛.我找不到加密论坛,所以这看起来是最好的地方. 否则,请告诉我.
Well, I posted http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/2b4d5881-5f1a-4512-b5b1-e7223d8ecc87, but I got referred to a cryptography forum. I couldn't find a cryptography forum so this looks like the best place. If not, please let me know.
我正在尝试解密SOAP消息中的某些数据.我相信此数据已使用x509证书加密.
I'm trying to decrypt some data in a SOAP message. I believe this data is encrypted with x509 certificate.
尝试解密时出现以下错误:
I get the following error trying to decrypt:
Unhandled Exception: System.Security.Cryptography.CryptographicException: The data to be decrypted exceeds the maximum for this modulus of 128 bytes.
at System.Security.Cryptography.RSACryptoServiceProvider.Decrypt(Byte[] rgb,Boolean fOAEP)
Here is the code I'm using to decrypt the data. I'm not sure what I'm doing wrong.
推荐答案
您已经查看了相关链接,而且您似乎也没有上传代码.
did you have a look at the related links, and also you don't seem to have uploaded your code.
http://support.microsoft.com/kb/842791
http://social.msdn.microsoft .com/Forums/zh-CN/clr/thread/5e56bab7-3f13-4fe9-bac1-05ba20ce8dc7
这篇关于解密部分肥皂消息.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!