Phar::getSupportedSignatures
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.1.0)
Phar::getSupportedSignatures — Return array of supported signature types
Description
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