getInstance

fun getInstance(context: Context, file: File, aliasName: String): EncryptedFile

Creates or retrieves an EncryptedFile instance configured to access Legacy SDK encrypted files.

This method recreates the exact encryption configuration used by the Legacy SDK, allowing the migration process to decrypt and read legacy data.