mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-25 17:32:07 +01:00
61 lines
2.1 KiB
XML
61 lines
2.1 KiB
XML
<?xml version='1.0' encoding='utf-8'?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 28046efaba656e158bdf45a2585c23a339943869 Maintainer: gui Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
<refentry xml:id="phar.getsignature" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>Phar::getSignature</refname>
|
|
<refpurpose>Retourne la signature MD5/SHA1/SHA256/SHA512 d'une archive Phar</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>Phar::getSignature</methodname>
|
|
<void/>
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
Retourne la signature de vérification d'une archive phar sous forme d'une chaîne de caractères hexadécimale.
|
|
</para>
|
|
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Un tableau avec la signature de l'archive ouverte avec le <literal>hash</literal> en guise de clé et
|
|
"<literal>MD5</literal>", "<literal>SHA-1</literal>", "<literal>SHA-256</literal>"
|
|
ou "<literal>SHA-512</literal>" comme <literal>hash_type</literal>. Cette signature est un hachage
|
|
calculé à partir du contenu de l'archive entière; elle peut être utilisée pour vérifier
|
|
l'intégrité de l'archive. Une signature valide est absolument requise pour toutes les archives phar
|
|
exécutables si la variable INI <link linkend="ini.phar.require-hash">phar.require_hash</link> vaut &true;.
|
|
S'il n'y a pas de signature, la fonction retourne &false;
|
|
</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
|
|
-->
|