Enum EncryptionMode
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum EncryptionMode extends Enum<EncryptionMode>
Encryption/Decryption mode to be used when an image is loaded/saved.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
EncryptionMode.Companion
-
Enum Constant Summary
Enum Constants Enum Constant Description REQUIRED
Encryption/Decryption is used when loading/saving an image. A crypting provider must first be set using
ImageRef.setStorageCryptingProvider
. If no provider is set, the loading/saving operation will fail.DISABLED
Encryption/Decryption is not used when loading/saving an image.
IF_AVAILABLE
Encryption/Decryption is used when loading/saving an image if a crypting provider is set using
ImageRef.setStorageCryptingProvider
.
-
Method Summary
Modifier and Type Method Description final String
toJson()
final EncryptionMode
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<EncryptionMode>
values()
Returns an array containing the constants of this enum type, in the order they're declared.
-
-
-
Method Detail
-
valueOf
final EncryptionMode valueOf(String value)
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.)
-
values
final Array<EncryptionMode> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
-