- All Implemented Interfaces:
Serializable, Comparable<EncAlgo>, java.lang.constant.Constable
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEC encryption.ECIES encryption.ECIES-MLKEM hybrid encryption.ECIES-MLKEM hybrid encryption (internal).ElGamal encryption.Field Summary
Constructor Summary
Method Summary
Enum Constant Details
ELGAMAL
ElGamal encryption.EC
EC encryption.ECIES
ECIES encryption.ECIES_MLKEM
ECIES-MLKEM hybrid encryption.ECIES_MLKEM_INT
ECIES-MLKEM hybrid encryption (internal).
Field Details
name
Name of the encryption algorithm.
Constructor Details
EncAlgo
Creates a value with its algorithm name.- Parameters:
name- the algorithm name
Method Details
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
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 nameNullPointerException- if the argument is null
getName
The name of this encryption algorithm.- Returns:
- the algorithm name this constant was declared with, such as
ECIES-MLKEM, which is not always the same as the constant's own identifier