Re: Ext/OpenSSL patch
| From: | Rob Richards | Date: | Wed, 01 Aug 2007 12:11:35 +0000 |
| Subject: | Re: Ext/OpenSSL patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31352@lists.php.net to get a copy of this message | ||
Hi Dmitry,
Dmitry Stogov wrote:
Hi, I propose a patch for ext/openssl that extends support for crypto API. - it provides access to openSSL digest functions function openssl_get_md_methods(); function openssl_digest(string $data, string $method [, bool $raw]); - it provides access to openSSL digest functions function openssl_get_cipher_methods(); function openssl_encrypt(string $data, string $method, $string $password [, bool $raw]); function openssl_decrypt(string $data, string $method, $string $password [, bool $raw]); - It extends existing functions openssl_pkey_new() and openssl_pkey_get_details() to access internal values of DSA, RSA and DH keys. For example you can create DH key and then access its internal values using the following code:... I would like to see this committed. I really could use this for some XML Sec functionality. Rob