EncryptedSharedPreferences.PrefKeyEncryptionScheme

Added in 1.0.0
Deprecated in 1.1.0

enum EncryptedSharedPreferences.PrefKeyEncryptionScheme


The encryption scheme to encrypt keys.

Summary

Enum Values

AES256_SIV

This enum value is deprecated. Deprecated in Java

Public functions

java-static EncryptedSharedPreferences.PrefKeyEncryptionScheme!
valueOf(name: String!)

This function is deprecated. Deprecated in Java

java-static Array<EncryptedSharedPreferences.PrefKeyEncryptionScheme!>!

This function is deprecated. Deprecated in Java

Enum Values

AES256_SIV

val EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV: EncryptedSharedPreferences.PrefKeyEncryptionScheme

Pref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297).

For more information please see the Tink documentation:

AesSivKeyManager.aes256SivTemplate()

Public functions

valueOf

Added in 1.0.0
Deprecated in 1.1.0
java-static fun valueOf(name: String!): EncryptedSharedPreferences.PrefKeyEncryptionScheme!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
EncryptedSharedPreferences.PrefKeyEncryptionScheme!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0
Deprecated in 1.1.0
java-static fun values(): Array<EncryptedSharedPreferences.PrefKeyEncryptionScheme!>!

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<EncryptedSharedPreferences.PrefKeyEncryptionScheme!>!

an array containing the constants of this enum type, in the order they're declared