mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 13:21:34 +00:00
Adding messagekeys($enctext) method which returns recipient info
The return type is an associative array of keyid -> status, where status is true if we have a secret key locally for that key or false if not. If the provided $enctext is invalid, it returns false and sets the error state appropriately.
This commit is contained in:
parent
c4b82c4dee
commit
e7cd93ba73
2 changed files with 64 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ PHP_FUNCTION(gnupg_getprotocol);
|
|||
PHP_FUNCTION(gnupg_encrypt);
|
||||
PHP_FUNCTION(gnupg_encryptsign);
|
||||
PHP_FUNCTION(gnupg_decrypt);
|
||||
PHP_FUNCTION(gnupg_messagekeys);
|
||||
PHP_FUNCTION(gnupg_decryptverify);
|
||||
PHP_FUNCTION(gnupg_export);
|
||||
PHP_FUNCTION(gnupg_import);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue