[英]How many keys can be stored in the iOS Secure Enclave?
Is there a limit to the number of keys I can store in the iOS Secure Enclave?我可以在 iOS Secure Enclave 中存储的密钥数量是否有限制?
I have read Apple's documentation about the Secure Enclave (with a lot of associated pages) and also Apple'sdocument about security , but I haven't found anything about the Secure Enclave's capacity.我已经阅读了 Apple 关于 Secure Enclave的文档(有很多相关页面)以及 Apple关于 security的文档,但是我没有找到关于 Secure Enclave 容量的任何信息。
I have tried to generate 1025 key pairs to try the Secure Enclave's capacity.我尝试生成 1025 个密钥对来尝试 Secure Enclave 的容量。 Around number 400 I started to receive an error.大约在 400 号左右,我开始收到错误消息。
So I think, there sa limit.所以我认为,有一个限制。 But right now I can not say if it is a size limit or quantity limit.但现在我不能说这是尺寸限制还是数量限制。
According UserDefaults and other *.plist.根据 UserDefaults 和其他 *.plist。
From iOS SDK codes, and related Apple official document..来自iOS SDK代码,以及相关的苹果官方文档..
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
// ....
}
Summary概括
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.