*NSFileProtectionComplete* 到底是什么意思?

What exactly does *NSFileProtectionComplete* mean?

我正在查看 NSFileManager class 参考资料,我对 NSFileProtectionComplete 的含义有点困惑。 class 参考文献是这样说的:

The file is stored in an encrypted format on disk and cannot be read from or written to while the device is locked or booting.

这是否意味着文件以加密格式存储在磁盘上始终...无论设备是否设置了密码(或类似的安全机制)?

完全保护

(NSFileProtectionComplete):class 密钥受到从用户密码和设备 UID 派生的密钥的保护。用户锁定设备后不久(“请求代码”>“就绪”时 10 秒后),解密的 class 密钥将被丢弃,因此此 class 的所有数据都无法访问,直到用户再次输入代码或使用触摸 ID 解锁设备。

问:德语 https://www.apple.com/de/business/docs/iOS_Security_Guide.pdf

=> 因此解密密钥仅在设备保持解锁状态时有效