libkazv
Loading...
Searching...
No Matches
verification-utils.hpp File Reference
#include <libkazv-config.hpp>
#include <event.hpp>
Include dependency graph for verification-utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Kazv::VerificationUtils::DeviceIdentity
 

Namespaces

namespace  Kazv
 
namespace  Kazv::VerificationEventTypes
 
namespace  Kazv::VerificationUtils
 

Functions

bool Kazv::VerificationUtils::validateFormat (const Event &e)
 Validate the format of the verification event.
 
bool Kazv::VerificationUtils::isToDevice (const Event &e)
 
std::string Kazv::VerificationUtils::typeOf (const Event &e)
 Get the type of the verification event.
 
bool Kazv::VerificationUtils::hasTxnId (const Event &e)
 
std::string Kazv::VerificationUtils::txnId (const Event &e)
 Get the transaction id of the verification event.
 

Variables

const std::string Kazv::VerificationEventTypes::tRequest = "m.key.verification.request"
 
const std::string Kazv::VerificationEventTypes::tReady = "m.key.verification.ready"
 
const std::string Kazv::VerificationEventTypes::tStart = "m.key.verification.start"
 
const std::string Kazv::VerificationEventTypes::tAccept = "m.key.verification.accept"
 
const std::string Kazv::VerificationEventTypes::tKey = "m.key.verification.key"
 
const std::string Kazv::VerificationEventTypes::tMac = "m.key.verification.mac"
 
const std::string Kazv::VerificationEventTypes::tDone = "m.key.verification.done"
 
const std::string Kazv::VerificationEventTypes::tCancel = "m.key.verification.cancel"