Package flumotion :: Package twisted :: Module credentials :: Class UsernameSha256PasswordCryptChallenger
[hide private]

Class UsernameSha256PasswordCryptChallenger

source code

Known Subclasses:

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.

Instance Methods [hide private]
__init__(self, username) source code
setPassword(self, password)
I encode a given plaintext password using the salt, and respond to the challenge.
source code
checkSha256Password(self, sha256Password)
Check credentials against the given sha256Password.
source code
Object Specification Descriptor
source code
Class Variables [hide private]
  __implemented__ = <implementedBy flumotion.twisted.credentials...
  __provides__ = <zope.interface.declarations.ClassProvides obje...
Class Variable Details [hide private]


<implementedBy flumotion.twisted.credentials.UsernameSha256PasswordCry\


<zope.interface.declarations.ClassProvides object at 0x861cdcc>