mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-28 03:03:19 +02:00
100 lines
2.5 KiB
XML
100 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: dc54babb688f72ee5b40cd6240a8d506623f5e10 Maintainer: jsgoupil Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<refentry xml:id="function.gnupg-export" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>gnupg_export</refname>
|
|
<refpurpose>Exporte une clé</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>gnupg_export</methodname>
|
|
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>fingerprint</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Exporte la clé <parameter>fingerprint</parameter>.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>identifier</parameter></term>
|
|
<listitem>
|
|
&gnupg.identifier;
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>fingerprint</parameter></term>
|
|
<listitem>
|
|
&gnupg.fingerprint;
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
En cas de succès, cette fonction retourne les données de la clé.
|
|
En cas d'échec, cette fonction retourne &false;.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title>Exemple avec <function>gnupg_export</function> (Style procédural)</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
$res = gnupg_init();
|
|
$export = gnupg_export($res,"8660281B6051D071D94B5B230549F9DC851566DC");
|
|
echo $export;
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
<example>
|
|
<title>Exemple avec <function>gnupg_export</function> (Style orienté objet)</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
$gpg = new gnupg();
|
|
$export = $gpg->export("8660281B6051D071D94B5B230549F9DC851566DC");
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|