PHP 클래스 Airship\Engine\Keyggdrasil\TreeUpdate

This represents an update to Keyggdrasil
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$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.

메소드 상세

__construct() 공개 메소드

TreeUpdate constructor.
public __construct ( Channel $chan, array $updateData )
$chan Channel
$updateData array

getChannelId() 공개 메소드

The upstream primary key for this update
public getChannelId ( ) : integer
리턴 integer

getChannelName() 공개 메소드

public getChannelName ( ) : string
리턴 string

getKeyType() 공개 메소드

public getKeyType ( ) : string
리턴 string

getNodeData() 공개 메소드

public getNodeData ( ) : array
리턴 array

getNodeJSON() 공개 메소드

public getNodeJSON ( ) : string
리턴 string

getPackageName() 공개 메소드

What is the name of this package?
public getPackageName ( ) : string
리턴 string

getPackageType() 공개 메소드

What type of package is this? Possible values: Core, Cabin, Motif, or Gadget.
public getPackageType ( ) : string
리턴 string

getPublicKeyObject() 공개 메소드

Get the new public key as a SignaturePublicKey object
public getPublicKeyObject ( ) : SignaturePublicKey
리턴 SignaturePublicKey

getPublicKeyString() 공개 메소드

Get the new public key as a hex-coded string
public getPublicKeyString ( ) : string
리턴 string

getRoot() 공개 메소드

Get the Merkle root for this update
public getRoot ( ) : string
리턴 string

getSupplier() 공개 메소드

public getSupplier ( ) : Supplier
리턴 Supplier

getSupplierName() 공개 메소드

public getSupplierName ( ) : string
리턴 string

isAirshipUpdate() 공개 메소드

Is this an update to the Airship core?
public isAirshipUpdate ( ) : boolean
리턴 boolean

isCreateKey() 공개 메소드

Is this a "create key" update?
public isCreateKey ( ) : boolean
리턴 boolean

isPackageUpdate() 공개 메소드

Is this a "package release" update?
public isPackageUpdate ( ) : boolean
리턴 boolean

isRevokeKey() 공개 메소드

Is this a "revoke key" update?
public isRevokeKey ( ) : boolean
리턴 boolean

loadSupplier() 보호된 메소드

Return the appropriate supplier (or create it if it doesn't already exist)
protected loadSupplier ( Channel $chan, array $updateData ) : Supplier
$chan Channel
$updateData array
리턴 Supplier

unpackMessageUpdate() 보호된 메소드

This method stores the necessary bits of data in this object.
protected unpackMessageUpdate ( Channel $chan, array $updateData ) : void
$chan Channel
$updateData array
리턴 void

프로퍼티 상세

$channelId 보호되어 있는 프로퍼티

protected int $channelId
리턴 integer

$channelName 보호되어 있는 프로퍼티

protected string $channelName
리턴 string

$checksum 보호되어 있는 프로퍼티

protected string $checksum
리턴 string

$isNewSupplier 보호되어 있는 프로퍼티

protected bool $isNewSupplier
리턴 boolean

$keyType 보호되어 있는 프로퍼티

protected string $keyType
리턴 string

$masterSig 보호되어 있는 프로퍼티

protected string|null $masterSig
리턴 string | null

$merkleRoot 보호되어 있는 프로퍼티

protected string $merkleRoot
리턴 string

$newPublicKey 보호되어 있는 프로퍼티

protected string $newPublicKey
리턴 string

$packageType 보호되어 있는 프로퍼티

protected string $packageType
리턴 string

$stored 보호되어 있는 프로퍼티

protected array $stored
리턴 array

$supplier 보호되어 있는 프로퍼티

protected Supplier $supplier
리턴 Supplier

$supplierMasterKeyUsed 보호되어 있는 프로퍼티

protected SignaturePublicKey $supplierMasterKeyUsed
리턴 SignaturePublicKey

$supplierName 보호되어 있는 프로퍼티

protected string $supplierName
리턴 string

$updateMessage 보호되어 있는 프로퍼티

protected array $updateMessage
리턴 array

$verified 보호되어 있는 프로퍼티

protected bool $verified
리턴 boolean