Enum Class EncodingId

java.lang.Object
java.lang.Enum<EncodingId>
com.maker.passwordmaker.EncodingId
All Implemented Interfaces:
Serializable, Comparable<EncodingId>, Constable

public enum EncodingId extends Enum<EncodingId>
The enum Encoding id.
Since:
2024. 6. 3.
Author:
yongjunhong
  • Enum Constant Details

    • BCRYPT

      public static final EncodingId BCRYPT
      Bcrypt encoding id.
    • PBKDF

      public static final EncodingId PBKDF
      Pbkdf encoding id.
    • SCRYPT

      public static final EncodingId SCRYPT
      Scrypt encoding id.
    • ARGON

      public static final EncodingId ARGON
      Argon encoding id.
  • Method Details

    • values

      public static EncodingId[] 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 EncodingId 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
    • getEncodingId

      public String getEncodingId()
      Gets encoding id.
      Returns:
      the encoding id