gnupg_keyinfo

(PECL gnupg >= 0.1)

gnupg_keyinfoReturns an array with information about all keys that matches the given pattern

说明

gnupg_keyinfo ( resource $identifier , string $pattern ) : array

参数

identifier

gnupg 标识符,由对 gnupg_init()gnupg 的调用生成。

pattern

The pattern being checked against the keys.

返回值

Returns an array with information about all keys that matches the given pattern or FALSE, if an error has occurred.

范例

Example #1 Procedural gnupg_keyinfo() example

<?php
$res 
gnupg_init();
$info gnupg_keyinfo($res'test');
print_r($info);
?>

Example #2 OO gnupg_keyinfo() example

<?php
$gpg 
= new gnupg();
$info $gpg -> keyinfo("test");
print_r($info);
?>

相关文章
php date/time 函数 returns associative array with detailed info about given datephp date/time 函数 returns an array with information about sunset/sunrise and twilight begin/endphp gnupg 函数 removes all keys which were set for decryption beforephp gnupg 函数 removes all keys which were set for encryption beforephp gnupg 函数 returns the currently active protocol for all operationsphp gnupg 函数 returns an array with information about all keys that matches the given patternphp imap 函数 returns all imap alert messages that have occurredphp imap 函数 returns all of the imap errors that have occurredphp imap 函数 returns the list of mailboxes that matches the given textphp mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp mysqlnd memcache 函数 returns information about the plugin configurationphp odbc 函数 returns information about a current connectionphp socket 函数 get array with contents of getaddrinfo about the given hostnamephp sqlite 函数 execute a query against a given database and returns an arrayphp sqlsrv 函数 returns information about the client and specified connectionphp sqlsrv 函数 returns error and warning information about the last sqlsrv operation performedphp sqlsrv 函数 returns information about the serverphp hyperwave api 函数 returns information about server configurationphp mongodb driver server returns an array of information about this serverphp mongopool returns information about all connection pools
关注编程学问公众号