Class MacAlgorithm
- Namespace
- Org.BouncyCastle.Tls
- Assembly
- BouncyCastle.Cryptography.dll
RFC 2246
public abstract class MacAlgorithm
- Inheritance
-
MacAlgorithm
- Inherited Members
Remarks
Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the particular values (e.g. serialization).
Fields
cls_null
public const int cls_null = 0
Field Value
hmac_md5
public const int hmac_md5 = 1
Field Value
hmac_sha1
public const int hmac_sha1 = 2
Field Value
hmac_sha256
public const int hmac_sha256 = 3
Field Value
hmac_sha384
public const int hmac_sha384 = 4
Field Value
hmac_sha512
public const int hmac_sha512 = 5
Field Value
md5
public const int md5 = 1
Field Value
sha
public const int sha = 2
Field Value
Methods
GetName(int)
public static string GetName(int macAlgorithm)
Parameters
macAlgorithmint
Returns
GetText(int)
public static string GetText(int macAlgorithm)
Parameters
macAlgorithmint
Returns
IsHmac(int)
public static bool IsHmac(int macAlgorithm)
Parameters
macAlgorithmint