标签:
ios 使用public_key.der加密
php 使用 private_key.pem解密
openssl req -x509 -out public_key.der -outform der -new -newkey rsa:1024 -keyout private_key.pem
phrase:
countryName : CN
StateName:Zhejiang
CityName:
organizationName:
organizational Unit Name:
CommonName:
email address:
openssl rsa -in private_key.pem -pubout -out public_key.pem [----用于测试----]
ios php RSA 非对称加密解密 der 和pem生成
标签:
原文地址:http://www.cnblogs.com/the-moving-ear/p/4181921.html