public function setSignature($parameters, $privateKey, $service, $endpoint, $timestamp, $nonce)
    {
        $this->__setCookie('signature', rawurlencode($this->sign($privateKey, array_merge($parameters, [
            '__service'   => $service,
            '__hostname'  => $endpoint,
            '__timestamp' => $timestamp,
            '__nonce'     => $nonce,
        ]))));
    }