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

File: ErrorHandler.php

Source Location: /Crypt_RSA-1.2.1/RSA/ErrorHandler.php

Classes:

Crypt_RSA_ErrorHandler
Crypt_RSA_ErrorHandler class.

Page Details:

Crypt_RSA allows to do following operations:

  • key pair generation
  • encryption and decryption
  • signing and sign validation
PHP versions 4 and 5

LICENSE: This source file is subject to version 3.0 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_0.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

Includes:

require_once('PEAR.php') [line 28]
uses PEAR's error handling

CRYPT_RSA_ERROR_EXP_GE_MOD [line 62]

CRYPT_RSA_ERROR_EXP_GE_MOD = 6
key modulus must be greater than key exponent

[ Top ]



CRYPT_RSA_ERROR_MISSING_KEY_LEN [line 67]

CRYPT_RSA_ERROR_MISSING_KEY_LEN = 7
missing $key_len parameter in Crypt_RSA_KeyPair::generate($key_len) function

[ Top ]



CRYPT_RSA_ERROR_NEED_PRV_KEY [line 82]

CRYPT_RSA_ERROR_NEED_PRV_KEY = 10
key, used for signing, must be private

[ Top ]



CRYPT_RSA_ERROR_NEED_PUB_KEY [line 87]

CRYPT_RSA_ERROR_NEED_PUB_KEY = 11
key, used for sign validating, must be public

[ Top ]



CRYPT_RSA_ERROR_NO_CLASS [line 52]

CRYPT_RSA_ERROR_NO_CLASS = 4
cannot find math wrapper class in the math wrapper file

[ Top ]



CRYPT_RSA_ERROR_NO_EXT [line 33]

CRYPT_RSA_ERROR_NO_EXT = 1
cannot load required extension for math wrapper

[ Top ]



CRYPT_RSA_ERROR_NO_FILE [line 47]

CRYPT_RSA_ERROR_NO_FILE = 3
cannot find file, containing requested math wrapper

[ Top ]



CRYPT_RSA_ERROR_NO_WRAPPERS [line 42]

CRYPT_RSA_ERROR_NO_WRAPPERS = 2
cannot load any math wrappers.

Possible reasons:

  • there is no any wrappers (they must exist in Crypt/RSA/Math folder )
  • all available wrappers are incorrect (read docs/Crypt_RSA/docs/math_wrappers.txt )
  • cannot load any extension, required by available wrappers


[ Top ]



CRYPT_RSA_ERROR_WRONG_HASH_FUNC [line 77]

CRYPT_RSA_ERROR_WRONG_HASH_FUNC = 9
wrong name of hash function passed to Crypt_RSA::setParams() function

[ Top ]



CRYPT_RSA_ERROR_WRONG_KEY [line 72]

CRYPT_RSA_ERROR_WRONG_KEY = 8
wrong key object passed to function (it must be an object of Crypt_RSA_Key class)

[ Top ]



CRYPT_RSA_ERROR_WRONG_KEY_TYPE [line 57]

CRYPT_RSA_ERROR_WRONG_KEY_TYPE = 5
invalid key type passed to function (it must be 'public' or 'private')

[ Top ]



CRYPT_RSA_ERROR_WRONG_PARAMS [line 92]

CRYPT_RSA_ERROR_WRONG_PARAMS = 12
parameters must be passed to function as associative array

[ Top ]



CRYPT_RSA_ERROR_WRONG_TAIL [line 97]

CRYPT_RSA_ERROR_WRONG_TAIL = 13
error tail of decrypted text. Maybe, wrong decryption key?

[ Top ]



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