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

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提供易于使用的包装器来解决这些问题。给我看代码因此,该项目包含两个代码库,一个在(来自),另一个在,
zip
SecureEnclaveCrypto-master.zip 预估大小:34个文件
folder
SecureEnclaveCrypto-master 文件夹
file
LICENSE 11KB
file
key_builder.rb 2KB
file
.gitignore 1KB
file
README.md 2KB
folder
SecureEnclaveObjective-C 文件夹
folder
KeyInterface 文件夹
file
KeyInterface.m 8KB
file
KeyInterface.h 1KB
file
README.md 935B
folder
Example Project 文件夹
folder
sep-example 文件夹
folder
Assets.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 1KB
file
main.m 840B
file
AppDelegate.h 789B
file
AppDelegate.m 2KB
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 2KB
file
Main.storyboard 2KB
file
ViewController.h 726B
file
Info.plist 1KB
file
ViewController.m 1KB
folder
sep-example.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 156B
file
project.pbxproj 12KB
folder
SecureEnclaveSwift 文件夹
folder
SecureEnclaveDemoTests 文件夹
file
SecureEnclaveDemoTests.swift 1KB
file
Info.plist 680B
folder
SecureEnclaveDemo.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 162B
file
project.pbxproj 17KB
folder
SecureEnclaveDemo 文件夹
file
ViewController.swift 3KB
folder
Assets.xcassets 文件夹
folder
AppIcon.appiconset 文件夹
file
Contents.json 1KB
folder
Base.lproj 文件夹
file
LaunchScreen.storyboard 2KB
file
Main.storyboard 13KB
file
screenshot.png 240KB
file
AppDelegate.swift 3KB
file
SecureEnclaveDemo.entitlements 181B
file
Info.plist 1KB
file
Manager.swift 3KB
file
SecureEnclaveHelper.swift 11KB
file
.gitignore 21B
file
README.md 1KB
zip 文件大小:267.76KB