From 2047060c401f8eed6a7a2193bce8f1310705b984 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 28 Sep 2014 09:35:34 +0200 Subject: php-pecl-libsodium: 0.1.1 (beta, new package) --- REFLECTION | 268 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 268 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..a26f4d3 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,268 @@ +Extension [ extension #105 libsodium version 0.1.1 ] { + + - Classes [1] { + Class [ class Sodium ] { + + - Constants [25] { + Constant [ integer CRYPTO_SHORTHASH_BYTES ] { 8 } + Constant [ integer CRYPTO_SHORTHASH_KEYBYTES ] { 16 } + Constant [ integer CRYPTO_SECRETBOX_KEYBYTES ] { 32 } + Constant [ integer CRYPTO_SECRETBOX_NONCEBYTES ] { 24 } + Constant [ integer CRYPTO_GENERICHASH_BYTES ] { 32 } + Constant [ integer CRYPTO_GENERICHASH_BYTES_MIN ] { 16 } + Constant [ integer CRYPTO_GENERICHASH_BYTES_MAX ] { 64 } + Constant [ integer CRYPTO_GENERICHASH_KEYBYTES ] { 32 } + Constant [ integer CRYPTO_GENERICHASH_KEYBYTES_MIN ] { 16 } + Constant [ integer CRYPTO_GENERICHASH_KEYBYTES_MAX ] { 64 } + Constant [ integer CRYPTO_BOX_SECRETKEYBYTES ] { 32 } + Constant [ integer CRYPTO_BOX_PUBLICKEYBYTES ] { 32 } + Constant [ integer CRYPTO_BOX_KEYPAIRBYTES ] { 64 } + Constant [ integer CRYPTO_BOX_NONCEBYTES ] { 24 } + Constant [ integer CRYPTO_SIGN_BYTES ] { 64 } + Constant [ integer CRYPTO_SIGN_SEEDBYTES ] { 32 } + Constant [ integer CRYPTO_SIGN_PUBLICKEYBYTES ] { 32 } + Constant [ integer CRYPTO_SIGN_SECRETKEYBYTES ] { 64 } + Constant [ integer CRYPTO_SIGN_KEYPAIRBYTES ] { 96 } + Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES ] { 32 } + Constant [ string CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX ] { $7$ } + Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE ] { 524288 } + Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE ] { 16777216 } + Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE ] { 33554432 } + Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE ] { 1073741824 } + } + + - Static properties [0] { + } + + - Static methods [29] { + Method [ static public method sodium_version_string ] { + + - Parameters [0] { + } + } + + Method [ static public method sodium_library_version_major ] { + + - Parameters [0] { + } + } + + Method [ static public method sodium_library_version_minor ] { + + - Parameters [0] { + } + } + + Method [ static public method sodium_memzero ] { + + - Parameters [2] { + Parameter #0 [ &$reference ] + Parameter #1 [ $length ] + } + } + + Method [ static public method sodium_memcmp ] { + + - Parameters [2] { + Parameter #0 [ $string_1 ] + Parameter #1 [ $string_2 ] + } + } + + Method [ static public method randombytes_buf ] { + + - Parameters [1] { + Parameter #0 [ $length ] + } + } + + Method [ static public method randombytes_random16 ] { + + - Parameters [0] { + } + } + + Method [ static public method randombytes_uniform ] { + + - Parameters [1] { + Parameter #0 [ $integer ] + } + } + + Method [ static public method crypto_shorthash ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $key ] + } + } + + Method [ static public method crypto_secretbox ] { + + - Parameters [3] { + Parameter #0 [ $string ] + Parameter #1 [ $nonce ] + Parameter #2 [ $key ] + } + } + + Method [ static public method crypto_secretbox_open ] { + + - Parameters [3] { + Parameter #0 [ $string ] + Parameter #1 [ $nonce ] + Parameter #2 [ $key ] + } + } + + Method [ static public method crypto_generichash ] { + + - Parameters [3] { + Parameter #0 [ $string ] + Parameter #1 [ $key ] + Parameter #2 [ $length ] + } + } + + Method [ static public method crypto_box_keypair ] { + + - Parameters [0] { + } + } + + Method [ static public method crypto_box_keypair_from_secretkey_and_publickey ] { + + - Parameters [2] { + Parameter #0 [ $secret_key ] + Parameter #1 [ $public_key ] + } + } + + Method [ static public method crypto_box_secretkey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ static public method crypto_box_publickey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ static public method crypto_box_publickey_from_secretkey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ static public method crypto_box ] { + + - Parameters [3] { + Parameter #0 [ $string ] + Parameter #1 [ $nonce ] + Parameter #2 [ $key ] + } + } + + Method [ static public method crypto_box_open ] { + + - Parameters [3] { + Parameter #0 [ $string ] + Parameter #1 [ $nonce ] + Parameter #2 [ $key ] + } + } + + Method [ static public method crypto_sign_keypair ] { + + - Parameters [0] { + } + } + + Method [ static public method crypto_sign_seed_keypair ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ static public method crypto_sign_keypair_from_secretkey_and_publickey ] { + + - Parameters [2] { + Parameter #0 [ $secret_key ] + Parameter #1 [ $public_key ] + } + } + + Method [ static public method crypto_sign_secretkey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ static public method crypto_sign_publickey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } + + Method [ static public method crypto_sign ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $key ] + } + } + + Method [ static public method crypto_sign_open ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $key ] + } + } + + Method [ static public method crypto_pwhash_scryptsalsa208sha256 ] { + + - Parameters [5] { + Parameter #0 [ $length ] + Parameter #1 [ $password ] + Parameter #2 [ $salt ] + Parameter #3 [ $opslimit ] + Parameter #4 [ $memlimit ] + } + } + + Method [ static public method crypto_pwhash_scryptsalsa208sha256_str ] { + + - Parameters [3] { + Parameter #0 [ $password ] + Parameter #1 [ $opslimit ] + Parameter #2 [ $memlimit ] + } + } + + Method [ static public method crypto_pwhash_scryptsalsa208sha256_str_verify ] { + + - Parameters [2] { + Parameter #0 [ $hash ] + Parameter #1 [ $password ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + } +} + -- cgit