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

Class: Crypt_GPG_KeyNotFoundException

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

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_KeyNotFoundException

This exception is thrown when the Crypt_GPG class fails to find the key for various opetations


Author(s):

Copyright:

  • 2005 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 201]
This exception is thrown when the Crypt_GPG class fails to find the key for various opetations


[ Top ]


Method Detail

__construct (Constructor)   [line 225]

Crypt_GPG_KeyNotFoundException __construct( string $message, [int $code = 0], [string $key_id = ''])

Creates a new Crypt_GPG_KeyNotFoundException
  • See: Crypt_GPG::_deleteSecretKey()
  • Access: public

Parameters:

string   $message   —  an error message.
int   $code   —  a user defined error code.
string   $key_id   —  the key identifier of the secret key that was attempted to delete.

[ Top ]

getKeyId   [line 241]

string getKeyId( )

Returns the contents of the internal _key_id property
  • Return: the key identifier of the key that was not found.
  • See: Crypt_GPG_OpenSubprocessException::$_key_id
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:14:43 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.