public enum

EncryptedFile.FileEncryptionScheme

extends java.lang.Enum<EncryptedFile.FileEncryptionScheme>

 java.lang.Object

↳java.lang.Enum<EncryptedFile.FileEncryptionScheme>

↳androidx.security.crypto.EncryptedFile.FileEncryptionScheme

Overview

The encryption scheme to encrypt files.

Summary

Enum Constants
AES256_GCM_HKDF_4KBThe file content is encrypted using StreamingAead with AES-GCM, with the file name as associated data.
Methods
public static EncryptedFile.FileEncryptionSchemevalueOf(java.lang.String name)

public static EncryptedFile.FileEncryptionSchemevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

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

Methods

public static EncryptedFile.FileEncryptionScheme values()

public static EncryptedFile.FileEncryptionScheme valueOf(java.lang.String name)