gpt4 book ai didi

ios - 从 Android 迁移到 iOS AWS IoT

转载 作者:行者123 更新时间:2023-12-01 16:14:19 28 4
gpt4 key购买 nike

我正在 iOS 上制作 IoT 客户端,但无法找到 Android 上存在的以下方法:

AWSIotKeystoreHelper.saveCertificateAndPrivateKey();
keystore = AWSIotKeystoreHelper.getIotKeystore();

我有一个 pem 格式的证书和私钥,我需要生成一个 keystore (iOS 上的钥匙串(keychain))

iOS SDK中是否有类似的方法?

最佳答案

您可以在适用于 iOS 的 AWS IoT 开发工具包中使用 AWSIoTKeyChain。您可以使用 addCertificate 将证书添加到钥匙串(keychain)中。 addCertificate 中描述的方法.添加证书后可以通过getIdentityRef获取基于 getIdentityRef 中描述的标签.

关于ios - 从 Android 迁移到 iOS AWS IoT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50019400/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com