Home > PHP > Function > GnuPG > gnupg_export()

gnupg_export()

gnupg_export - Exports a key

Syntax

string gnupg_export (resource $identifier, string $fingerprint)

Arguments

  • identifier - The gnupg identifier, from a call to gnupg_init() or gnupg.
  • fingerprint - The fingerprint key.

Description

Exports the key fingerprint.

Version

PHP PECL gnupg >= 0.1

Return value

On success, this function returns the keydata. On failure, this function returns FALSE.