protected function signRequest($arrayToSign) {
		$stringToSign = Crypto::createSignatureBaseFromArray($arrayToSign);
		$keyFile = $this->config->privateKeyFile;
		$signature = Crypto::signString(
			$stringToSign,
			$keyFile,
			$this->config->privateKeyPassword
		);

		$this->writeToTraceLog("Signing string \"$stringToSign\" using key $keyFile, result: ".$signature);

		return $signature;
	}
protected function signRequest($arrayToSign) {
		$stringToSign = Crypto::createSignatureBaseFromArray($arrayToSign);
		$keyFile = $this->config->privateKeyFile;
		$signature = Crypto::signString(
			$stringToSign,
			$keyFile,
			$this->config->privateKeyPassword
		);

		$this->writeToTraceLog("Signing string \"$stringToSign\" using key $keyFile, result: ".$signature);

		return $signature;
	}
protected function signRequest ( $ arrayToSign ) { $ stringToSign = Crypto :: createSignatureBaseFromArray ( $ arrayToSign ) ; $ keyFile = $ this -> config -> privateKeyFile ; $ signature = Crypto :: signString ( $ stringToSign , $ keyFile , $ this -> config -> privateKeyPassword ) ; $ this -> writeToTraceLog ( "Signing string \"$stringToSign\" using key $keyFile, result: " . $ signature ) ; return $ signature ; }
Signs array payload
@param array $arrayToSign
@return string Base64 encoded signature
@ignore
Signs array payload