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

Class: Crypt_GPG_DeletePrivateKeyException

Source Location: /Crypt_GPG-1.6.4/Crypt/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 424]
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 448]

Crypt_GPG_DeletePrivateKeyException __construct( string $message, [integer $code = 0], [string $keyId = ''])

Creates a new Crypt_GPG_DeletePrivateKeyException

Parameters:

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

[ Top ]

getKeyId   [line 462]

string getKeyId( )

Gets the key identifier of the key that was not found
  • Return: the key identifier of the key that was not found.
  • 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.