Property | Type | Description | |
---|---|---|---|
$channelId | integer | ||
$channelName | string | ||
$checksum | string | ||
$isNewSupplier | boolean | ||
$keyType | string | ||
$masterSig | string | null | ||
$merkleRoot | string | ||
$newPublicKey | string | ||
$packageType | string | ||
$stored | array | ||
$supplier | Supplier | ||
$supplierMasterKeyUsed | SignaturePublicKey | ||
$supplierName | string | ||
$updateMessage | array | ||
$verified | boolean |
Method | Description | |
---|---|---|
__construct ( Channel $chan, array $updateData ) | TreeUpdate constructor. | |
getChannelId ( ) : integer | The upstream primary key for this update | |
getChannelName ( ) : string | ||
getKeyType ( ) : string | ||
getNodeData ( ) : array | ||
getNodeJSON ( ) : string | ||
getPackageName ( ) : string | What is the name of this package? | |
getPackageType ( ) : string | What type of package is this? Possible values: Core, Cabin, Motif, or Gadget. | |
getPublicKeyObject ( ) : SignaturePublicKey | Get the new public key as a SignaturePublicKey object | |
getPublicKeyString ( ) : string | Get the new public key as a hex-coded string | |
getRoot ( ) : string | Get the Merkle root for this update | |
getSupplier ( ) : Supplier | ||
getSupplierName ( ) : string | ||
isAirshipUpdate ( ) : boolean | Is this an update to the Airship core? | |
isCreateKey ( ) : boolean | Is this a "create key" update? | |
isPackageUpdate ( ) : boolean | Is this a "package release" update? | |
isRevokeKey ( ) : boolean | Is this a "revoke key" update? |
Method | Description | |
---|---|---|
loadSupplier ( Channel $chan, array $updateData ) : Supplier | Return the appropriate supplier (or create it if it doesn't already exist) | |
unpackMessageUpdate ( Channel $chan, array $updateData ) : void | This method stores the necessary bits of data in this object. |
public __construct ( Channel $chan, array $updateData ) | ||
$chan | Channel | |
$updateData | array |
public getChannelId ( ) : integer | ||
return | integer |
public getPackageName ( ) : string | ||
return | string |
public getPackageType ( ) : string | ||
return | string |
public getPublicKeyObject ( ) : SignaturePublicKey | ||
return | SignaturePublicKey |
public getPublicKeyString ( ) : string | ||
return | string |
public isAirshipUpdate ( ) : boolean | ||
return | boolean |
public isCreateKey ( ) : boolean | ||
return | boolean |
public isPackageUpdate ( ) : boolean | ||
return | boolean |
public isRevokeKey ( ) : boolean | ||
return | boolean |
protected loadSupplier ( Channel $chan, array $updateData ) : Supplier | ||
$chan | Channel | |
$updateData | array | |
return | Supplier |
protected unpackMessageUpdate ( Channel $chan, array $updateData ) : void | ||
$chan | Channel | |
$updateData | array | |
return | void |
protected SignaturePublicKey $supplierMasterKeyUsed | ||
return | SignaturePublicKey |