Home > PHP > Function > GnuPG > gnupg_keyinfo()

gnupg_keyinfo()

gnupg_keyinfo - Returns an array with information about all keys that matches the given pattern

Syntax

array gnupg_keyinfo (resource $identifier, string $pattern)

Arguments

  • identifier - The gnupg identifier, from a call to gnupg_init() or gnupg.
  • pattern - The pattern being checked against the keys.

Description

Version

PHP PECL gnupg >= 0.1

Return value

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