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_read> <openssl_pkcs12_export_to_file
[edit] Last updated: Fri, 23 Mar 2012

view this page in

openssl_pkcs12_export

(PHP 5 >= 5.2.2)

openssl_pkcs12_exportPKCS#12 uyumlu sertifika deposu dosyasını bir değişkene yerleştirir

Açıklama

bool openssl_pkcs12_export ( mixed $x509 , string &$çıktı , mixed $gizli_anahtar , string $parola [, array $değiştirgeler ] )

Belitilen x509 sertifikalarını, PKCS#12 dosya biçemiyle belirtilen çıktı dizgesine yerleştirir.

Değiştirgeler

x509

çıktı

İşlem başarılı olursa PKCS#12 bu değiştirgeye konur.

gizli_anahtar

PKCS#12 dosyasını şifrelemek için gizli anahtar.

parola

PKCS#12 dosyasının şifreleme/çözme parolası.

değiştirgeler

Dönen Değerler

Başarı durumunda TRUE, başarısızlık durumunda FALSE döner.



add a note add a note User Contributed Notes openssl_pkcs12_export
mryom 29-Mar-2011 05:01
Example:

<?php
$key
= openssl_pkey_get_private(Private_Key, Password);

openssl_pkcs12_export(Certificate, $iis, $key, Password);
?>
simoncpu was here 10-May-2010 08:28
If your certificate is not password-protected, just use null or a blank string.  Otherwise, this function won't work.

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