def build_auth_sub_data(http_request, timestamp, nonce):
 return ('%s %s %s %s' % (http_request.method, str(http_request.uri), str(timestamp), nonce))

def build_auth_sub_data ( http_request , timestamp , nonce ) : return ( '%s %s %s %s' % ( http_request . method , str ( http_request . uri ) , str ( timestamp ) , nonce ) )
creates the data string which must be rsa-signed in secure requests .