Enum Class HmacAlgorithms

java.lang.Object
java.lang.Enum<HmacAlgorithms>
org.seppiko.commons.utils.crypto.HmacAlgorithms
All Implemented Interfaces:
Serializable, Comparable<HmacAlgorithms>, Constable

public enum HmacAlgorithms extends Enum<HmacAlgorithms>
Standard HashUtil algorithm names from the Java Cryptography Architecture Standard Algorithm Name Documentation.
Author:
Leonard Woo
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The HmacMD5 Message Authentication Code (MAC) algorithm specified in RFC 2104 and RFC 1321.
    The HmacPBESHA1 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacPBESHA224 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacPBESHA256 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacPBESHA384 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacPBESHA512 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacPBESHA512 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacPBESHA512 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    The HmacSHA1 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    The HmacSHA224 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    The HmacSHA256 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    The HmacSHA384 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    The HmacSHA512 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    The HmacSHA512/224 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    The HmacSHA512/256 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    The HmacSHA3-224 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    The HmacSHA3-256 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    The HmacSHA3-384 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    The HmacSHA3-512 Message Authentication Code (MAC) algorithm specified in RFC 2104.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the algorithm name.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • HMAC_MD5

      public static final HmacAlgorithms HMAC_MD5
      The HmacMD5 Message Authentication Code (MAC) algorithm specified in RFC 2104 and RFC 1321.
    • HMAC_SHA_1

      public static final HmacAlgorithms HMAC_SHA_1
      The HmacSHA1 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    • HMAC_SHA_224

      public static final HmacAlgorithms HMAC_SHA_224
      The HmacSHA224 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    • HMAC_SHA_256

      public static final HmacAlgorithms HMAC_SHA_256
      The HmacSHA256 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    • HMAC_SHA_384

      public static final HmacAlgorithms HMAC_SHA_384
      The HmacSHA384 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    • HMAC_SHA_512

      public static final HmacAlgorithms HMAC_SHA_512
      The HmacSHA512 Message Authentication Code (MAC) algorithm specified in RFC 2104 and FIPS PUB 180-2.
    • HMAC_SHA_512_224

      public static final HmacAlgorithms HMAC_SHA_512_224
      The HmacSHA512/224 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    • HMAC_SHA_512_256

      public static final HmacAlgorithms HMAC_SHA_512_256
      The HmacSHA512/256 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    • HMAC_SHA3_224

      public static final HmacAlgorithms HMAC_SHA3_224
      The HmacSHA3-224 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    • HMAC_SHA3_256

      public static final HmacAlgorithms HMAC_SHA3_256
      The HmacSHA3-256 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    • HMAC_SHA3_384

      public static final HmacAlgorithms HMAC_SHA3_384
      The HmacSHA3-384 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    • HMAC_SHA3_512

      public static final HmacAlgorithms HMAC_SHA3_512
      The HmacSHA3-512 Message Authentication Code (MAC) algorithm specified in RFC 2104.
    • HMAC_PBE_SHA_1

      public static final HmacAlgorithms HMAC_PBE_SHA_1
      The HmacPBESHA1 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    • HMAC_PBE_SHA_224

      public static final HmacAlgorithms HMAC_PBE_SHA_224
      The HmacPBESHA224 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    • HMAC_PBE_SHA_256

      public static final HmacAlgorithms HMAC_PBE_SHA_256
      The HmacPBESHA256 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    • HMAC_PBE_SHA_384

      public static final HmacAlgorithms HMAC_PBE_SHA_384
      The HmacPBESHA384 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    • HMAC_PBE_SHA_512

      public static final HmacAlgorithms HMAC_PBE_SHA_512
      The HmacPBESHA512 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    • HMAC_PBE_SHA_512_224

      public static final HmacAlgorithms HMAC_PBE_SHA_512_224
      The HmacPBESHA512 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
    • HMAC_PBE_SHA_512_256

      public static final HmacAlgorithms HMAC_PBE_SHA_512_256
      The HmacPBESHA512 Message Authentication Code (MAC) algorithm specified in Appendix B.4 of RFC 7292.
  • Method Details

    • values

      public static HmacAlgorithms[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HmacAlgorithms valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Gets the algorithm name.
      Returns:
      the algorithm name