Home | Trees | Index | Help |
|
---|
Package openid :: Package server :: Module server :: Class Signatory |
|
object
--+
|
Signatory
I sign things.
I also check signatures.
All my state is encapsulated in anOpenIDStore
, which means I'm not generally
pickleable but I am easy to reconstruct.
Method Summary | |
---|---|
Create a new Signatory. | |
openid.association.Association
|
Make a new association. |
openid.association.Association
|
Get the association with the specified handle. |
Invalidates the association with the given handle. | |
OpenIDResponse
|
Sign a response. |
bool |
Verify that the signature for some data is valid. |
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
Class Variable Summary | |
---|---|
int | SECRET_LIFETIME : The number of seconds a secret remains valid. |
Method Details |
---|
__init__(self,
store)
Create a new Signatory.
|
createAssociation(self, dumb=True, assoc_type='HMAC-SHA1')Make a new association.
|
getAssociation(self, assoc_handle, dumb, checkExpiration=True)Get the association with the specified handle.
|
invalidate(self, assoc_handle, dumb)Invalidates the association with the given handle.
|
sign(self, response)Sign a response. I take aOpenIDResponse , create a signature for
everything in its signed list, and return a new copy of the
response object with that signature included.
|
verify(self, assoc_handle, message)Verify that the signature for some data is valid.
|
Class Variable Details |
---|
SECRET_LIFETIMEThe number of seconds a secret remains valid.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 27 15:48:22 2008 | http://epydoc.sf.net |