I need to be able to decrypt a string that is encrypted with a certificate using SHA1-RSA. This is being used to integrate a .NET application with authentication from an existing system that cannot be changed.
Please provide sample code, or a link to a sample project. C# or VB.NET code is fine and I would prefer code that is compatible with both .NET 1.1 and .NET 2.0. I would like to avoid third-party components as the procurement process for this client is rather slow and painful.
If it helps, the following Java code encrypted what I need to decrypt.