Element index for package Crypt_RSA
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ i ]
[ k ]
[ l ]
[ m ]
[ p ]
[ r ]
[ s ]
[ t ]
[ v ]
[ w ]
b
- bin2int
- in file GMP.php, method Crypt_RSA_Math_GMP::bin2int()
Transforms binary representation of large integer into its native form.
- bin2int
- in file BigInt.php, method Crypt_RSA_Math_BigInt::bin2int()
Transforms binary representation of large integer into its native form.
- bin2int
- in file BCMath.php, method Crypt_RSA_Math_BCMath::bin2int()
Transforms binary representation of large integer into its native form.
- bitLen
- in file GMP.php, method Crypt_RSA_Math_GMP::bitLen()
Returns bit length of number $num
- bitLen
- in file BCMath.php, method Crypt_RSA_Math_BCMath::bitLen()
Returns bit length of number $num
- bitLen
- in file BigInt.php, method Crypt_RSA_Math_BigInt::bitLen()
Returns bit length of number $num
- bitOr
- in file BCMath.php, method Crypt_RSA_Math_BCMath::bitOr()
Calculates bitwise or of $num1 and $num2, starting from bit $start_pos for number $num1
- bitOr
- in file BigInt.php, method Crypt_RSA_Math_BigInt::bitOr()
Calculates bitwise or of $num1 and $num2, starting from bit $start_pos for number $num1
- bitOr
- in file GMP.php, method Crypt_RSA_Math_GMP::bitOr()
Calculates bitwise or of $num1 and $num2, starting from bit $start_pos for number $num1
- BCMath.php
- procedural page BCMath.php
- BigInt.php
- procedural page BigInt.php
top
c
- check_error
- in file web_interface.php, function check_error()
- cmpAbs
- in file GMP.php, method Crypt_RSA_Math_GMP::cmpAbs()
Compares abs($num1) to abs($num2).
- cmpAbs
- in file BigInt.php, method Crypt_RSA_Math_BigInt::cmpAbs()
Compares abs($num1) to abs($num2).
- cmpAbs
- in file BCMath.php, method Crypt_RSA_Math_BCMath::cmpAbs()
Compares abs($num1) to abs($num2).
- createSign
- in file RSA.php, method Crypt_RSA::createSign()
Creates sign for document $document, using $this->_private_key or $private_key as private key and $this->_hash_func or $hash_func as hash function.
- create_sign
- in file web_interface.php, function create_sign()
- Crypt_RSA
- in file RSA.php, class Crypt_RSA
Crypt_RSA class, derived from Crypt_RSA_ErrorHandler
- Crypt_RSA
- in file RSA.php, method Crypt_RSA::Crypt_RSA()
Crypt_RSA constructor.
- Crypt_RSA_ErrorHandler
- in file ErrorHandler.php, class Crypt_RSA_ErrorHandler
Crypt_RSA_ErrorHandler class.
- CRYPT_RSA_ERROR_EXP_GE_MOD
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_EXP_GE_MOD
key modulus must be greater than key exponent
- CRYPT_RSA_ERROR_MISSING_KEY_LEN
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_MISSING_KEY_LEN
missing $key_len parameter in Crypt_RSA_KeyPair::generate($key_len) function
- CRYPT_RSA_ERROR_NEED_PRV_KEY
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_NEED_PRV_KEY
key, used for signing, must be private
- CRYPT_RSA_ERROR_NEED_PUB_KEY
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_NEED_PUB_KEY
key, used for sign validating, must be public
- CRYPT_RSA_ERROR_NO_CLASS
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_NO_CLASS
cannot find math wrapper class in the math wrapper file
- CRYPT_RSA_ERROR_NO_EXT
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_NO_EXT
cannot load required extension for math wrapper
- CRYPT_RSA_ERROR_NO_FILE
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_NO_FILE
cannot find file, containing requested math wrapper
- CRYPT_RSA_ERROR_NO_WRAPPERS
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_NO_WRAPPERS
cannot load any math wrappers.
- CRYPT_RSA_ERROR_WRONG_HASH_FUNC
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_WRONG_HASH_FUNC
wrong name of hash function passed to Crypt_RSA::setParams() function
- CRYPT_RSA_ERROR_WRONG_KEY
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_WRONG_KEY
wrong key object passed to function (it must be an object of Crypt_RSA_Key class)
- CRYPT_RSA_ERROR_WRONG_KEY_TYPE
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_WRONG_KEY_TYPE
invalid key type passed to function (it must be 'public' or 'private')
- CRYPT_RSA_ERROR_WRONG_PARAMS
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_WRONG_PARAMS
parameters must be passed to function as associative array
- CRYPT_RSA_ERROR_WRONG_TAIL
- in file ErrorHandler.php, constant CRYPT_RSA_ERROR_WRONG_TAIL
error tail of decrypted text. Maybe, wrong decryption key?
- Crypt_RSA_Key
- in file Key.php, method Crypt_RSA_Key::Crypt_RSA_Key()
Crypt_RSA_Key constructor.
- Crypt_RSA_Key
- in file Key.php, class Crypt_RSA_Key
Crypt_RSA_Key class, derived from Crypt_RSA_ErrorHandler
- Crypt_RSA_KeyPair
- in file KeyPair.php, class Crypt_RSA_KeyPair
Crypt_RSA_KeyPair class, derived from Crypt_RSA_ErrorHandler
- Crypt_RSA_KeyPair
- in file KeyPair.php, method Crypt_RSA_KeyPair::Crypt_RSA_KeyPair()
Crypt_RSA_KeyPair constructor.
- Crypt_RSA_MathLoader
- in file MathLoader.php, class Crypt_RSA_MathLoader
Crypt_RSA_MathLoader class.
- Crypt_RSA_Math_BCMath
- in file BCMath.php, method Crypt_RSA_Math_BCMath::Crypt_RSA_Math_BCMath()
Crypt_RSA_Math_BCMath constructor.
- Crypt_RSA_Math_BCMath
- in file BCMath.php, class Crypt_RSA_Math_BCMath
Crypt_RSA_Math_BCMath class.
- Crypt_RSA_Math_BigInt
- in file BigInt.php, class Crypt_RSA_Math_BigInt
Crypt_RSA_Math_BigInt class.
- Crypt_RSA_Math_BigInt
- in file BigInt.php, method Crypt_RSA_Math_BigInt::Crypt_RSA_Math_BigInt()
Crypt_RSA_Math_BigInt constructor.
- Crypt_RSA_Math_GMP
- in file GMP.php, method Crypt_RSA_Math_GMP::Crypt_RSA_Math_GMP()
Crypt_RSA_Math_GMP constructor.
- Crypt_RSA_Math_GMP
- in file GMP.php, class Crypt_RSA_Math_GMP
Crypt_RSA_Math_GMP class.
top
top
top
top
g
- GMP.php
- procedural page GMP.php
- GCD
- in file GMP.php, method Crypt_RSA_Math_GMP::GCD()
Finds greatest common divider (GCD) of $num1 and $num2
- GCD
- in file BigInt.php, method Crypt_RSA_Math_BigInt::GCD()
Finds greatest common divider (GCD) of $num1 and $num2
- GCD
- in file BCMath.php, method Crypt_RSA_Math_BCMath::GCD()
Finds greatest common divider (GCD) of $num1 and $num2
- generate
- in file KeyPair.php, method Crypt_RSA_KeyPair::generate()
Generates new Crypt_RSA key pair with length $key_len.
- generate_key_pair
- in file web_interface.php, function generate_key_pair()
********************************************************
- getErrorHandler
- in file ErrorHandler.php, method Crypt_RSA_ErrorHandler::getErrorHandler()
returns name of current error handler, or null if there is no error handler
- getErrorList
- in file ErrorHandler.php, method Crypt_RSA_ErrorHandler::getErrorList()
Returns list of all errors, pushed to error list by $this->pushError()
- getExponent
- in file Key.php, method Crypt_RSA_Key::getExponent()
Returns exponent part of the key as binary string, which can be used to construct new Crypt_RSA_Key object.
- getKeyLength
- in file KeyPair.php, method Crypt_RSA_KeyPair::getKeyLength()
Returns length of each key in the key pair
- getKeyLength
- in file Key.php, method Crypt_RSA_Key::getKeyLength()
Calculates bit length of the key
- getKeyType
- in file Key.php, method Crypt_RSA_Key::getKeyType()
Returns key type (public, private)
- getLastError
- in file ErrorHandler.php, method Crypt_RSA_ErrorHandler::getLastError()
Returns last error from errors list or false, if list is empty
- getModulus
- in file Key.php, method Crypt_RSA_Key::getModulus()
Returns modulus part of the key as binary string, which can be used to construct new Crypt_RSA_Key object.
- getPrime
- in file GMP.php, method Crypt_RSA_Math_GMP::getPrime()
Generates prime number with length $bits_cnt using $random_generator as random generator function.
- getPrime
- in file BigInt.php, method Crypt_RSA_Math_BigInt::getPrime()
Generates prime number with length $bits_cnt using $random_generator as random generator function.
- getPrime
- in file BCMath.php, method Crypt_RSA_Math_BCMath::getPrime()
Generates prime number with length $bits_cnt using $random_generator as random generator function.
- getPrivateKey
- in file KeyPair.php, method Crypt_RSA_KeyPair::getPrivateKey()
Returns private key from the pair
- getPublicKey
- in file KeyPair.php, method Crypt_RSA_KeyPair::getPublicKey()
Returns public key from the pair
- getWrapperName
- in file BCMath.php, method Crypt_RSA_Math_BCMath::getWrapperName()
Returns name of current wrapper
- getWrapperName
- in file GMP.php, method Crypt_RSA_Math_GMP::getWrapperName()
Returns name of current wrapper
- getWrapperName
- in file BigInt.php, method Crypt_RSA_Math_BigInt::getWrapperName()
Returns name of current wrapper
- get_session_var
- in file web_interface.php, function get_session_var()
top
i
- int2bin
- in file GMP.php, method Crypt_RSA_Math_GMP::int2bin()
Transforms large integer into binary representation.
- int2bin
- in file BCMath.php, method Crypt_RSA_Math_BCMath::int2bin()
Transforms large integer into binary representation.
- int2bin
- in file BigInt.php, method Crypt_RSA_Math_BigInt::int2bin()
Transforms large integer into binary representation.
- invmod
- in file GMP.php, method Crypt_RSA_Math_GMP::invmod()
Finds inverse number $inv for $num by modulus $mod, such as: $inv * $num = 1 (mod $mod)
- invmod
- in file BigInt.php, method Crypt_RSA_Math_BigInt::invmod()
Finds inverse number $inv for $num by modulus $mod, such as: $inv * $num = 1 (mod $mod)
- invmod
- in file BCMath.php, method Crypt_RSA_Math_BCMath::invmod()
Finds inverse number $inv for $num by modulus $mod, such as: $inv * $num = 1 (mod $mod)
- isEqual
- in file KeyPair.php, method Crypt_RSA_KeyPair::isEqual()
Compares keypairs in Crypt_RSA_KeyPair objects $this and $key_pair
- isError
- in file ErrorHandler.php, method Crypt_RSA_ErrorHandler::isError()
Returns true if list of errors is not empty, else returns false
- isOne
- in file GMP.php, method Crypt_RSA_Math_GMP::isOne()
Returns true, if $num is equal to one. Else returns false
- isOne
- in file BigInt.php, method Crypt_RSA_Math_BigInt::isOne()
Returns true, if $num is equal to 1. Else returns false
- isOne
- in file BCMath.php, method Crypt_RSA_Math_BCMath::isOne()
Returns true, if $num is equal to one. Else returns false
- isValid
- in file Key.php, method Crypt_RSA_Key::isValid()
Validates key This function can be called statically: $is_valid = Crypt_RSA_Key::isValid($key)
top
top
top
top
top
top
top
top
v
- validateSign
- in file RSA.php, method Crypt_RSA::validateSign()
Validates $signature for document $document with public key $this->_public_key or $public_key and hash function $this->_hash_func or $hash_func.
- validate_sign
- in file web_interface.php, function validate_sign()
top
top
Documentation generated on Mon, 11 Mar 2019 15:28:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|