runtime: ExchangeAlgorithmType enum is missing 44550

Description

  • ExchangeAlgorithmType enum is missing 44550
  • I stumbled about this as I logged SslStream.KeyExchangeAlgorithm
Console.WriteLine("Key exchange: {0} strength {1}", stream.KeyExchangeAlgorithm, stream.KeyExchangeStrength);

https://docs.microsoft.com/en-us/dotnet/api/system.net.security.sslstream.keyexchangealgorithm?view=net-5.0

Configuration

.NET 5.0

Regression?

No, was never included.

Other information

See also Archived Forums > .NET Framework Class Libraries > SslStream.KeyExchangeAlgorithm 44550

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (12 by maintainers)

Most upvoted comments

do we care about using the same numbers as underlying windows crypto does?

My gut says the numbers are the same so that no one had to write a mapping table; a convenience that only made sense when the framework was (largely) Windows-only. So, “no” (but we can’t change any of the existing numbered things).