我在C++中使用openssl,将PrivateKey和PublicKey文件内容复制到两个const char*,但我看到api的演示只是从pem文件获取pem公钥/私钥,所以如何从中获取公钥/私钥一个字符串?
c++ string openssl pem private-key
c++ ×1
openssl ×1
pem ×1
private-key ×1
string ×1