|
gnupg_sign
Signs a given text
(PECL gnupg:0.1-1.3.1)
Example 858. Procedural gnupg_sign() example<?php Example 859. OO gnupg_sign() example<?php Code Examples / Notes » gnupg_signphplist2remove
It's a bit confusing how the "keyinfo" for a key returns "can_sign". If you have only added your Public Key, it will indicate "can_sign" for the key in "keyinfo", but that doesn't mean yet, that you can sign with the key. You will also need to add your Private Key to actually make signing work. |
Change Languagegnupg_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 |