Enum AlgorithmParameters.Template.Symmetric_Encryption.Security_Level
java.lang.Object
java.lang.Enum<AlgorithmParameters.Template.Symmetric_Encryption.Security_Level>
de.hda.fbi.ucs.eucrite.parameters.AlgorithmParameters.Template.Symmetric_Encryption.Security_Level
- All Implemented Interfaces:
Serializable
,Comparable<AlgorithmParameters.Template.Symmetric_Encryption.Security_Level>
,java.lang.constant.Constable
- Enclosing interface:
- AlgorithmParameters.Template.Symmetric_Encryption
public static enum AlgorithmParameters.Template.Symmetric_Encryption.Security_Level extends Enum<AlgorithmParameters.Template.Symmetric_Encryption.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
Enum Constants Enum Constant Description HIGH
These template uses AES in GCM mode with a key length of 256 and provides very good security.LOW
These template uses AES in GCM mode with a key length of 128 and provides basic security.MEDIUM
These template uses AES in GCM mode with a key length of 256 and provides good security. -
Method Summary
Modifier and Type Method Description AlgorithmParameters
getParameters()
Get the parameters for the chosen template.static AlgorithmParameters.Template.Symmetric_Encryption.Security_Level
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlgorithmParameters.Template.Symmetric_Encryption.Security_Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HIGH
These template uses AES in GCM mode with a key length of 256 and provides very good security. -
MEDIUM
These template uses AES in GCM mode with a key length of 256 and provides good security. -
LOW
These template uses AES in GCM mode with a key length of 128 and provides basic security.
-
-
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
public static AlgorithmParameters.Template.Symmetric_Encryption.Security_Level valueOf(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:
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.
-