Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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? |
Метод | Описание | |
---|---|---|
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 | ||
Результат | integer |
public getPackageName ( ) : string | ||
Результат | string |
public getPackageType ( ) : string | ||
Результат | string |
public getPublicKeyObject ( ) : SignaturePublicKey | ||
Результат | SignaturePublicKey |
public getPublicKeyString ( ) : string | ||
Результат | string |
public isAirshipUpdate ( ) : boolean | ||
Результат | boolean |
public isCreateKey ( ) : boolean | ||
Результат | boolean |
public isPackageUpdate ( ) : boolean | ||
Результат | boolean |
public isRevokeKey ( ) : boolean | ||
Результат | boolean |
protected loadSupplier ( Channel $chan, array $updateData ) : Supplier | ||
$chan | Channel | |
$updateData | array | |
Результат | Supplier |
protected unpackMessageUpdate ( Channel $chan, array $updateData ) : void | ||
$chan | Channel | |
$updateData | array | |
Результат | void |
protected SignaturePublicKey $supplierMasterKeyUsed | ||
Результат | SignaturePublicKey |