You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below code generates Exception thrown: 'System.Security.Cryptography.CryptographicException' in mscorlib.dll.
I am using .NET 4.6.1 with 4096 bits RSA private key
string pkey = File.ReadAllText(@"C:\Temp\private.key");
IOpenSSLPrivateKeyDecoder privateKeyDecode = new OpenSSLPrivateKeyDecoder();
var rsa = privateKeyDecode.DecodeParameters(pkey);
RSACryptoServiceProvider provider = new RSACryptoServiceProvider();
provider.ImportParameters(rsa);
The text was updated successfully, but these errors were encountered:
Below code generates Exception thrown: 'System.Security.Cryptography.CryptographicException' in mscorlib.dll.
I am using .NET 4.6.1 with 4096 bits RSA private key
The text was updated successfully, but these errors were encountered: