gnupg_setarmor

PECL gnupg >= 0.1
gnupg_setarmor - Toggle armored output
Manual
Code Examples

gnupg_setarmor( resource$identifier, int$armor ): bool

Toggle the armored output.

Parameters

identifier

The gnupg identifier, from a call to gnupg_init or gnupg.

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.

Example of gnupg_setarmor

Show all examples for gnupg_setarmor

PHP Version: