libkazv
Loading...
Searching...
No Matches
verification-process.hpp File Reference
#include <libkazv-config.hpp>
#include "sas-desc.hpp"
#include <crypto-util.hpp>
#include <types.hpp>
#include <immer/array.hpp>
Include dependency graph for verification-process.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Kazv::SasDisplayCodes
 
struct  Kazv::VerificationProcessStates::WeRequested
 
struct  Kazv::VerificationProcessStates::TheyRequested
 
struct  Kazv::VerificationProcessStates::WeReady
 
struct  Kazv::VerificationProcessStates::TheyReady
 
struct  Kazv::VerificationProcessStates::WeStartedSas
 
struct  Kazv::VerificationProcessStates::TheyStartedSas
 
struct  Kazv::VerificationProcessStates::WeAcceptedSas
 
struct  Kazv::VerificationProcessStates::TheyAcceptedSas
 
struct  Kazv::VerificationProcessStates::ReceivedSasKey
 
struct  Kazv::VerificationProcessStates::ReceivedSasMac
 
struct  Kazv::VerificationProcessStates::VerifiedThem
 
struct  Kazv::VerificationProcessStates::VerifiedBoth
 
struct  Kazv::VerificationProcessStates::Cancelled
 
struct  Kazv::VerificationProcess
 
struct  Kazv::VerificationProcess::RequestTag
 

Namespaces

namespace  Kazv
 
namespace  Kazv::VerificationCancelCodes
 
namespace  Kazv::VerificationProcessStates
 

Typedefs

using Kazv::VerificationProcessState = std::variant< std::monostate, VerificationProcessStates::WeRequested, VerificationProcessStates::TheyRequested, VerificationProcessStates::WeReady, VerificationProcessStates::TheyReady, VerificationProcessStates::WeStartedSas, VerificationProcessStates::TheyStartedSas, VerificationProcessStates::WeAcceptedSas, VerificationProcessStates::TheyAcceptedSas, VerificationProcessStates::ReceivedSasKey, VerificationProcessStates::ReceivedSasMac, VerificationProcessStates::VerifiedThem, VerificationProcessStates::VerifiedBoth, VerificationProcessStates::Cancelled >
 

Variables

const std::string Kazv::VerificationCancelCodes::unexpectedMessage = "m.unexpected_message"
 
const std::string Kazv::VerificationCancelCodes::userCancel = "m.user"
 
const std::string Kazv::VerificationCancelCodes::timeout = "m.timeout"
 
const std::string Kazv::VerificationCancelCodes::unknownMethod = "m.unknown_method"
 
const std::string Kazv::VerificationCancelCodes::keyMismatch = "m.key_mismatch"
 
const std::string Kazv::VerificationCancelCodes::invalidMessage = "m.invalid_message"
 
const std::string Kazv::VerificationCancelCodes::acceptedElsewhere = "m.accepted"
 
const std::string Kazv::VerificationCancelCodes::mismatchedCommitment = "m.mismatched_commitment"
 
const std::string Kazv::VerificationCancelCodes::mismatchedSas = "m.mismatched_sas"