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

Class: Crypt_GPG_InvalidKeyParamsException

Source Location: /Crypt_GPG-1.4.0b4/Crypt/GPG/Exceptions.php

Class Overview

PEAR_Exception
   |
   --Crypt_GPG_Exception
      |
      --Crypt_GPG_InvalidKeyParamsException

An exception thrown when an attempt is made to generate a key and the key parameters set on the key generator are invalid


Author(s):

Copyright:

  • 2011 silverorange

Methods


Inherited Variables

Inherited Methods


Class Details

[line 503]
An exception thrown when an attempt is made to generate a key and the key parameters set on the key generator are invalid


[ Top ]


Method Detail

__construct (Constructor)   [line 540]

Crypt_GPG_InvalidKeyParamsException __construct( string $message, [integer $code = 0], [string $algorithm = 0], [string $size = 0], [string $usage = 0])

Creates a new Crypt_GPG_InvalidKeyParamsException
  • Access: public

Parameters:

string   $message     an error message.
integer   $code     a user defined error code.
string   $algorithm     the key algorithm.
string   $size     the key size.
string   $usage     the key usage.

[ Top ]

getAlgorithm   [line 562]

integer getAlgorithm( )

Gets the key algorithm
  • Return: the key algorithm.
  • Access: public

[ Top ]

getSize   [line 575]

integer getSize( )

Gets the key size
  • Return: the key size.
  • Access: public

[ Top ]

getUsage   [line 588]

integer getUsage( )

Gets the key usage
  • Return: the key usage.
  • Access: public

[ Top ]


Documentation generated on Wed, 13 Mar 2013 18:30:07 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.