Package 

Class EncryptedFileKt

    • Method Summary

      Modifier and Type Method Description
      final static EncryptedFile EncryptedFile(Context context, File file, MasterKey masterKey, EncryptedFile.FileEncryptionScheme fileEncryptionScheme, String keysetPrefName, String keysetAlias) Creates an EncryptedFile
      • Based on EncryptedFile.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

      • EncryptedFile

         final static EncryptedFile EncryptedFile(Context context, File file, MasterKey masterKey, EncryptedFile.FileEncryptionScheme fileEncryptionScheme, String keysetPrefName, String keysetAlias)

        Creates an EncryptedFile

        • Based on EncryptedFile.kt from AndroidX Crypto Ktx - v1.1.0-alpha07

        • Permalink: e50caac

        Parameters:
        context - The context to work with.
        file - The backing File.
        masterKey - The MasterKey that should be used.
        fileEncryptionScheme - The FileEncryptionScheme to use, defaulting to FileEncryptionScheme.AES256_GCM_HKDF_4KB.
        keysetPrefName - The SharedPreferences file to store the keyset for this EncryptedFile.
        keysetAlias - The alias in the SharedPreferences file to store the keyset for this EncryptedFile.