From 4efa260e22648741cb25f2d8d51418c3491c46a9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 15 Feb 2021 08:23:56 +0100 Subject: 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) --- REFLECTION | 371 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 316 insertions(+), 55 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 970733d..33e0a7e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,39 +1,65 @@ -Extension [ 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 [ 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 [ function gnupg_init ] { + + - Parameters [1] { + Parameter #0 [ $options ] + } } Function [ function gnupg_keyinfo ] { + + - Parameters [3] { + Parameter #0 [ $res ] + Parameter #1 [ $pattern ] + Parameter #2 [ $secret_only ] + } } Function [ function gnupg_sign ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $text ] + } } Function [ function gnupg_verify ] { @@ -45,26 +71,83 @@ Extension [ extension #86 gnupg version 1.4.0 ] { } } Function [ function gnupg_clearsignkeys ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } } Function [ function gnupg_clearencryptkeys ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } } Function [ function gnupg_cleardecryptkeys ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } } Function [ function gnupg_setarmor ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $armor ] + } } Function [ function gnupg_encrypt ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $text ] + } } Function [ function gnupg_decrypt ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $enctext ] + } } Function [ function gnupg_export ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $pattern ] + } } Function [ function gnupg_import ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $kye ] + } + } + Function [ function gnupg_getengineinfo ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } } Function [ function gnupg_getprotocol ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } } Function [ function gnupg_setsignmode ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $signmode ] + } } Function [ function gnupg_encryptsign ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $text ] + } } Function [ function gnupg_decryptverify ] { @@ -75,52 +158,110 @@ Extension [ extension #86 gnupg version 1.4.0 ] { } } Function [ function gnupg_geterror ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } + } + Function [ function gnupg_geterrorinfo ] { + + - Parameters [1] { + Parameter #0 [ $res ] + } } Function [ function gnupg_addsignkey ] { + + - Parameters [3] { + Parameter #0 [ $res ] + Parameter #1 [ $kye ] + Parameter #2 [ $passphrase ] + } } Function [ function gnupg_addencryptkey ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $kye ] + } } Function [ function gnupg_adddecryptkey ] { + + - Parameters [3] { + Parameter #0 [ $res ] + Parameter #1 [ $kye ] + Parameter #2 [ $passphrase ] + } } Function [ function gnupg_deletekey ] { + + - Parameters [3] { + Parameter #0 [ $res ] + Parameter #1 [ $kye ] + Parameter #2 [ $allow_secret ] + } } Function [ function gnupg_gettrustlist ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $pattern ] + } } Function [ function gnupg_listsignatures ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $kyeid ] + } } Function [ function gnupg_seterrormode ] { + + - Parameters [2] { + Parameter #0 [ $res ] + Parameter #1 [ $errnmode ] + } } } - Classes [2] { Class [ 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 [ extension #86 gnupg version 1.4.0 ] { - Properties [0] { } - - Methods [23] { + - Methods [26] { + Method [ public method __construct ] { + + - Parameters [1] { + Parameter #0 [ $options ] + } + } + Method [ public method keyinfo ] { + + - Parameters [2] { + Parameter #0 [ $pattern ] + Parameter #1 [ $secret_only ] + } } Method [ public method verify ] { @@ -145,43 +298,102 @@ Extension [ extension #86 gnupg version 1.4.0 ] { } } + Method [ public method getengineinfo ] { + + - Parameters [0] { + } + } + Method [ public method geterror ] { + + - Parameters [0] { + } + } + + Method [ public method geterrorinfo ] { + + - Parameters [0] { + } } Method [ public method clearsignkeys ] { + + - Parameters [0] { + } } Method [ public method clearencryptkeys ] { + + - Parameters [0] { + } } Method [ public method cleardecryptkeys ] { + + - Parameters [0] { + } } Method [ public method setarmor ] { + + - Parameters [1] { + Parameter #0 [ $armor ] + } } Method [ public method encrypt ] { + + - Parameters [1] { + Parameter #0 [ $text ] + } } Method [ public method decrypt ] { + + - Parameters [1] { + Parameter #0 [ $enctext ] + } } Method [ public method export ] { + + - Parameters [1] { + Parameter #0 [ $pattern ] + } } Method [ public method import ] { + + - Parameters [1] { + Parameter #0 [ $kye ] + } } Method [ public method getprotocol ] { + + - Parameters [0] { + } } Method [ public method setsignmode ] { + + - Parameters [1] { + Parameter #0 [ $signmode ] + } } Method [ public method sign ] { + + - Parameters [1] { + Parameter #0 [ $text ] + } } Method [ public method encryptsign ] { + + - Parameters [1] { + Parameter #0 [ $text ] + } } Method [ public method decryptverify ] { @@ -193,24 +405,55 @@ Extension [ extension #86 gnupg version 1.4.0 ] { } Method [ public method addsignkey ] { + + - Parameters [2] { + Parameter #0 [ $kye ] + Parameter #1 [ $passphrase ] + } } Method [ public method addencryptkey ] { + + - Parameters [1] { + Parameter #0 [ $kye ] + } } Method [ public method adddecryptkey ] { + + - Parameters [2] { + Parameter #0 [ $kye ] + Parameter #1 [ $passphrase ] + } } Method [ public method deletekey ] { + + - Parameters [2] { + Parameter #0 [ $kye ] + Parameter #1 [ $allow_secret ] + } } Method [ public method gettrustlist ] { + + - Parameters [1] { + Parameter #0 [ $pattern ] + } } Method [ public method listsignatures ] { + + - Parameters [1] { + Parameter #0 [ $kyeid ] + } } Method [ public method seterrormode ] { + + - Parameters [1] { + Parameter #0 [ $errnmode ] + } } } } @@ -231,21 +474,39 @@ Extension [ extension #86 gnupg version 1.4.0 ] { - Methods [6] { Method [ public method __construct ] { + + - Parameters [0] { + } } Method [ public method current ] { + + - Parameters [0] { + } } Method [ public method key ] { + + - Parameters [0] { + } } Method [ public method next ] { + + - Parameters [0] { + } } Method [ public method rewind ] { + + - Parameters [0] { + } } Method [ public method valid ] { + + - Parameters [0] { + } } } } -- cgit