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: AesGcmHkdfStreamingKeyManager.aes256GcmHkdf4KBTemplate()
Public methods
valueOf
public static EncryptedFile.FileEncryptionScheme valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
EncryptedFile.FileEncryptionScheme |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-15 UTC.