array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.openssl-x509-export-to-file.php', 1 => 'openssl_x509_export_to_file', ), 'up' => array ( 0 => 'ref.openssl.php', 1 => 'OpenSSL-Funktionen', ), 'prev' => array ( 0 => 'function.openssl-x509-checkpurpose.php', 1 => 'openssl_x509_checkpurpose', ), 'next' => array ( 0 => 'function.openssl-x509-export.php', 1 => 'openssl_x509_export', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'de', 'path' => 'reference/openssl/functions/openssl-x509-export-to-file.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
openssl_x509_export_to_file — Exportiert ein Zertifikat in eine Datei
$certificate
, string $output_filename
, bool $no_text
= true
): bool
openssl_x509_export_to_file() speichert ein
certificate
im PEM-kodierten
Format in einer Datei mit Namen output_filename
.
x509
Siehe Schlüssel-/Zertifikatsparameter für eine Auflistung der gültigen Werte.
output_filename
Pfad zur Ausgabe-Datei.
no_text
Der optionale Parameternotext
beinflusst die
Ausführlichkeit der Ausgabe. Wenn er auf false
gesetzt wird, werden
zusätzliche lesbare Informationen in die Ausgabe aufgenommen. Der
Vorgabewert für notext
ist true
.
Version | Beschreibung |
---|---|
8.0.0 |
certificate akzeptiert nun eine
OpenSSLCertificate-Instanz; vorher wurde eine
Ressource vom Typ OpenSSL X.509 akzeptiert.
|