ValidationAlgorithm Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a message authentication algorithm to use for providing tamper-proofing to protected payloads.
public enum class ValidationAlgorithm
C#
public enum ValidationAlgorithm
type ValidationAlgorithm =
Public Enum ValidationAlgorithm
- Inheritance
-
ValidationAlgorithm
Name | Value | Description |
---|---|---|
HMACSHA256 | 0 | The HMAC algorithm (RFC 2104) using the SHA-256 hash function (FIPS 180-4). |
HMACSHA512 | 1 | The HMAC algorithm (RFC 2104) using the SHA-512 hash function (FIPS 180-4). |
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |