openssl_x509_export_to_file

 bool openssl_x509_export_to_file ( mixed $x509 , string $outfilename [, bool $notext = TRUE ] ) 

説明

openssl_x509_export_to_file() stores x509 into a file named by outfilename in a PEM encoded format.

戻り値

Returns TRUE on success or FALSE on failure.