PHP Doku:: Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive - phar.getsignature.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzErweiterungen zur Datenkompression und ArchivierungPharThe Phar classPhar::getSignature

Ein Service von Reinhard Neidl - Webprogrammierung.

The Phar class

<<Phar::getModified

Phar::getStub>>

Phar::getSignature

(PHP >= 5.3.0, PECL phar >= 1.0.0)

Phar::getSignatureReturn MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive

Beschreibung

array Phar::getSignature ( void )

Returns the verification signature of a phar archive in a hexadecimal string.

Parameter-Liste

Rückgabewerte

Array with the opened archive's signature in hash key and MD5, SHA-1, SHA-256, SHA-512, or OpenSSL in hash_type. This signature is a hash calculated on the entire phar's contents, and may be used to verify the integrity of the archive. A valid signature is absolutely required of all executable phar archives if the phar.require_hash INI variable is set to true.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)