def verify(self, assoc_handle, message):
        assoc = self.getAssociation(assoc_handle, dumb=True)
        if not assoc:
            oidutil.log("failed to get assoc with handle %r to verify "
                        "message %r"
                        % (assoc_handle, message))
            return False

        try:
            valid = assoc.checkMessageSignature(message)
        except ValueError, ex:
            oidutil.log("Error in verifying %s with %s: %s" % (message,
                                                               assoc,
                                                               ex))
            return False
        return valid
Verify that the signature for some data is valid.
dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/Signatory.verify