cvs: pear /Crypt_GPG GPG.php /Crypt_GPG/GPG/Driver GnuPG.php Php.php

From: Date: Sun, 06 Apr 2008 07:04:37 +0000
Subject: cvs: pear /Crypt_GPG GPG.php /Crypt_GPG/GPG/Driver GnuPG.php Php.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-51816@lists.php.net to get a copy of this message
gauthierm Sun Apr 6 07:04:37 2008 UTC Modified files: /pear/Crypt_GPG GPG.php /pear/Crypt_GPG/GPG/Driver Php.php GnuPG.php Log: Documentation spelling and wording fixes.

http://cvs.php.net/viewvc.cgi/pear/Crypt_GPG/GPG.php?r1=1.18&r2=1.19&diff_format=u Index: pear/Crypt_GPG/GPG.php diff -u pear/Crypt_GPG/GPG.php:1.18 pear/Crypt_GPG/GPG.php:1.19 --- pear/Crypt_GPG/GPG.php:1.18 Sun Apr 6 06:32:10 2008 +++ pear/Crypt_GPG/GPG.php Sun Apr 6 07:04:37 2008 @@ -48,7 +48,7 @@ * @author Michael Gauthier <mike@silverorange.com> * @copyright 2005-2007 silverorange * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: GPG.php,v 1.18 2008/04/06 06:32:10 gauthierm Exp $ + * @version CVS: $Id: GPG.php,v 1.19 2008/04/06 07:04:37 gauthierm Exp $ * @link http://pear.php.net/package/Crypt_GPG * @link http://www.gnupg.org/ */ @@ -201,7 +201,7 @@ /** * Static factory method to create a new GPG object using the specified - * backend driver + * back-end driver * * This allows developers to write code using a standard interface and * optionally switch to a PECL-based implementation with minimal fuss at a @@ -217,7 +217,7 @@ * See documentation of a specific driver for * details on what options are available. * - * @return Crypt_GPG a GPG object powered by the speficied driver. + * @return Crypt_GPG a GPG object powered by the specified driver. */ public static function factory($driver = 'php', array $options = array()) { @@ -290,7 +290,7 @@ * The exported key remains on the keyring. To delete the public key, use * {@link Crypt_GPG::deletePublicKey()}. * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * public key is exported. * @@ -320,7 +320,7 @@ /** * Deletes a public key from the keyring * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * public key is deleted. * @@ -354,7 +354,7 @@ /** * Deletes a private key from the keyring * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * private key is deleted. * @@ -402,7 +402,7 @@ /** * Gets a key fingerprint from the keyring * - * If more than one key fingerprint is avaliable (for example, if you use + * If more than one key fingerprint is available (for example, if you use * a non-unique user id) only the first key fingerprint is returned. * * @param string $key_id either the full user id of the key, the email @@ -521,7 +521,7 @@ * used to sign the data. Only required if the * private key requires a passphrase. Specify * null for no passphrase. - * @param boolean $mode otional. The data signing mode to use. Should + * @param boolean $mode optional. The data signing mode to use. Should * be one of {@link Crypt_GPG::SIGN_MODE_NORMAL}, * {@link Crypt_GPG::SIGN_MODE_CLEAR} or * {@link Crypt_GPG::SIGN_MODE_DETACHED}. If not http://cvs.php.net/viewvc.cgi/pear/Crypt_GPG/GPG/Driver/Php.php?r1=1.26&r2=1.27&diff_format=u Index: pear/Crypt_GPG/GPG/Driver/Php.php diff -u pear/Crypt_GPG/GPG/Driver/Php.php:1.26 pear/Crypt_GPG/GPG/Driver/Php.php:1.27 --- pear/Crypt_GPG/GPG/Driver/Php.php:1.26 Sat Apr 5 22:44:55 2008 +++ pear/Crypt_GPG/GPG/Driver/Php.php Sun Apr 6 07:04:37 2008 @@ -32,7 +32,7 @@ * @author Michael Gauthier <mike@silverorange.com> * @copyright 2005-2008 silverorange * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Php.php,v 1.26 2008/04/05 22:44:55 gauthierm Exp $ + * @version CVS: $Id: Php.php,v 1.27 2008/04/06 07:04:37 gauthierm Exp $ * @link http://pear.php.net/package/Crypt_GPG * @link http://www.gnupg.org/ */ @@ -355,7 +355,7 @@ * {@link Crypt_GPG::deletePublicKey()} or * {@link Crypt_GPG::deletePrivateKey()}. * - * Calls GPG with the --import option and provides GPG the key data to be + * Calls GPG with the --import command and provides GPG the key data to be * imported. * * @param string $data the key data to be imported. @@ -422,17 +422,17 @@ * The exported key remains on the keyring. To delete the public key, use * {@link Crypt_GPG::deletePublicKey()}. * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * public key is exported. * - * Calls GPG with the --export option. + * Calls GPG with the --export command. * * @param string $key_id either the full uid of the public key, the email * part of the uid of the public key or the key id of * the public key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * @param boolean $armor optional. If true, ASCII armored data is returned; * otherwise, binary data is returned. Defaults to * true. @@ -486,20 +486,20 @@ /** * Deletes a public key from the keyring * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * public key is deleted. * * The private key must be deleted first or an exception will be thrown. * See {@link Crypt_GPG::deletePrivateKey()}. * - * Calls GPG with the --delete-key option. + * Calls GPG with the --delete-key command. * * @param string $key_id either the full uid of the public key, the email * part of the uid of the public key or the key id of * the public key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * * @return void * @@ -553,17 +553,17 @@ /** * Deletes a private key from the keyring * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * private key is deleted. * - * Calls GPG with the --delete-secret-key option. + * Calls GPG with the --delete-secret-key command. * * @param string $key_id either the full uid of the private key, the email * part of the uid of the private key or the key id of * the private key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * * @return void * @@ -613,7 +613,7 @@ /** * Gets the available keys in the keyring * - * Calls GPG with the --list-keys option and grabs keys. See the first + * Calls GPG with the --list-keys command and grabs keys. See the first * section of doc/DETAILS in the * {@link http://www.gnupg.org/download/ GPG package} for a detailed * description of how the GPG command output is parsed. @@ -744,7 +744,7 @@ /** * Gets a key fingerprint from the keyring * - * If more than one key fingerprint is avaliable (for example, if you use + * If more than one key fingerprint is available (for example, if you use * a non-unique user id) only the first key fingerprint is returned. * * Calls the GPG --list-keys command with the --with-fingerprint option to @@ -754,7 +754,7 @@ * part of the user id of the key, or the key id of * the key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * @param integer $format optional. How the fingerprint should be formatted. * Use {@link Crypt_GPG::FORMAT_X509} for X.509 * certificate format, @@ -824,13 +824,6 @@ * Data is ASCII armored by default but may optionally be returned as * binary. * - * If this method throws a Crypt_GPG_MissingSelfSignatureException, the - * public key needs to be signed. Keys may be manually signed using the - * shell command: - * - * <code>gpg --sign-key <key-id> <named-user></code> - * Encrypts data - * * Calls GPG with the --encrypt command. * * @param string $key_id the full uid of the public key to use for @@ -1008,13 +1001,13 @@ * email part of the uid of the private key or * the key id of the private key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * @param string $data the data to be signed. * @param string $passphrase optional. The passphrase of the private key * used to sign the data. Only required if the * private key requires a passphrase. Specify * null for no passphrase. - * @param boolean $mode otional. The data signing mode to use. Should + * @param boolean $mode optional. The data signing mode to use. Should * be one of {@link Crypt_GPG::SIGN_MODE_NORMAL}, * {@link Crypt_GPG::SIGN_MODE_CLEAR} or * {@link Crypt_GPG::SIGN_MODE_DETACHED}. If not @@ -1121,7 +1114,7 @@ * message if the signed data is not clearsigned and does not have a * detached signature. * - * Calls GPG with the --verify option to verify signature data. + * Calls GPG with the --verify command to verify signature data. * * @param string $signed_data the signed data to be verified. * @param string $signature optional. If verifying data signed using a http://cvs.php.net/viewvc.cgi/pear/Crypt_GPG/GPG/Driver/GnuPG.php?r1=1.3&r2=1.4&diff_format=u Index: pear/Crypt_GPG/GPG/Driver/GnuPG.php diff -u pear/Crypt_GPG/GPG/Driver/GnuPG.php:1.3 pear/Crypt_GPG/GPG/Driver/GnuPG.php:1.4 --- pear/Crypt_GPG/GPG/Driver/GnuPG.php:1.3 Fri Mar 28 18:34:00 2008 +++ pear/Crypt_GPG/GPG/Driver/GnuPG.php Sun Apr 6 07:04:37 2008 @@ -51,7 +51,7 @@ * @author Michael Gauthier <mike@silverorange.com> * @copyright 2008 silverorange * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: GnuPG.php,v 1.3 2008/03/28 18:34:00 gauthierm Exp $ + * @version CVS: $Id: GnuPG.php,v 1.4 2008/04/06 07:04:37 gauthierm Exp $ * @link http://pear.php.net/package/Crypt_GPG * @link http://www.gnupg.org/ * @link http://php.net/gnupg/ @@ -245,7 +245,7 @@ * The exported key remains on the keyring. To delete the public key, use * {@link Crypt_GPG::deletePublicKey()}. * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * public key is exported. * @@ -256,7 +256,7 @@ * part of the uid of the public key or the key id of * the public key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * @param boolean $armor optional. If true, ASCII armored data is returned; * otherwise, binary data is returned. Defaults to * true. @@ -280,7 +280,7 @@ /** * Deletes a public key from the keyring * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * public key is deleted. * @@ -288,7 +288,7 @@ * part of the uid of the public key or the key id of * the public key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * * @return void * @@ -335,7 +335,7 @@ /** * Deletes a private key from the keyring * - * If more than one key fingerprint is avaliable for the specified + * If more than one key fingerprint is available for the specified * <i>$key_id</i> (for example, if you use a non-unique uid) only the first * private key is deleted. * @@ -347,7 +347,7 @@ * part of the uid of the private key or the key id of * the private key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * * @return void * @@ -423,14 +423,14 @@ /** * Gets a key fingerprint from the keyring * - * If more than one key fingerprint is avaliable (for example, if you use + * If more than one key fingerprint is available (for example, if you use * a non-unique user id) only the first key fingerprint is returned. * * @param string $key_id either the full user id of the key, the email * part of the user id of the key, or the key id of * the key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * @param integer $format optional. How the fingerprint should be formatted. * Use {@link Crypt_GPG::FORMAT_X509} for X.509 * certificate format, @@ -632,13 +632,13 @@ * email part of the uid of the private key or * the key id of the private key. For example, * "Test User (example) <test@example.com>", - * "test@example.com" or a hexidecimal string. + * "test@example.com" or a hexadecimal string. * @param string $data the data to be signed. * @param string $passphrase optional. The passphrase of the private key * used to sign the data. Only required if the * private key requires a passphrase. Specify * null for no passphrase. - * @param boolean $mode otional. The data signing mode to use. Should + * @param boolean $mode optional. The data signing mode to use. Should * be one of {@link Crypt_GPG::SIGN_MODE_NORMAL}, * {@link Crypt_GPG::SIGN_MODE_CLEAR} or * {@link Crypt_GPG::SIGN_MODE_DETACHED}. If not
« previous php.pear.cvs (#51816) next »