Enum AlgorithmParameters.Template.Signature.Security_Level
java.lang.Object
java.lang.Enum<AlgorithmParameters.Template.Signature.Security_Level>
de.hda.fbi.ucs.eucrite.parameters.AlgorithmParameters.Template.Signature.Security_Level
- All Implemented Interfaces:
Serializable
,Comparable<AlgorithmParameters.Template.Signature.Security_Level>
,java.lang.constant.Constable
- Enclosing interface:
- AlgorithmParameters.Template.Signature
public static enum AlgorithmParameters.Template.Signature.Security_Level extends Enum<AlgorithmParameters.Template.Signature.Security_Level>
Depending on the security requirements of your application, one of these security levels might be chosen.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description AlgorithmParameters
getParameters()
Get the parameters for the chosen template.static AlgorithmParameters.Template.Signature.Security_Level
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlgorithmParameters.Template.Signature.Security_Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HIGH
For long time security, the quantum safe algorithm SPHINCS+ is used, optimized for fast execution. -
MEDIUM
For medium security, RSA with a keylength of 4096 bit is used. -
LOW
For low security, RSA with a keylength of 2048 bit is used.
-
-
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
-
getParameters
Get the parameters for the chosen template.- Returns:
- The parameters.
-