/**
  * Computes the authorization signature for blob and queue shared key.
  *
  * @param array  $headers     request headers.
  * @param string $url         reuqest url.
  * @param array  $queryParams query variables.
  * @param string $httpMethod  request http method.
  * 
  * @see Blob and Queue Services (Shared Key Authentication) at
  *      http://msdn.microsoft.com/en-us/library/windowsazure/dd179428.aspx
  * 
  * @return string
  */
 protected function computeSignature($headers, $url, $queryParams, $httpMethod)
 {
     $canonicalizedResource = parent::computeCanonicalizedResourceForTable($url, $queryParams);
     $stringToSign = array();
     foreach ($this->includedHeaders as $header) {
         $stringToSign[] = Utilities::tryGetValue($headers, $header);
     }
     $stringToSign[] = $canonicalizedResource;
     $stringToSign = implode("\n", $stringToSign);
     return $stringToSign;
 }
 public function computeCanonicalizedResourceForTableMock($url, $queryParams)
 {
     return parent::computeCanonicalizedResourceForTable($url, $queryParams);
 }