-
public final class EncryptedFileKt
-
-
Method Summary
Modifier and Type Method Description final static EncryptedFileEncryptedFile(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
-
-
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- TheSharedPreferencesfile to store the keyset for this EncryptedFile.keysetAlias- The alias in theSharedPreferencesfile to store the keyset for this EncryptedFile.
-
-
-