Airship\Engine\Continuum\Updaters\UpdateInfo::getSignature PHP Method

getSignature() public method

Get the signature
public getSignature ( boolean $hex = false ) : string
$hex boolean
return string
    public function getSignature(bool $hex = false) : string
    {
        $signature = $this->releaseInfo['signature'];
        if (!$hex) {
            return \Sodium\hex2bin($signature);
        }
        return $signature;
    }