Method | Description | |
---|---|---|
autoUpdate ( ) | Process automatic updates: | |
downloadUpdateFile ( UpdateInfo $update, string $apiEndpoint = 'download' ) : UpdateFile | Download an update into a temp file | |
verifyUpdateSignature ( UpdateInfo $info, UpdateFile $file ) : boolean | Verify the Ed25519 signature of the update file against the supplier's public key. |
public autoUpdate ( ) |
public downloadUpdateFile ( UpdateInfo $update, string $apiEndpoint = 'download' ) : UpdateFile | ||
$update | UpdateInfo | |
$apiEndpoint | string | |
return | UpdateFile |
public verifyUpdateSignature ( UpdateInfo $info, UpdateFile $file ) : boolean | ||
$info | UpdateInfo | |
$file | UpdateFile | |
return | boolean |