Package de.mkammerer.argon2
Enum Argon2Factory.Argon2Types
- java.lang.Object
-
- java.lang.Enum<Argon2Factory.Argon2Types>
-
- de.mkammerer.argon2.Argon2Factory.Argon2Types
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Argon2Factory.Argon2Types>
- Enclosing class:
- Argon2Factory
public static enum Argon2Factory.Argon2Types extends java.lang.Enum<Argon2Factory.Argon2Types>
Argon2 type.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Argon2_typegetJnaType()static Argon2Factory.Argon2TypesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Argon2Factory.Argon2Types[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARGON2i
public static final Argon2Factory.Argon2Types ARGON2i
Argon2i.
-
ARGON2d
public static final Argon2Factory.Argon2Types ARGON2d
Argon2d.
-
ARGON2id
public static final Argon2Factory.Argon2Types ARGON2id
Argon2id
-
-
Method Detail
-
values
public static Argon2Factory.Argon2Types[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Argon2Factory.Argon2Types c : Argon2Factory.Argon2Types.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Argon2Factory.Argon2Types valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getJnaType
public Argon2_type getJnaType()
-
-