Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31353 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12476 invoked by uid 1010); 1 Aug 2007 13:35:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 12454 invoked from network); 1 Aug 2007 13:35:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2007 13:35:51 -0000 Authentication-Results: pb1.pair.com header.from=david.coallier@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=david.coallier@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.184.224 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: david.coallier@gmail.com X-Host-Fingerprint: 64.233.184.224 wr-out-0506.google.com Linux 2.4/2.6 Received: from [64.233.184.224] ([64.233.184.224:20218] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/A5-39533-33C80B64 for ; Wed, 01 Aug 2007 09:35:49 -0400 Received: by wr-out-0506.google.com with SMTP id i23so47809wra for ; Wed, 01 Aug 2007 06:35:43 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=HwURs0cdvfivLuE1lyh3PxRIJy3cTySzEUS4ank+lwMOsgmROVTDmYIDoxVAwiDaEQO4mGYNTLdimPKb9LSIBaucDNThJCrESeeTdoRgth/4YQGVgIOhUGCsiiT7BcqKFxRmzoMtwmlkD1ZadXLDq3c5T/3MFaP98hGT+CAGVAo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=P6ocRwfkKs/yEpQFLHcyX0nRPCNfHlKDxrr9SzpurEDV5CBcfsaYwRpTw6/osLesqRHGAFWlo/Q10CGxBoRfQWdIwpQgSfd/qkcWLuE+4WrBqIvqBL7AhqJI4VrDX7WUP1GW1q8t996oEt6jrrAoBKNliltlzbhM54M9Fn1opxg= Received: by 10.90.52.18 with SMTP id z18mr438531agz.1185975342936; Wed, 01 Aug 2007 06:35:42 -0700 (PDT) Received: by 10.90.96.12 with HTTP; Wed, 1 Aug 2007 06:35:42 -0700 (PDT) Message-ID: Date: Wed, 1 Aug 2007 09:35:42 -0400 Sender: david.coallier@gmail.com To: "Rob Richards" Cc: "Dmitry Stogov" , internals@lists.php.net In-Reply-To: <46B07877.9020609@ctindustries.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <002b01c7d419$e6914720$6e02a8c0@thinkpad> <46B07877.9020609@ctindustries.net> X-Google-Sender-Auth: e0893c0c2fc8950b Subject: Re: [PHP-DEV] Ext/OpenSSL patch From: davidc@php.net ("David Coallier") On 8/1/07, Rob Richards wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Awesome work Dmitry, thanks! :) -- David Coallier, Founder & Software Architect, Agora Production (http://agoraproduction.com) 51.42.06.70.18