我可以在iOS Secure Enclave中存储的密钥数量有限制吗?
我读过苹果的documentation about the Secure Enclave (有很多相关页面)和苹果的document about security,但我没有发现任何关于Secure Enclave容量的东西。
发布于 2019-03-21 22:08:36
我已经尝试生成1025个密钥对来测试安全飞地的容量。大约在400左右,我开始收到一个错误。
所以我认为,这是有限度的。但现在我不能说它是大小限制还是数量限制。
发布于 2019-03-20 21:17:30
根据UserDefaults和其他*.plist。
来自iOS软件开发工具包的代码,以及相关的苹果官方文档。
extension UserDefaults {
/*!
NSUserDefaultsSizeLimitExceededNotification is posted on the main queue when
more data is stored in user defaults than is allowed. Currently there is no
limit for local user defaults except on tvOS, where a warning notification will
be posted at 512kB, and the process terminated at 1MB. For ubiquitous defaults,
the limit depends on the logged in iCloud user.
*/
@available(iOS 9.3, *)
public class let sizeLimitExceededNotification: NSNotification.Name
// ....
} 摘要
https://stackoverflow.com/questions/55261283
复制相似问题