= 4.2.0, PHP 5, PHP 7, PHP 8)openssl_x509_export_to_file — 導(dǎo)出證書至文件說明openssl_x509_export_to_file(mixed $x509, string">
  • <tfoot id="b7hvb"><label id="b7hvb"></label></tfoot>
  • <code id="b7hvb"><dl id="b7hvb"><noframes id="b7hvb"></noframes></dl></code>

    openssl_x509_export_to_file

    (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

    openssl_x509_export_to_file導(dǎo)出證書至文件

    說明

    openssl_x509_export_to_file(mixed $x509, string $outfilename, bool $notext = true): bool

    openssl_x509_export_to_file()x509 以PEM編碼的格式保存到名為 outfilename 的文件中。

    參數(shù)

    x509

    參見密鑰/證書參數(shù)以獲取有效值列表。

    outfilename

    輸出文件的路徑。

    notext

    可選參數(shù) notext 影響輸出的冗余度。如果設(shè)為 false,輸出內(nèi)容將包含附加的人類可讀信息。notext 的缺省值為 true

    返回值

    成功時返回 true, 或者在失敗時返回 false。