我想将数据读入 RSAParameters 结构(RSA参数 http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsaparameters%28v=VS.100%29.aspx)并检查了两次,数据是否正确。但是,我仍然收到错误“无效数据”异常:
bei System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)
bei System.Security.Cryptography.Utils._ImportKey(SafeProvHandle hCSP, Int32 keyNumber, CspProviderFlags flags, Object cspObject, SafeKeyHandle& hKey)
bei System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters)
如何查看源代码来检查 _ImportKeys 抛出异常的原因?我没有 .dll“解密”的经验..是否有任何符号可以在 Visual Studio 8.0 的某处引用?谢谢。
Use .NET反射器 http://www.red-gate.com/products/reflector/反汇编您想要检查的 DLL。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)