1

我使用 Apple 提供的 SecKeyWrapper 类为 RSA 生成了公钥。如何创建 PEM 文件以将此密钥保存在该文件中?我们有任何库或框架吗?

此致

4

1 回答 1

1
openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
chmod 700 id_rsa.pem
于 2017-09-07T19:42:52.337 回答