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



PHP : Function Reference : gnupg Functions : gnupg_setsignmode

gnupg_setsignmode

Sets the mode for signing (PECL gnupg:0.1-1.3.1)
bool gnupg_setsignmode ( resource identifier, int signmode )

Example 856. Procedural gnupg_setsignmode() example

<?php
$res
= gnupg_init();
gnupg_setsignmode($res,GNUPG_SIG_MODE_DETACH); // produce a detached signature
?>

Example 857. OO gnupg_setsignmode() example

<?php
$gpg
= new gnupg();
$gpg -> setsignmode(gnupg::SIG_MODE_DETACH); // produce a detached signature
?>

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