Javascript debugger Website design
Returns the currently active protocol, which can be one of GNUPG_PROTOCOL_OpenPGP or GNUPG_PROTOCOL_CMS.
GNUPG_PROTOCOL_OpenPGP
GNUPG_PROTOCOL_CMS
<?php $res = gnupg_init(); echo gnupg_getprotocol($res); ?>
<?php $gpg = new gnupg(); echo $gpg -> getprotocol(); ?>