Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : gnupg Functions : gnupg_getprotocol

gnupg_getprotocol

Returns the currently active protocol for all operations (PECL gnupg:0.1-1.3.1)
int gnupg_getprotocol ( resource identifier )

Example 846. Procedural gnupg_getprotocol() example

<?php
$res
= gnupg_init();
echo
gnupg_getprotocol($res);
?>

Example 847. OO gnupg_getprotocol() example

<?php
$gpg
= new gnupg();
echo
$gpg -> getprotocol();
?>

Change Language


Follow Navioo On Twitter
gnupg_adddecryptkey
gnupg_addencryptkey
gnupg_addsignkey
gnupg_cleardecryptkeys
gnupg_clearencryptkeys
gnupg_clearsignkeys
gnupg_decrypt
gnupg_decryptverify
gnupg_encrypt
gnupg_encryptsign
gnupg_export
gnupg_geterror
gnupg_getprotocol
gnupg_import
gnupg_keyinfo
gnupg_setarmor
gnupg_seterrormode
gnupg_setsignmode
gnupg_sign
gnupg_verify
eXTReMe Tracker