iOS Platform & SwiftUI (50 Qs)•Part 1: SwiftUI Architecture, State & App Lifecycle (1 - 10)
What is the Secure Enclave on Apple Devices?
senior LevelLifecycleSystem Design
In Simple Words: A dedicated hardware-isolated security coprocessor separate from the main Apple Silicon CPU:
- Generates and stores private cryptographic keys (elliptic curve P-256).
- The private key never leaves the Secure Enclave! The main iOS operating system cannot read the private key.
- The main CPU requests the Secure Enclave to perform cryptographic operations (signing, decryption), which execute only after biometric verification (Face ID / Touch ID).