'Extract the information from an OpenID assertion message and
verify it against the original
@param endpoint: The endpoint that resulted from doing discovery
@param resp_msg: The id_res message object
@returns: the verified endpoint'

def _verifyDiscoveryResults(self, resp_msg, endpoint=None):

    if (resp_msg.getOpenIDNamespace() == OPENID2_NS):
        return self._verifyDiscoveryResultsOpenID2(resp_msg, endpoint)
    else:
        return self._verifyDiscoveryResultsOpenID1(resp_msg, endpoint)
