* @package tao */ interface common_http_SignatureService { /** * Returns the signed version of the request * * @access public * @author Joel Bout, * @return common_http_Request */ public function sign(common_http_Request $request, common_http_Credentials $credentials); /** * Validates the signature of the current request * * @access protected * @author Joel Bout, * @param common_http_Request request * @throws common_Exception exception thrown if validation fails */ public function validate(common_http_Request $request, common_http_Credentials $credentials = null); }