Package flumotion :: Package twisted :: Module credentials :: Class UsernameSha256PasswordCryptChallenger
[show private | hide private]
[frames | no frames]

Class UsernameSha256PasswordCryptChallenger

Known Subclasses:
KeycardUASPCC

I take a username.

Authenticator will give me a salt and challenge me. Requester will respond to the challenge. At that point I'm ready to be used by a checker. The response function used is flumotion.twisted.credentials.cryptRespond()

I implement IUsernameSha256Password.
Method Summary
  __init__(self, username)
  checkSha256Password(self, sha256Password)
Check credentials against the given sha256Password.
  setPassword(self, password)
I encode a given plaintext password using the salt, and respond to the challenge.

Class Variable Summary
Implements __implemented__ = <implementedBy flumotion.twisted.crede...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Method Details

checkSha256Password(self, sha256Password)

Check credentials against the given sha256Password.

setPassword(self, password)

I encode a given plaintext password using the salt, and respond to the challenge.

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy flumotion.twisted.credentials.UsernameSha256PasswordCry\
ptChallenger>                                                          

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x40cbeaac>       

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0x40cbeaac>       

Generated by Epydoc 2.1 on Fri Feb 2 11:44:39 2007 http://epydoc.sf.net