Phar::getSupportedSignatures
Phar::getSupportedSignatures
(PHP >= 5.3.0, PECL phar >= 1.1.0)
Phar::getSupportedSignatures — Return array of supported signature types
Description
final public static array Phar::getSupportedSignatures ( void )
Return array of supported signature types
Parameters
No parameters.
Return Values
Returns an array containing any of MD5
, SHA-1
, SHA-256
, SHA-512
, or OpenSSL
.
See Also
- Phar::getSignature() - Return MD5/SHA1/SHA256/SHA512/OpenSSL signature of a Phar archive
- Phar::setSignatureAlgorithm() - set the signature algorithm for a phar and apply it.
← Phar::getSupportedCompression
Phar::getVersion →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/phar.getsupportedsignatures.php