diff options
author | Kevin Turner <kevin@janrain.com> | 2006-08-25 23:56:40 +0000 |
---|---|---|
committer | Kevin Turner <kevin@janrain.com> | 2006-08-25 23:56:40 +0000 |
commit | fd9ee89c34b71c2b427f30c4a3c15d2cbfa6aa33 (patch) | |
tree | f5a5ab5e097c4b9464a2b0976c9d796a69739443 /openid/association.py | |
parent | 1b565546ecc09d7089a5c1eec741a43bbb0ed69b (diff) | |
download | openid-fd9ee89c34b71c2b427f30c4a3c15d2cbfa6aa33.tar.gz |
[project @ Association.checkSignature: remove unused method]
Diffstat (limited to 'openid/association.py')
-rw-r--r-- | openid/association.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/openid/association.py b/openid/association.py index 34fe688..2beb2ae 100644 --- a/openid/association.py +++ b/openid/association.py @@ -421,17 +421,6 @@ class Association(object): data[prefix + 'sig'] = sig data[prefix + 'signed'] = signed - def checkSignature(self, data, prefix='openid.'): - try: - signed = data[prefix + 'signed'] - fields = signed.split(',') - expected_sig = self.signDict(fields, data, prefix) - request_sig = data[prefix + 'sig'] - except KeyError: - return False - - return request_sig == expected_sig - def getMessageSignature(self, message): """Return the signature of a message with a signed list |