-
public final class EncryptedSharedPreferencesKt
-
-
Method Summary
Modifier and Type Method Description final static SharedPreferencesEncryptedSharedPreferences(Context context, String fileName, MasterKey masterKey, EncryptedSharedPreferences.PrefKeyEncryptionScheme prefKeyEncryptionScheme, EncryptedSharedPreferences.PrefValueEncryptionScheme prefValueEncryptionScheme)Opens an instance of encrypted SharedPreferences Based on EncryptedSharedPreferences.kt from AndroidX Crypto Ktx - v1.1.0-alpha07
Permalink: e50caac
-
-
Method Detail
-
EncryptedSharedPreferences
final static SharedPreferences EncryptedSharedPreferences(Context context, String fileName, MasterKey masterKey, EncryptedSharedPreferences.PrefKeyEncryptionScheme prefKeyEncryptionScheme, EncryptedSharedPreferences.PrefValueEncryptionScheme prefValueEncryptionScheme)
Opens an instance of encrypted SharedPreferences
Based on EncryptedSharedPreferences.kt from AndroidX Crypto Ktx - v1.1.0-alpha07
Permalink: e50caac
- Parameters:
fileName- The name of the file to open; can not contain path separators.masterKey- The master key to use.prefKeyEncryptionScheme- The scheme to use for encrypting keys.prefValueEncryptionScheme- The scheme to use for encrypting values.
-
-
-