public enum

EncryptedSharedPreferences.PrefValueEncryptionScheme

extends java.lang.Enum<EncryptedSharedPreferences.PrefValueEncryptionScheme>

 java.lang.Object

↳java.lang.Enum<EncryptedSharedPreferences.PrefValueEncryptionScheme>

↳androidx.security.crypto.EncryptedSharedPreferences.PrefValueEncryptionScheme

Overview

The encryption scheme to encrypt values.

Summary

Enum Constants
AES256_GCMPref values are encrypted with AES256-GCM.
Methods
public static EncryptedSharedPreferences.PrefValueEncryptionSchemevalueOf(java.lang.String name)

public static EncryptedSharedPreferences.PrefValueEncryptionSchemevalues()

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_GCM

Pref values are encrypted with AES256-GCM. The associated data is the encrypted pref key.

For more information please see the Tink documentation:

AesGcmKeyManager.aes256GcmTemplate()

Methods

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