PHP 클래스 Airship\Engine\Keyggdrasil\Peer

Represents a peer for a given channel
파일 보기 프로젝트 열기: paragonie/airship

공개 메소드들

메소드 설명
__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