php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #72249 Add Support for PKCS7_get_signer_info
Submitted: 2016-05-20 21:34 UTC Modified: -
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:0 of 1 (0.0%)
From: tjg at ucsc dot edu Assigned:
Status: Open Package: OpenSSL related
PHP Version: 5.6.21 OS: FreeBSD 10.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
14 - 2 = ?
Subscribe to this entry?

 
 [2016-05-20 21:34 UTC] tjg at ucsc dot edu
Description:
------------
I'm working on implementing a PHP interface to the Comodo CA for personal S/MIME certificates.  The certificates are delivered via the Comodo API in PKCS7 format.  However, none of the available PKCS7 PHP functions return a list of signer certificates from a given PKCS7 blob.

The PKCS7_get_signer_info OpenSSL function seems to return an array of signer certificates.  It would be very helpful if PHP's OpenSSL implementation could include an implementation of PKCS7_get_signer_info that would return X509 certificate objects for each certificate included in the PKCS7 data.

Test script:
---------------
N/A


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 13:01:29 2024 UTC