Clanbite Since 1.6.0
verify( string $slug, string $version, string $sha256, string $signature, array $keys ): boolWhether a signature verifies against any trusted key.
public static
Class: Kernowdev\Clanbite\Updates\Release_Signature
Parameters
$slug(string) RequiredPlugin slug.
$version(string) RequiredRelease version.
$sha256(string) RequiredSHA-256 (hex) of the downloaded file.
$signature(string) RequiredBase64 detached signature from the server.
$keys(string[]) RequiredBase64 Ed25519 public keys.
Returns
bool
Defined in inc/updates/class-release-signature.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |