<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.rnp.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.rnp-locate-key.php',
    1 => 'rnp_locate_key',
    2 => 'Search for the key',
  ),
  'up' => 
  array (
    0 => 'ref.rnp.php',
    1 => 'Rnp Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.rnp-load-keys-from-path.php',
    1 => 'rnp_load_keys_from_path',
  ),
  'next' => 
  array (
    0 => 'function.rnp-op-encrypt.php',
    1 => 'rnp_op_encrypt',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/rnp/functions/rnp-locate-key.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.rnp-locate-key" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">rnp_locate_key</h1>
  <p class="verinfo">(PECL rnp &gt;= 0.1.1)</p><p class="refpurpose"><span class="refname">rnp_locate_key</span> &mdash; <span class="dc-title">Search for the key</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.rnp-locate-key-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>rnp_locate_key</strong></span>(<span class="methodparam"><span class="type"><a href="class.rnpffi.php" class="type RnpFFI">RnpFFI</a></span> <code class="parameter">$ffi</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$identifier_type</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$identifier</code></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="simpara">
   Note: only valid userids are checked while searching by userid.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.rnp-locate-key-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">ffi</code></dt>
    <dd>
     <span class="simpara">
      Das von <span class="function"><a href="function.rnp-ffi-create.php" class="function">rnp_ffi_create()</a></span> zurückgegebene FFI-Objekt.
     </span>
    </dd>
   
   
    <dt><code class="parameter">identifier_type</code></dt>
    <dd>
     <span class="simpara">
      Identifier type string: &quot;userid&quot;, &quot;keyid&quot;, &quot;fingerprint&quot;, &quot;grip&quot;.
     </span>
    </dd>
   
   
    <dt><code class="parameter">identifier</code></dt>
    <dd>
     <span class="simpara">
      PGP User ID (name and email) for &quot;userid&quot; type, hexadecimal string
      that represents key id, fingerprint or key grip correspondingly.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.rnp-locate-key-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   Returns hexadecimal fingerprint of the key found on successBei einem Fehler wird <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> zurückgegeben..
  </p>
 </div>



</div><?php manual_footer($setup); ?>