<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.gnupg.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'ref.gnupg.php',
    1 => 'GnuPG Funzioni',
    2 => 'GnuPG Funzioni',
  ),
  'up' => 
  array (
    0 => 'book.gnupg.php',
    1 => 'GnuPG',
  ),
  'prev' => 
  array (
    0 => 'gnupg.examples-clearsign.php',
    1 => 'Clearsign text',
  ),
  'next' => 
  array (
    0 => 'function.gnupg-adddecryptkey.php',
    1 => 'gnupg_adddecryptkey',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gnupg/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.gnupg.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.gnupg" class="reference">
 <h1 class="title">GnuPG Funzioni</h1>

 <div class="partintro">
   <h1 class="title">Note</h1>
   <p class="simpara">
    This extension makes use of the keyring of the current user. This keyring
    is normally located in ~./.gnupg/.
    To specify a custom location, store the path to the keyring in the
    environment variable GNUPGHOME. See <a href="function.putenv.php" class="link">putenv</a> for more information how to do
    this.
   </p>
   <p class="simpara">
    Some functions require the specification of a key. This specification can
    be anything that refers to a unique key (userid, key-id, fingerprint,
    ...).
    This documentation uses the fingerprint in all examples.
   </p>
   <blockquote class="note"><p><strong class="note">Nota</strong>: 
    <span class="simpara">
     As alternative to the explicitly documented functions using
     <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>s, you can also use an object-oriented style using
     <span class="classname"><strong class="classname">gnupg</strong></span> objects.
    </span>
   </p></blockquote>
  </div>

 


































































































































<h2>Indice dei contenuti</h2><ul class="chunklist chunklist_reference"><li><a href="function.gnupg-adddecryptkey.php">gnupg_adddecryptkey</a> — Add a key for decryption</li><li><a href="function.gnupg-addencryptkey.php">gnupg_addencryptkey</a> — Add a key for encryption</li><li><a href="function.gnupg-addsignkey.php">gnupg_addsignkey</a> — Add a key for signing</li><li><a href="function.gnupg-cleardecryptkeys.php">gnupg_cleardecryptkeys</a> — Removes all keys which were set for decryption before</li><li><a href="function.gnupg-clearencryptkeys.php">gnupg_clearencryptkeys</a> — Removes all keys which were set for encryption before</li><li><a href="function.gnupg-clearsignkeys.php">gnupg_clearsignkeys</a> — Removes all keys which were set for signing before</li><li><a href="function.gnupg-decrypt.php">gnupg_decrypt</a> — Decrypts a given text</li><li><a href="function.gnupg-decryptverify.php">gnupg_decryptverify</a> — Decrypts and verifies a given text</li><li><a href="function.gnupg-deletekey.php">gnupg_deletekey</a> — Delete a key from the keyring</li><li><a href="function.gnupg-encrypt.php">gnupg_encrypt</a> — Encrypts a given text</li><li><a href="function.gnupg-encryptsign.php">gnupg_encryptsign</a> — Encrypts and signs a given text</li><li><a href="function.gnupg-export.php">gnupg_export</a> — Exports a key</li><li><a href="function.gnupg-getengineinfo.php">gnupg_getengineinfo</a> — Returns the engine info</li><li><a href="function.gnupg-geterror.php">gnupg_geterror</a> — Returns the errortext, if a function fails</li><li><a href="function.gnupg-geterrorinfo.php">gnupg_geterrorinfo</a> — Returns the error info</li><li><a href="function.gnupg-getprotocol.php">gnupg_getprotocol</a> — Returns the currently active protocol for all operations</li><li><a href="function.gnupg-gettrustlist.php">gnupg_gettrustlist</a> — Search the trust items</li><li><a href="function.gnupg-import.php">gnupg_import</a> — Imports a key</li><li><a href="function.gnupg-init.php">gnupg_init</a> — Initialize a connection</li><li><a href="function.gnupg-keyinfo.php">gnupg_keyinfo</a> — Returns an array with information about all keys that matches the given pattern</li><li><a href="function.gnupg-listsignatures.php">gnupg_listsignatures</a> — List key signatures</li><li><a href="function.gnupg-setarmor.php">gnupg_setarmor</a> — Toggle armored output</li><li><a href="function.gnupg-seterrormode.php">gnupg_seterrormode</a> — Sets the mode for error_reporting</li><li><a href="function.gnupg-setsignmode.php">gnupg_setsignmode</a> — Sets the mode for signing</li><li><a href="function.gnupg-sign.php">gnupg_sign</a> — Signs a given text</li><li><a href="function.gnupg-verify.php">gnupg_verify</a> — Verifies a signed text</li></ul>
</div>
<?php manual_footer($setup); ?>