note 86683 added to function.openssl-pkey-get-public

From: Date: Wed, 29 Oct 2008 17:43:47 +0000
Subject: note 86683 added to function.openssl-pkey-get-public
Groups: php.notes 
Request: Send a blank email to php-notes+get-145942@lists.php.net to get a copy of this message
openssl_pkey_get_public can obviously also be used with a PEM formatted public key as in : <?php $pub_key = openssl_pkey_get_public(file_get_contents('public.pem')); ?> May be option 3 in the description of the certificate parameter is just a typo an should be read : 3. a PEM formatted public key. instead of : 3. a PEM formatted private key. ---- Server IP: 69.147.83.197 Probable Submitter: 147.210.73.217 ---- Manual Page -- http://www.php.net/manual/en/function.openssl-pkey-get-public.php Edit -- https://master.php.net/note/edit/86683 Del: integrated -- https://master.php.net/note/delete/86683/integrated Del: useless -- https://master.php.net/note/delete/86683/useless Del: bad code -- https://master.php.net/note/delete/86683/bad+code Del: spam -- https://master.php.net/note/delete/86683/spam Del: non-english -- https://master.php.net/note/delete/86683/non-english Del: in docs -- https://master.php.net/note/delete/86683/in+docs Del: other reasons-- https://master.php.net/note/delete/86683 Reject -- https://master.php.net/note/reject/86683 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#145942) next »