LegacyEncryptedFileKeyStore
class LegacyEncryptedFileKeyStore(identifier: String, aliasName: String = ORG_FORGEROCK_V_1_KEY_STORE_MASTER_KEY_ALIAS)
Provides access to encrypted file-based key stores created by the Legacy SDK.
This class manages encrypted files that store cryptographic keys or sensitive data from the Legacy SDK. It acts as a wrapper around LegacyEncryptedFile to provide convenient methods for reading, checking existence, and deleting legacy encrypted key store files during migration.
The Legacy SDK stored application pin authentication keys in encrypted files within the app's internal storage directory. This class provides the necessary abstraction to:
Read the encrypted key data for migration to the new storage format
Check if a legacy key store exists before attempting migration
Clean up legacy files after successful migration