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) - debian
gnupg_decryptverify(3) - php
ldap_set_option(3) - php
ssh2_auth_hostbased_file(3) - php
ssh2_auth_pubkey_file(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!