EncryptedFile.FileEncryptionScheme


enum EncryptedFile.FileEncryptionScheme


The encryption scheme to encrypt files.

Summary

Enum Values

AES256_GCM_HKDF_4KB

The file content is encrypted using StreamingAead with AES-GCM, with the file name as associated data.

Public functions

java-static EncryptedFile.FileEncryptionScheme!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<EncryptedFile.FileEncryptionScheme!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

AES256_GCM_HKDF_4KB

val EncryptedFile.FileEncryptionScheme.AES256_GCM_HKDF_4KBEncryptedFile.FileEncryptionScheme

The file content is encrypted using StreamingAead with AES-GCM, with the file name as associated data.

For more information please see the Tink documentation:

AesGcmHkdfStreamingKeyManager.aes256GcmHkdf4KBTemplate()

Public functions

valueOf

Added in 1.0.0
java-static fun valueOf(name: String!): EncryptedFile.FileEncryptionScheme!

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.)

Returns
EncryptedFile.FileEncryptionScheme!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0
java-static fun values(): Array<EncryptedFile.FileEncryptionScheme!>!

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.

Returns
Array<EncryptedFile.FileEncryptionScheme!>!

an array containing the constants of this enum type, in the order they're declared