Easemob Windows SDK
emencryptprovider_interface.h
1 #ifndef __easemob__emencryptprovider_interface__
2 #define __easemob__emencryptprovider_interface__
3 
4 #include <string>
5 #include "embaseobject.h"
6 
7 namespace easemob {
8 
15  class EASEMOB_API EMEncryptProviderInterface
16  {
17  public:
22 
32  virtual void encrypt(const unsigned char *input, int inLen, unsigned char **out, int &outLen, std::string toUserName) = 0;
33 
43  virtual void decrypt(const unsigned char *input, int inLen, unsigned char **out, int &outLen, std::string fromUserName) = 0;
44  };
45 }
46 
47 #endif
virtual ~EMEncryptProviderInterface()
Virtual destructor.
Definition: emencryptprovider_interface.h:21
Definition: emencryptprovider_interface.h:15
Definition: emattributevalue.h:28