Package com.exoscale.sdk.model
Enum EncryptRequest.EncryptionAlgorithmEnum
java.lang.Object
java.lang.Enum<EncryptRequest.EncryptionAlgorithmEnum>
com.exoscale.sdk.model.EncryptRequest.EncryptionAlgorithmEnum
- All Implemented Interfaces:
Serializable,Comparable<EncryptRequest.EncryptionAlgorithmEnum>,java.lang.constant.Constable
- Enclosing class:
- EncryptRequest
public static enum EncryptRequest.EncryptionAlgorithmEnum
extends Enum<EncryptRequest.EncryptionAlgorithmEnum>
The encryption algorithm this key must use. Validated against the key's actual cryptographic profile. Required for asymmetric keys. Symmetric keys use AES_256 when it is omitted.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
AES_256
-
RSAES_OAEP_SHA_256
-
-
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<EncryptRequest.EncryptionAlgorithmEnum>
-
fromValue
-