Method |
Description |
|
__construct ( Supplier $supplier, array $data ) |
InstallFile constructor. |
|
getHash ( ) : string |
Get the hex-encoded hash of the file contents |
|
getMerkleRoot ( ) : string |
Get the Merkle root that matches this version's release |
|
getPath ( ) : string |
Get the name of the file |
|
getSignature ( ) : string |
Get the hex-encoded signature for this file. |
|
getSize ( ) : integer |
Get the size of the file |
|
getVersion ( ) : string |
Get the version of a particular update file. |
|
hashMatches ( string $hash ) : boolean |
Does the given hash match the file? |
|
signatureIsValid ( boolean $fastExit = false ) : boolean |
Check that the signature is valid for this supplier's
public keys. |
|