ios - ios 中的钥匙串(keychain)是线程安全的吗?

标签 ios thread-safety keychain keychainitemwrapper

我想使用“secitemadd”向钥匙串(keychain)添加一些项目,但我首先需要知道这是否是线程安全的。

我已阅读documentation来自苹果,但我找不到任何地方说明它是否线程安全。

最佳答案

在另一个文档中,Apple 说它是线程安全的。

Concurrency Considerations
On iOS, all the functions in this API are thread-safe and reentrant.

参见 Certificate, Key, and Trust Services Reference

关于ios - ios 中的钥匙串(keychain)是线程安全的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30169879/

相关文章:

ios - NSPredicate 获取具有两个一对多关系的实体

iphone - 我在 UIView 中的图像似乎比在启动画面中大

ios - 谁应该负责显示带有登录表单的模式对话框?

multithreading - 互斥锁如何知道要锁定哪些数据(以及不锁定哪些数据)?

java - Guava 库 : is Iterators. cycle() 线程安全?

ios - react native iOS 深度链接;如何在 url 中使用 `@` 字符

c++ - 使用 shared_ptr 的内部指针的操作是原子的吗?

iphone - SecItemAdd 创建两个身份

iphone - 钥匙串(keychain)警告 “System Roots” 钥匙串(keychain)无法修改

ios - 用于访问 iOS 钥匙串(keychain)密码的 errSecDefault