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) $filename_for_errors A friendly filename for errors. Optional.
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, sanitize_file_name, _unzip_file_ziparchive, wp_verify_nonce

Top Google Results

User discussions

wpseek mobile