diff options
author | Remi Collet <remi@remirepo.net> | 2021-02-15 08:23:56 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-02-15 08:23:56 +0100 |
commit | 4efa260e22648741cb25f2d8d51418c3491c46a9 (patch) | |
tree | e0c13eca39a0ff189e9689ac924d73600a28cbdf /REFLECTION | |
parent | b78ba312b02b5706b35adc5bd2db3337b4e1a3fd (diff) |
Update to 1.5.0RC1
open https://github.com/php-gnupg/php-gnupg/pull/25
missing files in pecl archive
open https://github.com/php-gnupg/php-gnupg/pull/26
also cleanup socket files
open https://github.com/php-gnupg/php-gnupg/pull/27
fix build with old libgpgme 1.3
use gnupg version 2 (Fedora and EL-8)
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 371 |
1 files changed, 316 insertions, 55 deletions
@@ -1,39 +1,65 @@ -Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { - - - Constants [25] { - Constant [ integer GNUPG_SIG_MODE_NORMAL ] { 0 } - Constant [ integer GNUPG_SIG_MODE_DETACH ] { 1 } - Constant [ integer GNUPG_SIG_MODE_CLEAR ] { 2 } - Constant [ integer GNUPG_VALIDITY_UNKNOWN ] { 0 } - Constant [ integer GNUPG_VALIDITY_UNDEFINED ] { 1 } - Constant [ integer GNUPG_VALIDITY_NEVER ] { 2 } - Constant [ integer GNUPG_VALIDITY_MARGINAL ] { 3 } - Constant [ integer GNUPG_VALIDITY_FULL ] { 4 } - Constant [ integer GNUPG_VALIDITY_ULTIMATE ] { 5 } - Constant [ integer GNUPG_PROTOCOL_OpenPGP ] { 0 } - Constant [ integer GNUPG_PROTOCOL_CMS ] { 1 } - Constant [ integer GNUPG_SIGSUM_VALID ] { 1 } - Constant [ integer GNUPG_SIGSUM_GREEN ] { 2 } - Constant [ integer GNUPG_SIGSUM_RED ] { 4 } - Constant [ integer GNUPG_SIGSUM_KEY_REVOKED ] { 16 } - Constant [ integer GNUPG_SIGSUM_KEY_EXPIRED ] { 32 } - Constant [ integer GNUPG_SIGSUM_SIG_EXPIRED ] { 64 } - Constant [ integer GNUPG_SIGSUM_KEY_MISSING ] { 128 } - Constant [ integer GNUPG_SIGSUM_CRL_MISSING ] { 256 } - Constant [ integer GNUPG_SIGSUM_CRL_TOO_OLD ] { 512 } - Constant [ integer GNUPG_SIGSUM_BAD_POLICY ] { 1024 } - Constant [ integer GNUPG_SIGSUM_SYS_ERROR ] { 2048 } - Constant [ integer GNUPG_ERROR_WARNING ] { 1 } - Constant [ integer GNUPG_ERROR_EXCEPTION ] { 2 } - Constant [ integer GNUPG_ERROR_SILENT ] { 3 } +Extension [ <persistent> extension #120 gnupg version 1.5.0RC1 ] { + + - Constants [36] { + Constant [ int GNUPG_SIG_MODE_NORMAL ] { 0 } + Constant [ int GNUPG_SIG_MODE_DETACH ] { 1 } + Constant [ int GNUPG_SIG_MODE_CLEAR ] { 2 } + Constant [ int GNUPG_VALIDITY_UNKNOWN ] { 0 } + Constant [ int GNUPG_VALIDITY_UNDEFINED ] { 1 } + Constant [ int GNUPG_VALIDITY_NEVER ] { 2 } + Constant [ int GNUPG_VALIDITY_MARGINAL ] { 3 } + Constant [ int GNUPG_VALIDITY_FULL ] { 4 } + Constant [ int GNUPG_VALIDITY_ULTIMATE ] { 5 } + Constant [ int GNUPG_PROTOCOL_OpenPGP ] { 0 } + Constant [ int GNUPG_PROTOCOL_CMS ] { 1 } + Constant [ int GNUPG_SIGSUM_VALID ] { 1 } + Constant [ int GNUPG_SIGSUM_GREEN ] { 2 } + Constant [ int GNUPG_SIGSUM_RED ] { 4 } + Constant [ int GNUPG_SIGSUM_KEY_REVOKED ] { 16 } + Constant [ int GNUPG_SIGSUM_KEY_EXPIRED ] { 32 } + Constant [ int GNUPG_SIGSUM_SIG_EXPIRED ] { 64 } + Constant [ int GNUPG_SIGSUM_KEY_MISSING ] { 128 } + Constant [ int GNUPG_SIGSUM_CRL_MISSING ] { 256 } + Constant [ int GNUPG_SIGSUM_CRL_TOO_OLD ] { 512 } + Constant [ int GNUPG_SIGSUM_BAD_POLICY ] { 1024 } + Constant [ int GNUPG_SIGSUM_SYS_ERROR ] { 2048 } + Constant [ int GNUPG_ERROR_WARNING ] { 1 } + Constant [ int GNUPG_ERROR_EXCEPTION ] { 2 } + Constant [ int GNUPG_ERROR_SILENT ] { 3 } + Constant [ int GNUPG_PK_RSA ] { 1 } + Constant [ int GNUPG_PK_RSA_E ] { 2 } + Constant [ int GNUPG_PK_RSA_S ] { 3 } + Constant [ int GNUPG_PK_DSA ] { 17 } + Constant [ int GNUPG_PK_ELG ] { 20 } + Constant [ int GNUPG_PK_ELG_E ] { 16 } + Constant [ int GNUPG_PK_ECC ] { 18 } + Constant [ int GNUPG_PK_ECDSA ] { 301 } + Constant [ int GNUPG_PK_ECDH ] { 302 } + Constant [ int GNUPG_PK_EDDSA ] { 303 } + Constant [ string GNUPG_GPGME_VERSION ] { 1.14.0 } } - Functions { Function [ <internal:gnupg> function gnupg_init ] { + + - Parameters [1] { + Parameter #0 [ <optional> $options ] + } } Function [ <internal:gnupg> function gnupg_keyinfo ] { + + - Parameters [3] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $pattern ] + Parameter #2 [ <optional> $secret_only ] + } } Function [ <internal:gnupg> function gnupg_sign ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $text ] + } } Function [ <internal:gnupg> function gnupg_verify ] { @@ -45,26 +71,83 @@ Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { } } Function [ <internal:gnupg> function gnupg_clearsignkeys ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } } Function [ <internal:gnupg> function gnupg_clearencryptkeys ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } } Function [ <internal:gnupg> function gnupg_cleardecryptkeys ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } } Function [ <internal:gnupg> function gnupg_setarmor ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $armor ] + } } Function [ <internal:gnupg> function gnupg_encrypt ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $text ] + } } Function [ <internal:gnupg> function gnupg_decrypt ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $enctext ] + } } Function [ <internal:gnupg> function gnupg_export ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $pattern ] + } } Function [ <internal:gnupg> function gnupg_import ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $kye ] + } + } + Function [ <internal:gnupg> function gnupg_getengineinfo ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } } Function [ <internal:gnupg> function gnupg_getprotocol ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } } Function [ <internal:gnupg> function gnupg_setsignmode ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $signmode ] + } } Function [ <internal:gnupg> function gnupg_encryptsign ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $text ] + } } Function [ <internal:gnupg> function gnupg_decryptverify ] { @@ -75,52 +158,110 @@ Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { } } Function [ <internal:gnupg> function gnupg_geterror ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } + } + Function [ <internal:gnupg> function gnupg_geterrorinfo ] { + + - Parameters [1] { + Parameter #0 [ <required> $res ] + } } Function [ <internal:gnupg> function gnupg_addsignkey ] { + + - Parameters [3] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $kye ] + Parameter #2 [ <required> $passphrase ] + } } Function [ <internal:gnupg> function gnupg_addencryptkey ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $kye ] + } } Function [ <internal:gnupg> function gnupg_adddecryptkey ] { + + - Parameters [3] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $kye ] + Parameter #2 [ <required> $passphrase ] + } } Function [ <internal:gnupg> function gnupg_deletekey ] { + + - Parameters [3] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $kye ] + Parameter #2 [ <required> $allow_secret ] + } } Function [ <internal:gnupg> function gnupg_gettrustlist ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $pattern ] + } } Function [ <internal:gnupg> function gnupg_listsignatures ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $kyeid ] + } } Function [ <internal:gnupg> function gnupg_seterrormode ] { + + - Parameters [2] { + Parameter #0 [ <required> $res ] + Parameter #1 [ <required> $errnmode ] + } } } - Classes [2] { Class [ <internal:gnupg> class gnupg ] { - - Constants [25] { - Constant [ integer SIG_MODE_NORMAL ] { 0 } - Constant [ integer SIG_MODE_DETACH ] { 1 } - Constant [ integer SIG_MODE_CLEAR ] { 2 } - Constant [ integer VALIDITY_UNKNOWN ] { 0 } - Constant [ integer VALIDITY_UNDEFINED ] { 1 } - Constant [ integer VALIDITY_NEVER ] { 2 } - Constant [ integer VALIDITY_MARGINAL ] { 3 } - Constant [ integer VALIDITY_FULL ] { 4 } - Constant [ integer VALIDITY_ULTIMATE ] { 5 } - Constant [ integer PROTOCOL_OpenPGP ] { 0 } - Constant [ integer PROTOCOL_CMS ] { 1 } - Constant [ integer SIGSUM_VALID ] { 1 } - Constant [ integer SIGSUM_GREEN ] { 2 } - Constant [ integer SIGSUM_RED ] { 4 } - Constant [ integer SIGSUM_KEY_REVOKED ] { 16 } - Constant [ integer SIGSUM_KEY_EXPIRED ] { 32 } - Constant [ integer SIGSUM_SIG_EXPIRED ] { 64 } - Constant [ integer SIGSUM_KEY_MISSING ] { 128 } - Constant [ integer SIGSUM_CRL_MISSING ] { 256 } - Constant [ integer SIGSUM_CRL_TOO_OLD ] { 512 } - Constant [ integer SIGSUM_BAD_POLICY ] { 1024 } - Constant [ integer SIGSUM_SYS_ERROR ] { 2048 } - Constant [ integer ERROR_WARNING ] { 1 } - Constant [ integer ERROR_EXCEPTION ] { 2 } - Constant [ integer ERROR_SILENT ] { 3 } + - Constants [35] { + Constant [ public int SIG_MODE_NORMAL ] { 0 } + Constant [ public int SIG_MODE_DETACH ] { 1 } + Constant [ public int SIG_MODE_CLEAR ] { 2 } + Constant [ public int VALIDITY_UNKNOWN ] { 0 } + Constant [ public int VALIDITY_UNDEFINED ] { 1 } + Constant [ public int VALIDITY_NEVER ] { 2 } + Constant [ public int VALIDITY_MARGINAL ] { 3 } + Constant [ public int VALIDITY_FULL ] { 4 } + Constant [ public int VALIDITY_ULTIMATE ] { 5 } + Constant [ public int PROTOCOL_OpenPGP ] { 0 } + Constant [ public int PROTOCOL_CMS ] { 1 } + Constant [ public int SIGSUM_VALID ] { 1 } + Constant [ public int SIGSUM_GREEN ] { 2 } + Constant [ public int SIGSUM_RED ] { 4 } + Constant [ public int SIGSUM_KEY_REVOKED ] { 16 } + Constant [ public int SIGSUM_KEY_EXPIRED ] { 32 } + Constant [ public int SIGSUM_SIG_EXPIRED ] { 64 } + Constant [ public int SIGSUM_KEY_MISSING ] { 128 } + Constant [ public int SIGSUM_CRL_MISSING ] { 256 } + Constant [ public int SIGSUM_CRL_TOO_OLD ] { 512 } + Constant [ public int SIGSUM_BAD_POLICY ] { 1024 } + Constant [ public int SIGSUM_SYS_ERROR ] { 2048 } + Constant [ public int ERROR_WARNING ] { 1 } + Constant [ public int ERROR_EXCEPTION ] { 2 } + Constant [ public int ERROR_SILENT ] { 3 } + Constant [ public int PK_RSA ] { 1 } + Constant [ public int PK_RSA_E ] { 2 } + Constant [ public int PK_RSA_S ] { 3 } + Constant [ public int PK_DSA ] { 17 } + Constant [ public int PK_ELG ] { 20 } + Constant [ public int PK_ELG_E ] { 16 } + Constant [ public int PK_ECC ] { 18 } + Constant [ public int PK_ECDSA ] { 301 } + Constant [ public int PK_ECDH ] { 302 } + Constant [ public int PK_EDDSA ] { 303 } } - Static properties [0] { @@ -132,8 +273,20 @@ Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { - Properties [0] { } - - Methods [23] { + - Methods [26] { + Method [ <internal:gnupg, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $options ] + } + } + Method [ <internal:gnupg> public method keyinfo ] { + + - Parameters [2] { + Parameter #0 [ <required> $pattern ] + Parameter #1 [ <optional> $secret_only ] + } } Method [ <internal:gnupg> public method verify ] { @@ -145,43 +298,102 @@ Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { } } + Method [ <internal:gnupg> public method getengineinfo ] { + + - Parameters [0] { + } + } + Method [ <internal:gnupg> public method geterror ] { + + - Parameters [0] { + } + } + + Method [ <internal:gnupg> public method geterrorinfo ] { + + - Parameters [0] { + } } Method [ <internal:gnupg> public method clearsignkeys ] { + + - Parameters [0] { + } } Method [ <internal:gnupg> public method clearencryptkeys ] { + + - Parameters [0] { + } } Method [ <internal:gnupg> public method cleardecryptkeys ] { + + - Parameters [0] { + } } Method [ <internal:gnupg> public method setarmor ] { + + - Parameters [1] { + Parameter #0 [ <required> $armor ] + } } Method [ <internal:gnupg> public method encrypt ] { + + - Parameters [1] { + Parameter #0 [ <required> $text ] + } } Method [ <internal:gnupg> public method decrypt ] { + + - Parameters [1] { + Parameter #0 [ <required> $enctext ] + } } Method [ <internal:gnupg> public method export ] { + + - Parameters [1] { + Parameter #0 [ <required> $pattern ] + } } Method [ <internal:gnupg> public method import ] { + + - Parameters [1] { + Parameter #0 [ <required> $kye ] + } } Method [ <internal:gnupg> public method getprotocol ] { + + - Parameters [0] { + } } Method [ <internal:gnupg> public method setsignmode ] { + + - Parameters [1] { + Parameter #0 [ <required> $signmode ] + } } Method [ <internal:gnupg> public method sign ] { + + - Parameters [1] { + Parameter #0 [ <required> $text ] + } } Method [ <internal:gnupg> public method encryptsign ] { + + - Parameters [1] { + Parameter #0 [ <required> $text ] + } } Method [ <internal:gnupg> public method decryptverify ] { @@ -193,24 +405,55 @@ Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { } Method [ <internal:gnupg> public method addsignkey ] { + + - Parameters [2] { + Parameter #0 [ <required> $kye ] + Parameter #1 [ <required> $passphrase ] + } } Method [ <internal:gnupg> public method addencryptkey ] { + + - Parameters [1] { + Parameter #0 [ <required> $kye ] + } } Method [ <internal:gnupg> public method adddecryptkey ] { + + - Parameters [2] { + Parameter #0 [ <required> $kye ] + Parameter #1 [ <required> $passphrase ] + } } Method [ <internal:gnupg> public method deletekey ] { + + - Parameters [2] { + Parameter #0 [ <required> $kye ] + Parameter #1 [ <required> $allow_secret ] + } } Method [ <internal:gnupg> public method gettrustlist ] { + + - Parameters [1] { + Parameter #0 [ <required> $pattern ] + } } Method [ <internal:gnupg> public method listsignatures ] { + + - Parameters [1] { + Parameter #0 [ <required> $kyeid ] + } } Method [ <internal:gnupg> public method seterrormode ] { + + - Parameters [1] { + Parameter #0 [ <required> $errnmode ] + } } } } @@ -231,21 +474,39 @@ Extension [ <persistent> extension #86 gnupg version 1.4.0 ] { - Methods [6] { Method [ <internal:gnupg, ctor> public method __construct ] { + + - Parameters [0] { + } } Method [ <internal:gnupg, prototype Iterator> public method current ] { + + - Parameters [0] { + } } Method [ <internal:gnupg, prototype Iterator> public method key ] { + + - Parameters [0] { + } } Method [ <internal:gnupg, prototype Iterator> public method next ] { + + - Parameters [0] { + } } Method [ <internal:gnupg, prototype Iterator> public method rewind ] { + + - Parameters [0] { + } } Method [ <internal:gnupg, prototype Iterator> public method valid ] { + + - Parameters [0] { + } } } } |