delete

fun delete(context: Context)

Deletes the legacy key store file from the file system.

This method should be called after successfully migrating the key data to the new storage format. It removes the encrypted file from the app's internal storage directory, helping to clean up legacy data and prevent confusion during subsequent migrations.

Note: This method does not delete the master key from the AndroidKeyStore. The master key cleanup is handled separately in the migration process.

Parameters

context

The Android context used to access the file system.