Method |
Description |
|
__construct ( array $json, string $channelURL, SignaturePublicKey $channelPublicKey, string $supplierName, string $packageName ) |
UpdateInfo constructor. |
|
getChannel ( ) : string |
Get the channel that we retrieved this update from. |
|
getChannelPublicKey ( ) : SignaturePublicKey |
Get the channel's public key |
|
getChecksum ( ) : string |
Get the checksum of the file. |
|
getMerkleRoot ( boolean $raw = false ) : string |
Get the expected Merkle root (verify with Keyggdrasil's cache) |
|
getPackageName ( ) : string |
Get the name of the package we're updating |
|
getResponse ( ) : array |
Get the full response body |
|
getSignature ( boolean $hex = false ) : string |
Get the signature |
|
getSupplierName ( ) : string |
Get the supplier's name |
|
getVersion ( ) : string |
Get the version for this particular update |
|
getVersionExpanded ( ) : integer |
Get the expanded version for this particular update |
|