PHP Класс Airship\Engine\Keyggdrasil\Peer

Represents a peer for a given channel
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( array $config = [] ) Peer constructor.
getAllURLs ( string $suffix = '', boolean $doNotShuffle = false ) : array Get all URLs
getPublicKey ( ) : SignaturePublicKey Get the Ed25519 public key for this peer
hasOnionAddress ( ) : boolean Does this domain have a .onion address?

Описание методов

__construct() публичный Метод

Peer constructor.
public __construct ( array $config = [] )
$config array

getAllURLs() публичный Метод

Get all URLs
public getAllURLs ( string $suffix = '', boolean $doNotShuffle = false ) : array
$suffix string
$doNotShuffle boolean
Результат array

getPublicKey() публичный Метод

Get the Ed25519 public key for this peer
public getPublicKey ( ) : SignaturePublicKey
Результат ParagonIE\Halite\Asymmetric\SignaturePublicKey

hasOnionAddress() публичный Метод

Does this domain have a .onion address?
public hasOnionAddress ( ) : boolean
Результат boolean