Register now for Android Dev Summit 2019!

PrefKeyEncryptionScheme

class PrefKeyEncryptionScheme
kotlin.Any
   ↳ kotlin.Enum<androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme>
   ↳ androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme

The encryption scheme to encrypt keys.

Summary

Enum values

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

Enum values

AES256_SIV

enum val AES256_SIV : EncryptedSharedPreferences.PrefKeyEncryptionScheme

Pref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297). For more information please see the Tink documentation: DeterministicAeadKeyTemplates.AES256_SIV