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

Class: Crypt_GPG_BadPassphraseException

Source Location: /Crypt_GPG-1.6.4/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 333]
An exception thrown when a required passphrase is incorrect or missing


[ Top ]


Method Detail

__construct (Constructor)   [line 368]

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

Creates a new Crypt_GPG_BadPassphraseException
  • Access: public

Parameters:

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

[ Top ]

getBadPassphrases   [line 387]

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 402]

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 Sun, 22 Mar 2020 08:01:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.