Public & Private Keys in .NET besides RSA
-
04-10-2019 - |
Question
Am I missing something obvious here (I hope I am), besides RSA, are there any other crypto methods in .NET that use a public & private key?
Thanks!
Solution
Rsa is derived from the class AsymmetricAlgorithm
From there, MSDN lists the following derived classes:
System.Security.Cryptography.DSA
System.Security.Cryptography.ECDiffieHellman
System.Security.Cryptography.ECDsa
System.Security.Cryptography.RSA
OTHER TIPS
- DSA
- ECDiffieHelman (Contrary to MSDN docs, not supported on Windows XP)
No. You are not missing anything. RSA appears to be the only public key encryption scheme implemented in .NET. DSA and ECDSA are signature schemes and Diffie-Hellman is a key agreement scheme.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow