/// <summary>
		/// The sign query item.
		/// </summary>
		/// <param name="cryptoProcessor">The crypto processor.</param>
		/// <param name="itemInfo">The item info.</param>
		/// <param name="query">The query.</param>
		private void SignQueryItem(CryptoProcessor cryptoProcessor, QueryItemInfo itemInfo, QueryInfo query)
		{
			this._logger.WriteToLog("prepare to sign the query....");

			itemInfo.ParentQuery = query;
			new QueryPreparator(this.Settings, this._logger).PrepareIfNeeds(itemInfo);

			this._logger.WriteToLog("Sign query....");

			itemInfo.Signature = cryptoProcessor.Sign(itemInfo.Text);
		}
		private void SignLicenses(IEnumerable<ConnectionGroupInfo> connections, CryptoProcessor cp)
		{
			foreach (ConnectionGroupInfo connection in connections)
			{
				foreach (InstanceInfo instance in connection.Connections)
				{
					if (instance.LicenseInfo == null)
					{
						this._logger.WriteToLog(GetText("NoLicenseDataForInstance") + instance.Instance);
					}
					else
					{
						instance.LicenseInfo.Signature = cp.Sign(instance.GetHash());
					}
				}
			}
		}