PHP Class Airship\Engine\Keyggdrasil\Peer

Represents a peer for a given channel
Afficher le fichier Open project: paragonie/airship

Méthodes publiques

Méthode Description
__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?

Method Details

__construct() public méthode

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

getAllURLs() public méthode

Get all URLs
public getAllURLs ( string $suffix = '', boolean $doNotShuffle = false ) : array
$suffix string
$doNotShuffle boolean
Résultat array

getPublicKey() public méthode

Get the Ed25519 public key for this peer
public getPublicKey ( ) : SignaturePublicKey
Résultat ParagonIE\Halite\Asymmetric\SignaturePublicKey

hasOnionAddress() public méthode

Does this domain have a .onion address?
public hasOnionAddress ( ) : boolean
Résultat boolean