1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
using System; namespace Org.BouncyCastle.Crypto.Tls { /** * RFC 5246 7.4.1.4.1 */ public abstract class HashAlgorithm { public const byte none = 0; public const byte md5 = 1; public const byte sha1 = 2; public const byte sha224 = 3; public const byte sha256 = 4; public const byte sha384 = 5; public const byte sha512 = 6; } }