EncryptedSharedPreferences.PrefKeyEncryptionScheme
public
static
final
enum
EncryptedSharedPreferences.PrefKeyEncryptionScheme
extends Enum<EncryptedSharedPreferences.PrefKeyEncryptionScheme>
java.lang.Object | ||
↳ | java.lang.Enum<androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme> | |
↳ | androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme |
The encryption scheme to encrypt keys.
Summary
Enum values | |
---|---|
EncryptedSharedPreferences.PrefKeyEncryptionScheme |
AES256_SIV
Pref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297). |
Public methods | |
---|---|
static
EncryptedSharedPreferences.PrefKeyEncryptionScheme
|
valueOf(String name)
|
static
final
PrefKeyEncryptionScheme[]
|
values()
|
Inherited methods | |
---|---|
Enum values
AES256_SIV
public static final EncryptedSharedPreferences.PrefKeyEncryptionScheme AES256_SIV
Pref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297). For more information please see the Tink documentation: AesSivKeyManager.aes256SivTemplate()
Public methods
valueOf
public static EncryptedSharedPreferences.PrefKeyEncryptionScheme valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
EncryptedSharedPreferences.PrefKeyEncryptionScheme |
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-21 UTC.