18 #ifndef _ZRTPUSERCALLBACK_H_
19 #define _ZRTPUSERCALLBACK_H_
100 virtual void showSAS(std::string sas,
bool verified) {
virtual void showSAS(std::string sas, bool verified)
Show the Short Authentication String (SAS) on user interface.
The ZRTP info, warning, and error codes.
__EXPORT AppLog & info(AppLog &sl)
Manipulator for info level.
virtual void zrtpNotSuppOther()
ZRTPQueue calls this method if the other side does not support ZRTP.
virtual void signSAS(uint8_t *sasHash)
ZRTPQueue calls this method to request a SAS signature.
virtual void zrtpNegotiationFailed(GnuZrtpCodes::MessageSeverity severity, int32_t subCode)
ZRTPQueue calls this if the negotiation failed.
virtual void showMessage(GnuZrtpCodes::MessageSeverity sev, int32_t subCode)
Show some information to user.
InfoEnrollment
Information codes for the Enrollment user callbacks.
virtual bool checkSASSignature(uint8_t *sasHash)
ZRTPQueue calls this method to request a SAS signature check.
Application callback methods.
virtual void confirmGoClear()
Inform the user that ZRTP received "go clear" message from its peer.
virtual void zrtpAskEnrollment(GnuZrtpCodes::InfoEnrollment info)
ZRTPQueue calls this method to inform about a PBX enrollment request.
virtual ~ZrtpUserCallback()
virtual void secureOff()
Inform user interface that security is not active any more.
virtual void zrtpInformEnrollment(GnuZrtpCodes::InfoEnrollment info)
ZRTPQueue calls this method to inform about PBX enrollment result.
ZrtpUserCallback()
Create the stadard user callback class.
virtual void secureOn(std::string cipher)
Inform user interface that security is active now.