diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-30 11:24:31 +0200 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2017-06-22 20:36:23 +0100 |
commit | 787a18a50a4863874dcf805974ba609efdd9950f (patch) | |
tree | 456ce362dbc5ae9b4fc5a7169c42b1e54c9cc614 /ext/openssl/php_openssl.h | |
parent | d09edf7b34ffc2b6b90eb25e75e18070c38aab1d (diff) | |
download | php-git-787a18a50a4863874dcf805974ba609efdd9950f.tar.gz |
Add openssl_pkcs7_read and output P7B in openssl_pkcs7_verify
Add an optional argument to openssl_pkcs7_verify to save the P7B
structure which can contain extra CA intermediate certificates send
along with an S/MIME signed email.
Introduce a new function called openssl_pkcs7_read, which can read a
PKCS#7 structure passed as a string and returns by reference an array
with PEM certificates formatted as a string.
Diffstat (limited to 'ext/openssl/php_openssl.h')
-rw-r--r-- | ext/openssl/php_openssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/php_openssl.h b/ext/openssl/php_openssl.h index 08f240e8e4..14a194c7e6 100644 --- a/ext/openssl/php_openssl.h +++ b/ext/openssl/php_openssl.h @@ -97,6 +97,7 @@ PHP_FUNCTION(openssl_pkcs7_verify); PHP_FUNCTION(openssl_pkcs7_decrypt); PHP_FUNCTION(openssl_pkcs7_sign); PHP_FUNCTION(openssl_pkcs7_encrypt); +PHP_FUNCTION(openssl_pkcs7_read); PHP_FUNCTION(openssl_error_string); |