verify_file_signature


verify_file_signature ( $filename, $signatures, $filename_for_errors = false )

Parameters:
  • (string) filename The file to validate.
  • (string|array) signatures A Signature provided for the file.
  • (string|false) filename_for_errors Optional. A friendly filename for errors.
Returns:
  • (bool|WP_Error) True on success, false if verification not attempted, or WP_Error describing an error condition.
Defined at:

Description

Verifies the contents of a file against its ED25519 signature.

Related Functions

verify_file_md5, get_file_data, _unzip_file_ziparchive, rest_is_field_included, sanitize_file_name

Top Google Results

User discussions

wpseek mobile