openssl_csr_export_to_file

(PHP 4 >= 4.2.0, PHP 5)

openssl_csr_export_to_fileExports a CSR to a file

說明

bool openssl_csr_export_to_file ( resource $csr , string $outfilename [, bool $notext = true ] )

openssl_csr_export_to_file() takes the Certificate Signing Request represented by csr and saves it as ascii-armoured text into the file named by outfilename.

參數

csr

outfilename

Path to the output file.

notext

可選參數 notext 影響輸出的資訊詳細度。如果設為 FALSE,輸出內容將包含附加的人類可讀訊息。notext 的預設值為 TRUE

回傳值

如果成功則回傳 TRUE,失敗則回傳 FALSE

參見

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top