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



PHP : Function Reference : gnupg Functions : gnupg_import

gnupg_import

Imports a key (PECL gnupg:0.3-1.3.1)
array gnupg_import ( resource identifier, string keydata )

Example 848. Procedural gnupg_import() example

<?php
$res
= gnupg_init();
$info = gnupg_import($res,$keydata);
print_r($info);
?>

Example 849. OO gnupg_import() example

<?php
$gpg
= new gnupg();
$info = $gpg -> import($keydata);
print_r($info);
?>

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