twisted.cred.credentials.CramMD5Credentials(object) class documentationtwisted.cred.credentials
          View Source
          (View In Hierarchy)
        
      Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword
An encapsulation of some CramMD5 hashed credentials.
| Instance Variable | challenge | The challenge to be sent to the client. (type: bytes) | 
| Instance Variable | response | The hashed response from the client. (type: bytes) | 
| Instance Variable | username | The username from the response from the client. (type: bytesorNoneif not yet provided.) | 
| Method | __init__ | Undocumented | 
| Method | getChallenge | Undocumented | 
| Method | setResponse | Undocumented | 
| Method | moreChallenges | Undocumented | 
| Method | checkPassword | Validate these credentials against the correct password. | 
Validate these credentials against the correct password.
| Parameters | password | The correct, plaintext password against which to check. (type: bytes) | 
| Returns | Trueif the credentials represented by this object match the 
given password,Falseif they do not, or aDeferredwhich
will be called back with one of these values. (type:boolorDeferred) | |