PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gnupg_setarmor> <gnupg_init
Last updated: Fri, 10 Oct 2008

view this page in

gnupg_keyinfo

(PECL gnupg:0.1-1.3.1)

gnupg_keyinfo 指定したパターンに一致するすべてのキーについての情報を配列で返す

説明

array gnupg_keyinfo ( resource $identifier , string $pattern )

パラメータ

identifier

gnupg_init() あるいは gnupg のコールで得られた gnupg ID。

pattern

キーに対してチェックを行いたいパターン。

返り値

指定したパターンに一致するすべてのキーについての情報を配列で返します。 エラーが発生した場合は FALSE を返します。

例1 手続き型の gnupg_keyinfo() の例

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

例2 オブジェクト指向の gnupg_keyinfo() の例

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



add a note add a note User Contributed Notes
gnupg_keyinfo
There are no user contributed notes for this page.

gnupg_setarmor> <gnupg_init
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites