#include <verification-process.hpp>
◆ Party
◆ VerificationProcess()
| Kazv::VerificationProcess::VerificationProcess |
( |
std::string |
ourUserId, |
|
|
std::string |
ourDeviceId, |
|
|
std::string |
theirUserId, |
|
|
std::string |
theirDeviceId, |
|
|
std::string |
ourDeviceKey |
|
) |
| |
◆ addOutgoing()
| void Kazv::VerificationProcess::addOutgoing |
( |
Event |
e | ) |
|
Add an outgoing event to the process.
◆ finished()
| bool Kazv::VerificationProcess::finished |
( |
| ) |
const |
- Returns
- Whether the process is finished.
◆ makeRequest()
Make an outgoing verification request to the other party.
◆ processIncoming()
Process an incoming event.
◆ requestTimestamp()
| Timestamp Kazv::VerificationProcess::requestTimestamp |
( |
| ) |
const |
Get the request timestamp for this process.
◆ setTheirDeviceKey()
| void Kazv::VerificationProcess::setTheirDeviceKey |
( |
std::string |
key | ) |
|
Set the device key of the other party.
◆ txnId()
| std::string Kazv::VerificationProcess::txnId |
( |
| ) |
const |
Get the transaction id for this process.
◆ userCancel()
| EventList Kazv::VerificationProcess::userCancel |
( |
| ) |
|
Signal that the user wants to cancel the verification.
◆ userConfirmMatch()
| EventList Kazv::VerificationProcess::userConfirmMatch |
( |
| ) |
|
Signal that the user has confirmed that the codes match.
◆ userDenyMatch()
| EventList Kazv::VerificationProcess::userDenyMatch |
( |
| ) |
|
Signal that the user has noticed that the codes do not match.
◆ userReady()
| EventList Kazv::VerificationProcess::userReady |
( |
| ) |
|
Signal that the user is ready for an incoming verification.
◆ codes
◆ confirmedMatch
| bool Kazv::VerificationProcess::confirmedMatch {false} |
◆ defaultShortAuthenticationString
| const immer::flex_vector<std::string> Kazv::VerificationProcess::defaultShortAuthenticationString = {"emoji", "decimal"} |
|
inlinestatic |
◆ events
| immer::flex_vector<std::pair<Party, Event> > Kazv::VerificationProcess::events |
A list of events that have been transmitted between the parties.
◆ ourDeviceId
| std::string Kazv::VerificationProcess::ourDeviceId |
◆ ourDeviceKey
| std::string Kazv::VerificationProcess::ourDeviceKey |
◆ ourUserId
| std::string Kazv::VerificationProcess::ourUserId |
◆ sas
| SasDesc Kazv::VerificationProcess::sas |
◆ state
◆ supportedHashes
| const immer::flex_vector<std::string> Kazv::VerificationProcess::supportedHashes = {"sha256"} |
|
inlinestatic |
◆ supportedKeyAgreementProtocols
| const immer::flex_vector<std::string> Kazv::VerificationProcess::supportedKeyAgreementProtocols = {"curve25519-hkdf-sha256"} |
|
inlinestatic |
◆ supportedMessageAuthenticationCodes
| const immer::flex_vector<std::string> Kazv::VerificationProcess::supportedMessageAuthenticationCodes = {"hkdf-hmac-sha256.v2"} |
|
inlinestatic |
◆ supportedMethods
| const immer::flex_vector<std::string> Kazv::VerificationProcess::supportedMethods = {"m.sas.v1"} |
|
inlinestatic |
◆ theirDeviceId
| std::string Kazv::VerificationProcess::theirDeviceId |
◆ theirDeviceKey
| std::string Kazv::VerificationProcess::theirDeviceKey |
◆ theirUserId
| std::string Kazv::VerificationProcess::theirUserId |
The documentation for this struct was generated from the following files: