Package 

Class EncryptedSharedPreferencesKt

    • Method Summary

      Modifier and Type Method Description
      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

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.