public enum

EncryptedSharedPreferences.PrefKeyEncryptionScheme

extends java.lang.Enum<EncryptedSharedPreferences.PrefKeyEncryptionScheme>

 java.lang.Object

↳java.lang.Enum<EncryptedSharedPreferences.PrefKeyEncryptionScheme>

↳androidx.security.crypto.EncryptedSharedPreferences.PrefKeyEncryptionScheme

Overview

The encryption scheme to encrypt keys.

Summary

Enum Constants
AES256_SIVPref keys are encrypted deterministically with AES256-SIV-CMAC (RFC 5297).
Methods
public static EncryptedSharedPreferences.PrefKeyEncryptionSchemevalueOf(java.lang.String name)

public static EncryptedSharedPreferences.PrefKeyEncryptionSchemevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

AES256_SIV

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

For more information please see the Tink documentation:

AesSivKeyManager.aes256SivTemplate()

Methods

public static EncryptedSharedPreferences.PrefKeyEncryptionScheme valueOf(java.lang.String name)