openssl_pkcs12_export_to_file
(PHP 5 >= 5.2.2, PHP 7, PHP 8)
openssl_pkcs12_export_to_file — 輸出一個 PKCS#12 相容的證書儲存檔案
說明
openssl_pkcs12_export_to_file(
mixed
string
mixed
string
array
): bool
mixed
$x509,string
$filename,mixed
$priv_key,string
$pass,array
$args = ?): bool
openssl_pkcs12_export_to_file() 函式以 PKCS#12 格式將 x509 儲存至檔名為 filename 的檔案中。
參數
返回值
成功時返回 true, 或者在失敗時返回 false。