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-07-12 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]