From 77db42ee020ae326b58a57946adc271a672c917b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 17 May 2014 17:19:42 +0200 Subject: php-pecl-*: add Reflection file --- REFLECTION | 639 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 639 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..522642d --- /dev/null +++ b/REFLECTION @@ -0,0 +1,639 @@ +Extension [ extension #78 crypto version 0.1.1 ] { + + - Classes [9] { + Class [ class Crypto\Algorithm ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ protected $algorithm ] + } + + - Methods [2] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $algorithm ] + } + } + + Method [ public method getAlgorithmName ] { + } + } + } + + Class [ class Crypto\AlgorithmException extends Exception ] { + + - Constants [31] { + Constant [ integer CIPHER_NOT_FOUND ] { 1 } + Constant [ integer CIPHER_MODE_NOT_FOUND ] { 2 } + Constant [ integer CIPHER_MODE_NOT_AVAILABLE ] { 3 } + Constant [ integer CIPHER_AUTHENTICATION_NOT_SUPPORTED ] { 4 } + Constant [ integer CIPHER_AUTHENTICATION_FAILED ] { 5 } + Constant [ integer CIPHER_KEY_LENGTH ] { 6 } + Constant [ integer CIPHER_IV_LENGTH ] { 7 } + Constant [ integer CIPHER_AAD_SETTER_FLOW ] { 8 } + Constant [ integer CIPHER_AAD_SETTER_FAILED ] { 9 } + Constant [ integer CIPHER_TAG_GETTER_FLOW ] { 10 } + Constant [ integer CIPHER_TAG_SETTER_FLOW ] { 11 } + Constant [ integer CIPHER_TAG_GETTER_FAILED ] { 12 } + Constant [ integer CIPHER_TAG_SETTER_FAILED ] { 13 } + Constant [ integer CIPHER_TAG_LENGTH_UNDER ] { 14 } + Constant [ integer CIPHER_TAG_LENGTH_OVER ] { 15 } + Constant [ integer CIPHER_TAG_VARIFY_FAILED ] { 16 } + Constant [ integer CIPHER_INIT_ALG_FAILED ] { 17 } + Constant [ integer CIPHER_INIT_CTX_FAILED ] { 18 } + Constant [ integer CIPHER_UPDATE_FAILED ] { 19 } + Constant [ integer CIPHER_FINISH_FAILED ] { 20 } + Constant [ integer ENCRYPT_INIT_STATUS ] { 21 } + Constant [ integer ENCRYPT_UPDATE_STATUS ] { 22 } + Constant [ integer ENCRYPT_FINISH_STATUS ] { 23 } + Constant [ integer DECRYPT_INIT_STATUS ] { 24 } + Constant [ integer DECRYPT_UPDATE_STATUS ] { 25 } + Constant [ integer DECRYPT_FINISH_STATUS ] { 26 } + Constant [ integer HASH_ALGORITHM_NOT_FOUND ] { 27 } + Constant [ integer HASH_STATIC_NOT_FOUND ] { 28 } + Constant [ integer HASH_INIT_FAILED ] { 29 } + Constant [ integer HASH_UPDATE_FAILED ] { 30 } + Constant [ integer HASH_DIGEST_FAILED ] { 31 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Crypto\Cipher extends Crypto\Algorithm ] { + + - Constants [8] { + Constant [ integer MODE_ECB ] { 1 } + Constant [ integer MODE_CBC ] { 2 } + Constant [ integer MODE_CFB ] { 3 } + Constant [ integer MODE_OFB ] { 4 } + Constant [ integer MODE_CTR ] { 5 } + Constant [ integer MODE_GCM ] { 6 } + Constant [ integer MODE_CCM ] { 7 } + Constant [ integer MODE_XTS ] { 65537 } + } + + - Static properties [0] { + } + + - Static methods [4] { + Method [ static public method getAlgorithms ] { + + - Parameters [2] { + Parameter #0 [ $aliases ] + Parameter #1 [ $prefix ] + } + } + + Method [ static public method hasAlgorithm ] { + + - Parameters [1] { + Parameter #0 [ $algorithm ] + } + } + + Method [ static public method hasMode ] { + + - Parameters [1] { + Parameter #0 [ $mode ] + } + } + + Method [ static public method __callStatic ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $arguments ] + } + } + } + + - Properties [1] { + Property [ protected $algorithm ] + } + + - Methods [17] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $algorithm ] + Parameter #1 [ $mode ] + Parameter #2 [ $key_size ] + } + } + + Method [ public method encryptInit ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $iv ] + } + } + + Method [ public method encryptUpdate ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method encryptFinish ] { + } + + Method [ public method encrypt ] { + + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $key ] + Parameter #2 [ $iv ] + } + } + + Method [ public method decryptInit ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $iv ] + } + } + + Method [ public method decryptUpdate ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method decryptFinish ] { + } + + Method [ public method decrypt ] { + + - Parameters [3] { + Parameter #0 [ $data ] + Parameter #1 [ $key ] + Parameter #2 [ $iv ] + } + } + + Method [ public method getBlockSize ] { + } + + Method [ public method getKeyLength ] { + } + + Method [ public method getIVLength ] { + } + + Method [ public method getMode ] { + } + + Method [ public method getTag ] { + + - Parameters [1] { + Parameter #0 [ $tag_size ] + } + } + + Method [ public method setTag ] { + + - Parameters [1] { + Parameter #0 [ $tag ] + } + } + + Method [ public method setAAD ] { + + - Parameters [1] { + Parameter #0 [ $aad ] + } + } + + Method [ public method getAlgorithmName ] { + } + } + } + + Class [ class Crypto\Hash extends Crypto\Algorithm ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ static public method getAlgorithms ] { + + - Parameters [2] { + Parameter #0 [ $aliases ] + Parameter #1 [ $prefix ] + } + } + + Method [ static public method hasAlgorithm ] { + + - Parameters [1] { + Parameter #0 [ $algorithm ] + } + } + + Method [ static public method __callStatic ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $arguments ] + } + } + } + + - Properties [1] { + Property [ protected $algorithm ] + } + + - Methods [7] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $algorithm ] + } + } + + Method [ public method update ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method digest ] { + } + + Method [ public method hexdigest ] { + } + + Method [ public method getSize ] { + } + + Method [ public method getBlockSize ] { + } + + Method [ public method getAlgorithmName ] { + } + } + } + + Class [ class Crypto\HMAC extends Crypto\Hash ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ static public method getAlgorithms ] { + + - Parameters [2] { + Parameter #0 [ $aliases ] + Parameter #1 [ $prefix ] + } + } + + Method [ static public method hasAlgorithm ] { + + - Parameters [1] { + Parameter #0 [ $algorithm ] + } + } + + Method [ static public method __callStatic ] { + + - Parameters [2] { + Parameter #0 [ $name ] + Parameter #1 [ $arguments ] + } + } + } + + - Properties [1] { + Property [ protected $algorithm ] + } + + - Methods [7] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $algorithm ] + } + } + + Method [ public method update ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method digest ] { + } + + Method [ public method hexdigest ] { + } + + Method [ public method getSize ] { + } + + Method [ public method getBlockSize ] { + } + + Method [ public method getAlgorithmName ] { + } + } + } + + Class [ class Crypto\Base64 ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ static public method encode ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ static public method decode ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method __construct ] { + } + + Method [ public method encodeUpdate ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method encodeFinish ] { + } + + Method [ public method decodeUpdate ] { + + - Parameters [1] { + Parameter #0 [ $data ] + } + } + + Method [ public method decodeFinish ] { + } + } + } + + Class [ class Crypto\Base64Exception extends Exception ] { + + - Constants [5] { + Constant [ integer ENCODE_UPDATE_STATUS ] { 1 } + Constant [ integer ENCODE_FINISH_STATUS ] { 2 } + Constant [ integer DECODE_UPDATE_STATUS ] { 3 } + Constant [ integer DECODE_FINISH_STATUS ] { 4 } + Constant [ integer DECODE_FAILED ] { 5 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Crypto\Rand ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [6] { + Method [ static public method generate ] { + + - Parameters [3] { + Parameter #0 [ $num ] + Parameter #1 [ $must_be_strong ] + Parameter #2 [ &$returned_strong_result ] + } + } + + Method [ static public method seed ] { + + - Parameters [2] { + Parameter #0 [ $buf ] + Parameter #1 [ $entropy ] + } + } + + Method [ static public method cleanup ] { + } + + Method [ static public method loadFile ] { + + - Parameters [2] { + Parameter #0 [ $filename ] + Parameter #1 [ $max_bytes ] + } + } + + Method [ static public method writeFile ] { + + - Parameters [1] { + Parameter #0 [ $filename ] + } + } + + Method [ static public method egd ] { + + - Parameters [3] { + Parameter #0 [ $path ] + Parameter #1 [ $bytes ] + Parameter #2 [ $seed ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ class Crypto\RandException extends Exception ] { + + - Constants [2] { + Constant [ integer GENERATE_PREDICTABLE ] { 1 } + Constant [ integer FILE_WRITE_PREDICTABLE ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + } +} + -- cgit