gnupg_adddecryptkey(3) php man page | unix.com

Man Page: gnupg_adddecryptkey

Operating Environment: php

Section: 3

GNUPG_ADDDECRYPTKEY(3)							 1						    GNUPG_ADDDECRYPTKEY(3)

gnupg_adddecryptkey - Add a key for decryption

SYNOPSIS
bool gnupg_adddecryptkey (resource $identifier, string $fingerprint, string $passphrase)
DESCRIPTION
PARAMETERS
o $identifier -The gnupg identifier, from a call to gnupg_init(3) or gnupg. o $fingerprint -The fingerprint key. o $passphrase - The pass phrase.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Procedural gnupg_adddecryptkey(3) example <?php $res = gnupg_init(); gnupg_adddecryptkey($res,"8660281B6051D071D94B5B230549F9DC851566DC","test"); ?> Example #2 OO gnupg_adddecryptkey(3) example <?php $gpg = new gnupg(); $gpg -> adddecryptkey("8660281B6051D071D94B5B230549F9DC851566DC","test"); ?> PHP Documentation Group GNUPG_ADDDECRYPTKEY(3)
Related Man Pages
gpg-preset-passphrase(1) - centos
gpg-preset-passphrase(1) - suse
gnupg_sign(3) - php
gnupg_verify(3) - php
pg_free_result(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!