Android security implementation Phase 1 finalization part 1
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package studio.daybreak.mail
|
||||
|
||||
internal object AndroidVaultKeyPolicy {
|
||||
fun shouldCreateKey(hasEncryptedData: Boolean): Boolean = !hasEncryptedData
|
||||
|
||||
const val MISSING_KEY_MESSAGE =
|
||||
"The Android Keystore key for saved app data is missing. Existing encrypted data was not reset or replaced."
|
||||
}
|
||||
Reference in New Issue
Block a user