我想将数据读取到RSAParameters structure ( RSAParameters )中,并检查了两次,以确保数据是正确的。但是,我还是得到了一个错误"invalid data“异常:
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 Studio8.0吗?谢谢。
发布于 2010-05-31 21:38:07
使用.NET Reflector反汇编要检查的动态链接库。
发布于 2015-03-24 19:03:00
您也可以使用JetBrains dotPeek。它是100%免费的。
https://stackoverflow.com/questions/2943854
复制相似问题