JwtHashAlgorithm.cs 554 B

123456789101112131415161718192021222324
  1. namespace Jwt
  2. {
  3. /// <summary>
  4. /// Specifies the hashing algorithm being used used.
  5. /// </summary>
  6. public enum JwtHashAlgorithm
  7. {
  8. /// <summary>
  9. /// Hash-based Message Authentication Code (HMAC) using SHA256.
  10. /// </summary>
  11. HS256,
  12. /// <summary>
  13. /// Hash-based Message Authentication Code (HMAC) using SHA384.
  14. /// </summary>
  15. HS384,
  16. /// <summary>
  17. /// Hash-based Message Authentication Code (HMAC) using SHA512.
  18. /// </summary>
  19. HS512
  20. }
  21. }