code: 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,
          ]))));
      }
docs: Create and set the signature cookie.
  
  @param array  $parameters Parameters to sign
  @param string $privateKey Private key to sign the request with
  @param string $service    WSDL service
  @param string $endpoint   TransIP endpoint
  @param string $timestamp  Timestamp
  @param string $nonce      Nonce