downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

openssl_pkcs12_export> <openssl_open
[edit] Last updated: Fri, 25 May 2012

view this page in

openssl_pkcs12_export_to_file

(PHP 5 >= 5.2.2)

openssl_pkcs12_export_to_filePKCS#12 互換の証明書保存ファイルをエクスポートする

説明

bool openssl_pkcs12_export_to_file ( mixed $x509 , string $filename , mixed $priv_key , string $pass [, array $args ] )

openssl_pkcs12_export_to_file() は、 x509 をファイル filename に PKCS#12 フォーマットで保存します。

パラメータ

x509

使用できる値の一覧は キー/証明書パラメータ を参照ください。

filename

出力ファイルへのパス。

priv_key

PKCS#12 ファイルのプライベートキーコンポーネント。

pass

PKCS#12 ファイルのロックを解除するためのパスワード。

args

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes openssl_pkcs12_export_to_file
lampacz at gmail dot com 02-Jul-2009 01:13
[, array $args ]  can contain only: extracerts, friendly_name

extracerts - additional certificates (can be file or string)
friendly_name - "friendly name" for the certificate and private key. This name is typically displayed in list boxes by software importing the file.

based on source code version 5.2.8 and pkcs12 man page

 
show source | credits | sitemap | contact | advertising | mirror sites