EncryptedFile.FileEncryptionScheme

public 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 methods

static EncryptedFile.FileEncryptionScheme

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

static EncryptedFile.FileEncryptionScheme[]

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

Enum Values

AES256_GCM_HKDF_4KB

EncryptedFile.FileEncryptionScheme EncryptedFile.FileEncryptionScheme.AES256_GCM_HKDF_4KB

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 methods

valueOf

Added in 1.0.0
public static EncryptedFile.FileEncryptionScheme 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.)

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
public static EncryptedFile.FileEncryptionScheme[] 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.

Returns
EncryptedFile.FileEncryptionScheme[]

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