【发布时间】:2013-09-27 07:26:04
【问题描述】:
我使用 Apple 提供的 SecKeyWrapper 类为 RSA 生成了公钥。如何创建 PEM 文件以将此密钥保存在该文件中?我们有任何库或框架吗?
最好的问候
【问题讨论】:
标签: ios objective-c cryptography rsa pem
我使用 Apple 提供的 SecKeyWrapper 类为 RSA 生成了公钥。如何创建 PEM 文件以将此密钥保存在该文件中?我们有任何库或框架吗?
最好的问候
【问题讨论】:
标签: ios objective-c cryptography rsa pem
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
chmod 700 id_rsa.pem
【讨论】: