gnupg_addencryptkey(3) php man page | unix.com

Man Page: gnupg_addencryptkey

Operating Environment: php

Section: 3

GNUPG_ADDENCRYPTKEY(3)							 1						    GNUPG_ADDENCRYPTKEY(3)

gnupg_addencryptkey - Add a key for encryption

SYNOPSIS
bool gnupg_addencryptkey (resource $identifier, string $fingerprint)
DESCRIPTION
PARAMETERS
o $identifier -The gnupg identifier, from a call to gnupg_init(3) or gnupg. o $fingerprint -The fingerprint key.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Procedural gnupg_addencryptkey(3) example <?php $res = gnupg_init(); gnupg_addencryptkey($res,"8660281B6051D071D94B5B230549F9DC851566DC"); ?> Example #2 OO gnupg_addencryptkey(3) example <?php $gpg = new gnupg(); $gpg -> addencryptkey("8660281B6051D071D94B5B230549F9DC851566DC"); ?> PHP Documentation Group GNUPG_ADDENCRYPTKEY(3)
Related Man Pages
gnupg_encryptsign(3) - php
gnupg_sign(3) - php
gnupg_verify(3) - php
wincache_ucache_dec(3) - php
wincache_ucache_inc(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!