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

Class: Crypt_GPG_DeletePrivateKeyException

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

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_DeletePrivateKeyException

An exception thrown when an attempt is made to delete public key that has an associated private key on the keyring


Author(s):

Copyright:

  • 2008 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 346]
An exception thrown when an attempt is made to delete public key that has an associated private key on the keyring


[ Top ]


Method Detail

__construct (Constructor)   [line 370]

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

Creates a new Crypt_GPG_DeletePrivateKeyException

Parameters:

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

[ Top ]

getKeyId   [line 384]

string getKeyId( )

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

[ Top ]


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