SecureEnclaveCrypto:在iOS上使用Secure Enclave的演示库

上传者: 42115513 | 上传时间: 2023-06-06 17:42:27 | 文件大小: 268KB | 文件类型: ZIP
SecureEnclaveCrypto 该项目向您展示了如何 创建一个密钥对,其中私钥存储在安全区域中 用私钥签名字符串/一些数据 在Swift 3和Objective-C中使用安全功能,例如SecKeyRawVerify,SecKeyGeneratePair和SecItemCopyMatching 将公钥存储在钥匙串中 苹果在iOS 9中悄悄发布了一个新的API( kSecAttrTokenIDSecureEnclave ),允许开发人员创建和使用直接存储在Secure Enclave中的密钥(请参阅从幻灯片195开始的“”)。 通过使应用程序能够使用安全存储在iOS外部且远离任何潜在恶意软件的私钥,此功能为安全性开辟了无限可能。 我们在发布该API后不久就尝试使用该API,发现缺少该API:所需属性完全未记录,密钥格式与OpenSSL不兼容,Apple甚至没有说明使用了什么密码套件(它是 )。 此存储库中的代码试图通过围绕Secure Enclave Crypto API提供易于使用的包装器来解决这些问题。 给我看代码 因此,该项目包含两个代码库,一个在(来自 ),另一个在,

文件下载

资源详情

[{"title":"( 34 个子文件 268KB ) SecureEnclaveCrypto:在iOS上使用Secure Enclave的演示库","children":[{"title":"SecureEnclaveCrypto-master","children":[{"title":"LICENSE <span style='color:#111;'> 11.08KB </span>","children":null,"spread":false},{"title":"key_builder.rb <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"SecureEnclaveObjective-C","children":[{"title":"KeyInterface","children":[{"title":"KeyInterface.m <span style='color:#111;'> 8.19KB </span>","children":null,"spread":false},{"title":"KeyInterface.h <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 935B </span>","children":null,"spread":false},{"title":"Example Project","children":[{"title":"sep-example","children":[{"title":"Assets.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main.m <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"AppDelegate.h <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"AppDelegate.m <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"LaunchScreen.storyboard <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"Main.storyboard <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":false},{"title":"ViewController.h <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"ViewController.m <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"sep-example.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 156B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 12.44KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"SecureEnclaveSwift","children":[{"title":"SecureEnclaveDemoTests","children":[{"title":"SecureEnclaveDemoTests.swift <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 680B </span>","children":null,"spread":false}],"spread":true},{"title":"SecureEnclaveDemo.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 162B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 17.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"SecureEnclaveDemo","children":[{"title":"ViewController.swift <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"Assets.xcassets","children":[{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Base.lproj","children":[{"title":"LaunchScreen.storyboard <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"Main.storyboard <span style='color:#111;'> 12.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"screenshot.png <span style='color:#111;'> 239.69KB </span>","children":null,"spread":false},{"title":"AppDelegate.swift <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"SecureEnclaveDemo.entitlements <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"Info.plist <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"Manager.swift <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"SecureEnclaveHelper.swift <span style='color:#111;'> 11.05KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明