original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Signs array payload
  @param array $arrayToSign
  @return string Base64 encoded signature
  @ignore
docstring_tokens: Signs array payload