/** * Create the signature from the command * * @param CommandInterface $command * @param string $authKey * @param int $timestamp Unix timestamp * @return string */ public static function sign(CommandInterface $command, $authKey, $timestamp = null) { return static::createSignature($authKey, $command->getRequestUrl(), $command->getRequestData(), $timestamp); }