gnupg_getprotocol(3) php man page | unix.com

Man Page: gnupg_getprotocol

Operating Environment: php

Section: 3

GNUPG_GETPROTOCOL(3)							 1						      GNUPG_GETPROTOCOL(3)

gnupg_getprotocol - Returns the currently active protocol for all operations

SYNOPSIS
int gnupg_getprotocol (resource $identifier)
DESCRIPTION
PARAMETERS
o $identifier -The gnupg identifier, from a call to gnupg_init(3) or gnupg.
RETURN VALUES
Returns the currently active protocol, which can be one of GNUPG_PROTOCOL_OpenPGP or GNUPG_PROTOCOL_CMS.
EXAMPLES
Example #1 Procedural gnupg_getprotocol(3) example <?php $res = gnupg_init(); echo gnupg_getprotocol($res); ?> Example #2 OO gnupg_getprotocol(3) example <?php $gpg = new gnupg(); echo $gpg -> getprotocol(); ?> PHP Documentation Group GNUPG_GETPROTOCOL(3)
Related Man Pages
gnupg_decryptverify(3) - php
ldap_errno(3) - php
ovrimos_fetch_into(3) - php
ovrimos_fetch_row(3) - php
pg_field_name(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!