Knowledgebase: ASP .NET / ASP
Cryptography with ASP .NET
Posted by Arvand Sabetian (Import) on 12 March 2009 07:13 PM
|
|
A customer received the following error when attempting to create a RSACryptoServiceProvider from the privatekey already in the code: CryptographicException: The system cannot find the file specified. System.Security.Cryptography.Utils.CreateProvHandle(CspParameters parameters, Boolean randomKeyContainer) +7712542 System.Security.Cryptography.RSACryptoServiceProvider.ImportParameters(RSAParameters parameters) +258 System.Security.Cryptography.RSA.FromXmlString(String xmlString) +470 SignXml.SignXml.Page_Load(Object sender, EventArgs e) +417 A workaround for this can be found here: http://www.codeproject.com/KB/security/EZRSA.aspx | |
|
Comments (0)