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

Class: Crypt_GPG_BadPassphraseException

Source Location: /Crypt_GPG-0.7.0/GPG/Exceptions.php

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_BadPassphraseException

An exception class thrown when the GPG passphrase is bad or missing


Author(s):

Copyright:

  • 2006-2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 352]
An exception class thrown when the GPG passphrase is bad or missing


[ Top ]


Method Detail

__construct (Constructor)   [line 387]

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

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   $missingPassprases   —  an array containing user ids of keys for which the passphrase is missing.
array   $missingPassphrases   — 

[ Top ]

getBadPassphrases   [line 405]

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

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 Mon, 11 Mar 2019 15:25:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.