Crypt_GPG
[ class tree: Crypt_GPG ] [ index: Crypt_GPG ] [ all elements ]

Class: Crypt_GPG_BadPassphraseException

Source Location: /Crypt_GPG-1.4.0b4/Crypt/GPG/Exceptions.php

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_BadPassphraseException

An exception thrown when a required passphrase is incorrect or missing


Author(s):

Copyright:

  • 2006-2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 334]
An exception thrown when a required passphrase is incorrect or missing


[ Top ]


Method Detail

__construct (Constructor)   [line 369]

Crypt_GPG_BadPassphraseException __construct( string $message, [integer $code = 0], [ $badPassphrases = array()], [ $missingPassphrases = array()])

Creates a new Crypt_GPG_BadPassphraseException
  • Access: public

Parameters:

string   $message     an error message.
integer   $code     a user defined error code.
string   $badPassphrases     an array containing user ids of keys for which the passphrase is incorrect.
string   $missingPassphrases     an array containing user ids of keys for which the passphrase is missing.

[ Top ]

getBadPassphrases   [line 388]

array getBadPassphrases( )

Gets keys for which the passhprase is incorrect
  • Return: an array of keys for which the passphrase is incorrect. The array contains primary user ids indexed by the sub-key id.
  • Access: public

[ Top ]

getMissingPassphrases   [line 403]

array getMissingPassphrases( )

Gets keys for which the passhprase is missing
  • Return: an array of keys for which the passphrase is missing. The array contains primary user ids indexed by the sub-key id.
  • Access: public

[ Top ]


Documentation generated on Wed, 13 Mar 2013 18:30:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.