No ENUM for SHA256 in HashAlgorithmType ? RRS feed

  • Question

  • In System.Security.Authentication is an enumeration class HashAlgorithmType. I'm using the class to check the used hash algorithm when I use SslStream to create a secure connection.

    Accoring to the manual HashAlgorithmType Enumeration there are currently three enums:

    • None
    • Md5
    • Sha1

    When I open a connection using Sha256 as the hash algorithm the value is "32780". Where is the enum for that? Where are the enums for the other Sha2 hash algorithms?

    • Edited by sqeez3r Wednesday, March 26, 2014 8:37 AM
    Wednesday, March 26, 2014 8:36 AM


All replies