EncryptedFile.FileEncryptionScheme

public static final enum EncryptedFile.FileEncryptionScheme
extends Enum<EncryptedFile.FileEncryptionScheme>

java.lang.Object
   ↳ java.lang.Enum<androidx.security.crypto.EncryptedFile.FileEncryptionScheme>
     ↳ androidx.security.crypto.EncryptedFile.FileEncryptionScheme


The encryption scheme to encrypt files.

Summary

Enum values

EncryptedFile.FileEncryptionScheme  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 valueOf(String name)
static final FileEncryptionScheme[] values()

Inherited methods

Enum values

AES256_GCM_HKDF_4KB

public static final 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: StreamingAeadKeyTemplates.AES256_GCM_HKDF_4KB

Public methods

valueOf

public static EncryptedFile.FileEncryptionScheme valueOf (String name)

Parameters
name String

Returns
EncryptedFile.FileEncryptionScheme

values

public static final FileEncryptionScheme[] values ()

Returns
FileEncryptionScheme[]