Enum AlgorithmParameters.Algorithm
java.lang.Object
java.lang.Enum<AlgorithmParameters.Algorithm>
de.hda.fbi.ucs.eucrite.parameters.AlgorithmParameters.Algorithm
- All Implemented Interfaces:
Serializable
,Comparable<AlgorithmParameters.Algorithm>
,java.lang.constant.Constable
- Enclosing interface:
- AlgorithmParameters
public static enum AlgorithmParameters.Algorithm extends Enum<AlgorithmParameters.Algorithm>
List of all Algorithms supported by the
The available encryption algorithms are RSA KEM and McEliece KEM (asymmetric) and AES (symmetric) The available signing algorithms are SPHINCS (stateless) and XMSS and XMSSMT (stateful).
KeyManager
. The available encryption algorithms are RSA KEM and McEliece KEM (asymmetric) and AES (symmetric) The available signing algorithms are SPHINCS (stateless) and XMSS and XMSSMT (stateful).
The algorithms can be used like static variable with
AlgorithmParameters.Algorithm.[AlgorithmName]
- Author:
- Alexander Zeier
-
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 AES
Use AES as the symmetric encryption algorithm.MCELIECE_KEM
Use McEliece KEM as the hybrid encryption algorithm.RSA
Use RSA as the signature algorithm.RSA_KEM
Use RSA KEM as the hybrid encryption algorithm.SPHINCS
Use SPINCS(+) as the signature algorithm.XMSS
Use XMSS as the signature algorithm.XMSSMT
Use XMSS as the signature algorithm. -
Method Summary
Modifier and Type Method Description String
getAlgorithm()
static AlgorithmParameters.Algorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlgorithmParameters.Algorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
XMSS
Use XMSS as the signature algorithm. -
XMSSMT
Use XMSS as the signature algorithm. -
SPHINCS
Use SPINCS(+) as the signature algorithm. -
RSA
Use RSA as the signature algorithm. -
AES
Use AES as the symmetric encryption algorithm. -
RSA_KEM
Use RSA KEM as the hybrid encryption algorithm. -
MCELIECE_KEM
Use McEliece KEM as the hybrid encryption algorithm.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getAlgorithm
-