FidoUafClientiOS 1.0.0

FidoUafClientiOS 1.0.0

Frederic JahnHanko GmbH 维护。



  • Hanko GmbH

FIDO UAF Client & Authenticator

Hanko 为 iOS 提供的 FIDO UAF Client & Authenticator 组合。

支持的 UAF 版本: [1.1]

有关 FIDO UAF 的工作方式,更多信息请参阅 FIDO Alliance

重大变更

0.x.x -> 1.x.x

从 1.0.0 版本开始,keyIds 以不同的、不兼容的方式生成和存储。因此,之前生成的所有密钥都无法被认证器识别并可再使用。

安装

Carthage

要将 FidoUafClientiOS 集成到您的 Xcode 项目中使用 Carthage,请在您的 Cartfile 中指定它。

github "teamhanko/fidouafclientiOS" == 1.0.0

CocoaPods

使用 CocoaPods 将 FidoUafClientiOS 集成到您的 Xcode 项目中,请在您的 Podfile 中指定。

pod 'FidoUafClientiOS', '1.0.0'

配置

FidoUafClientiOS 使用面容识别,因此您必须在您的 Info.plist 中定义 NSFaceIDUsageDescription

操作提示

FidoUafClientiOS 在使用私钥时使用默认值来显示 kSecUseOperationPrompt。默认值已本地化为英语和德语。要覆盖默认值,只需将键 biomentryOperationPromptRegbiomentryOperationPromptAuth 添加到项目的 Localizable.strings 中。

注意:如果请求包含交易,则 biomentryOperationPromptAuth 将被交易内容覆盖。

基本用法

let uafMessage = UAFMessage(uafProtocolMessage: "<fido-uaf-request>")
FidoClient.process(uafMessage: uafMessage) { resultMessage, error in 
	// send resultMessage to your Fido-Server
}

许可协议

Copyright 2020 Hanko

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   https://apache.ac.cn/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.