Merge branch 'master' of ssh://down/oryx/aox
[aox:aox.git] / sasl / cram-md5.h
1 // Copyright Oryx Mail Systems GmbH. All enquiries to info@oryx.com, please.
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