In C#, I need to load a X509Certificate2
with an encrypted private key, imported from a .key file. The RSACryptoServiceProvider
does not take any arguments to import such key, and my research has not provided any success.
I have tried this link.
The certificate is used to retrieve JSON from a REST API.