首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >iOS Secure Enclave中可以存储多少个密钥?

iOS Secure Enclave中可以存储多少个密钥?
EN

Stack Overflow用户
提问于 2019-03-20 20:56:22
回答 2查看 565关注 0票数 5

我可以在iOS Secure Enclave中存储的密钥数量有限制吗?

我读过苹果的documentation about the Secure Enclave (有很多相关页面)和苹果的document about security,但我没有发现任何关于Secure Enclave容量的东西。

EN

回答 2

Stack Overflow用户

发布于 2019-03-21 22:08:36

我已经尝试生成1025个密钥对来测试安全飞地的容量。大约在400左右,我开始收到一个错误。

所以我认为,这是有限度的。但现在我不能说它是大小限制还是数量限制。

票数 5
EN

Stack Overflow用户

发布于 2019-03-20 21:17:30

根据UserDefaults和其他*.plist。

来自iOS软件开发工具包的代码,以及相关的苹果官方文档。

代码语言:javascript
复制
 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


// ....
}   

摘要

  • 当前对tvOS上的本地用户默认值
  • 没有限制,其中将在512kB处发布警告通知,并且进程在1MB处终止。
  • 对于无处不在的默认值,限制取决于登录的iCloud用户。
票数 -4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55261283

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档