Those algorithms are encryption algorithms, not key types. Which you should use depends on your application. Rsa15
(algorithm "RSA1_5") is old and not recommended for secure applications. RsaOaep
(algorithm "RSA-OAEP") is probably more prolific but uses SHA-1 to hash, so RsaOaep256
(algorithm (RSA-OAEP-256) is more secure since it uses SHA-256.
You can read about these algorithms from various sources including Wikipedia.
In the Key Vault SDK for C#, we also support those algorithms locally if you have the key material (like public key for encryption) locally, since those same algorithms are supported locally. Some algorithms may not always be supported, like EC keys on .NET Framework 4.6.1 which will throw a NotSupportedException
.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…