php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #60967 Parameter $args array structure is not descibed
Submitted: 2012-02-03 12:18 UTC Modified: 2017-11-03 19:53 UTC
Votes:5
Avg. Score:4.2 ± 0.7
Reproduced:4 of 5 (80.0%)
Same Version:1 (25.0%)
Same OS:1 (25.0%)
From: rihards dot grundmanis at gmail dot com Assigned: mjones (profile)
Status: Closed Package: OpenSSL related
PHP Version: Irrelevant OS: --
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rihards dot grundmanis at gmail dot com
New email:
PHP Version: OS:

 

 [2012-02-03 12:18 UTC] rihards dot grundmanis at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.openssl-pkcs12-export#refsect1-function.openssl-pkcs12-export-parameters
---

Parameter $args array structure is not descibed!

Please define this info, that there could be this kind of structure only (could save a lot of time googling to nonsense) :




Test script:
---------------
example:

[CODE]

$args = array(
               'extracerts' => $CAcert,
               'friendly_name' => 'My {ID} CA signed certificate'
              );
openssl_pkcs12_export($signed_csr, $cerificate_out, $private_key_resource, $passphrase, $args);

[/CODE]

Expected result:
----------------
--

Actual result:
--------------
--

Patches

documentation-sample (last revision 2012-02-03 12:23 UTC by rihards dot grundmanis at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 11:45 UTC] cmb@php.net
-Package: Documentation problem +Package: OpenSSL related
 [2017-11-03 19:53 UTC] mjones@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mjones
 [2017-11-03 19:53 UTC] mjones@php.net
Fixed in svn r342954 as of 2017-08-28
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 13:01:28 2024 UTC