php man page for gnupg_setarmor

Query: gnupg_setarmor

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GNUPG_SETARMOR(3)							 1							 GNUPG_SETARMOR(3)

gnupg_setarmor - Toggle armored output

SYNOPSIS
bool gnupg_setarmor (resource $identifier, int $armor)
DESCRIPTION
Toggle the armored output.
PARAMETERS
o $identifier -The gnupg identifier, from a call to gnupg_init(3) or gnupg. o $armor - Pass a non-zero integer-value to this function to enable armored-output (default). Pass 0 to disable armored output.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 Procedural gnupg_setarmor(3) example <?php $res = gnupg_init(); gnupg_setarmor($res,1); // enable armored output; gnupg_setarmor($res,0); // disable armored output; ?> Example #2 OO gnupg_setarmor(3) example <?php $gpg = new gnupg(); $gpg -> setarmor(1); // enable armored output; $gpg -> setarmor(0); // disable armored output; ?> PHP Documentation Group GNUPG_SETARMOR(3)
Related Man Pages
gpgv(1) - linux
gpgv(1) - suse
gpgv2(1) - debian
gnupg_decryptverify(3) - php
gnupg_sign(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!