1 // Copyright 2009 The Archiveopteryx Developers <info@aox.org>
2 
3 #ifndef CRAMMD5_H
4 #define CRAMMD5_H
5 
6 #include "mechanism.h"
7 
8 
9 class CramMD5
10     : public SaslMechanism
11 {
12 public:
13     CramMD5( EventHandler * );
14 
15     EString challenge();
16     void setChallenge( const EString & );
17     void parseResponse( const EString & );
18     void verify();
19 
20 private:
21     EString challengeSent;
22 };
23 
24 
25 #endif
26