41
41
class DBusManagerImpl;
45
class ZrtpSessionCallbackException: public std::exception
47
virtual const char* what() const throw()
49
return "An exception occured while being in a zrtp callback\n";
46
class ZrtpSessionCallbackException: public std::exception
48
virtual const char* what() const throw() {
49
return "An exception occured while being in a zrtp callback\n";
53
class ZrtpSessionCallback: public ZrtpUserCallback {
53
class ZrtpSessionCallback: public ZrtpUserCallback
55
ZrtpSessionCallback(SIPCall *sipcall);
56
ZrtpSessionCallback (SIPCall *sipcall);
57
void secureOn(std::string cipher);
59
void showSAS(std::string sas, bool verified);
60
void zrtpNotSuppOther(void);
61
void showMessage(GnuZrtpCodes::MessageSeverity sev, int32_t subCode);
62
void zrtpNegotiationFailed(GnuZrtpCodes::MessageSeverity severity, int subCode);
58
void secureOn (std::string cipher);
59
void secureOff (void);
60
void showSAS (std::string sas, bool verified);
61
void zrtpNotSuppOther (void);
62
void showMessage (GnuZrtpCodes::MessageSeverity sev, int32_t subCode);
63
void zrtpNegotiationFailed (GnuZrtpCodes::MessageSeverity severity, int subCode);
63
64
void confirmGoClear();
68
69
static std::map<int32, std::string*> _infoMap;
69
70
static std::map<int32, std::string*> _warningMap;
70
71
static std::map<int32, std::string*> _severeMap;
71
72
static std::map<int32, std::string*> _zrtpMap;
72
73
static bool _mapInitialized;