public function verifyDataSignature ( $data, $consumer_secret, $token_secret, $signature_method, $signature )
	{
		if (is_null($data))
		{
			$data = '';
		}

		$sig = $this->getSignatureMethod($signature_method);
		if (!$sig->verify($this, $data, $consumer_secret, $token_secret, $signature))
		{
			throw new OAuthException2('Signature verification failed ('.$signature_method.')');
		}
	}
public function verifyDataSignature ( $data, $consumer_secret, $token_secret, $signature_method, $signature )
	{
		if (is_null($data))
		{
			$data = '';
		}

		$sig = $this->getSignatureMethod($signature_method);
		if (!$sig->verify($this, $data, $consumer_secret, $token_secret, $signature))
		{
			throw new OAuthException2('Signature verification failed ('.$signature_method.')');
		}
	}
public function verifyDataSignature ( $ data , $ consumer_secret , $ token_secret , $ signature_method , $ signature ) { if ( is_null ( $ data ) ) { $ data = '' ; } $ sig = $ this -> getSignatureMethod ( $ signature_method ) ; if ( ! $ sig -> verify ( $ this , $ data , $ consumer_secret , $ token_secret , $ signature ) ) { throw new OAuthException2 ( 'Signature verification failed (' . $ signature_method . ')' ) ; } }
Verify the signature of a string.

@param string 	data
@param string	consumer_secret
@param string	token_secret
@param string 	signature_method
@param string 	signature
@exception OAuthException2 thrown when the signature method is unknown
@exception OAuthException2 when signature does not match
Verify the signature of a string .