openssl_pkcs12_export PKCS#12 兼容证书存储文件导出到变量 &reftitle.description; boolopenssl_pkcs12_export OpenSSLCertificatestringcertificate stringoutput #[\SensitiveParameter]OpenSSLAsymmetricKeyOpenSSLCertificatearraystringprivate_key #[\SensitiveParameter]stringpassphrase arrayoptions[] openssl_pkcs12_exportPKCS#12 文件格式将 certificate 导入到名为 output 的字符串变量中。 &reftitle.parameters; &openssl.param.x509; output 成功,该字符串将为 PKCS#12 格式。 private_key PKCS#12 文件的私钥部分file, 参见 公/私钥参数 获取更多可用列表。 passphrase 用来解锁 PKCS#12 文件的解密密码。 options 可选数组,其他主键将被忽略。 Key &Description; "extracerts" PKCS#12 文件中包含的额外证书或单个证书的数组。 "friendly_name" 被证书和密钥使用的字符串 &reftitle.returnvalues; &return.success; &reftitle.changelog; &Version; &Description; 8.0.0 certificate 现在接受 OpenSSLCertificate 实例;之前接受类型 OpenSSL X.509 CSR 的 &resource;。 8.0.0 private_key 现在接受 OpenSSLAsymmetricKeyOpenSSLCertificate 实例;之前接受类型 OpenSSL keyOpenSSL X.509 的 &resource;。