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