In memory support for openssl_pkcs7_*
| From: | Paul van Brouwershaven | Date: | Thu, 15 Jul 2010 09:15:18 +0000 |
| Subject: | In memory support for openssl_pkcs7_* | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-49079@lists.php.net to get a copy of this message | ||
Hi,
The PHP functions openssl_pkcs7_(sign|encrypt|decrypt|verify) do require files to be executed. In
many cases this will create the unintended requirement of temporary files. In compare with
openssl_(sign|encrypt|decrypt|verify|...) which are doing almost the same thing this is a strange
behavior.
When we look at the purpose of openssl_pkcs7_* (working with digital signatures in mail), you would
not expect to work with files instead of strings for this few data.
Regards,
Paul