libkazv
Kazv::SessionPrivate Struct Reference

#include <session-p.hpp>

Public Member Functions

 SessionPrivate ()
 
 SessionPrivate (OutboundSessionTag, RandomTag, RandomData data, CryptoPrivate &cryptoD, std::string theirIdentityKey, std::string theirOneTimeKey)
 
 SessionPrivate (InboundSessionTag, CryptoPrivate &cryptoD, std::string theirIdentityKey, std::string message)
 
 SessionPrivate (const SessionPrivate &that)
 
 ~SessionPrivate ()=default
 
std::string pickle () const
 
bool unpickle (std::string data)
 
bool unpickleFromLibolm (std::string data)
 
MaybeString takeFirstDecrypted ()
 

Public Attributes

std::optional< rust::Box< vodozemac::olm::Session > > session
 
bool valid {false}
 
std::optional< std::string > firstDecrypted
 

Constructor & Destructor Documentation

◆ SessionPrivate() [1/4]

Kazv::SessionPrivate::SessionPrivate ( )

◆ SessionPrivate() [2/4]

Kazv::SessionPrivate::SessionPrivate ( OutboundSessionTag  ,
RandomTag  ,
RandomData  data,
CryptoPrivate cryptoD,
std::string  theirIdentityKey,
std::string  theirOneTimeKey 
)

◆ SessionPrivate() [3/4]

Kazv::SessionPrivate::SessionPrivate ( InboundSessionTag  ,
CryptoPrivate cryptoD,
std::string  theirIdentityKey,
std::string  message 
)

◆ SessionPrivate() [4/4]

Kazv::SessionPrivate::SessionPrivate ( const SessionPrivate that)

◆ ~SessionPrivate()

Kazv::SessionPrivate::~SessionPrivate ( )
default

Member Function Documentation

◆ pickle()

std::string Kazv::SessionPrivate::pickle ( ) const

◆ takeFirstDecrypted()

MaybeString Kazv::SessionPrivate::takeFirstDecrypted ( )

◆ unpickle()

bool Kazv::SessionPrivate::unpickle ( std::string  data)

◆ unpickleFromLibolm()

bool Kazv::SessionPrivate::unpickleFromLibolm ( std::string  data)

Member Data Documentation

◆ firstDecrypted

std::optional<std::string> Kazv::SessionPrivate::firstDecrypted

◆ session

std::optional<rust::Box<vodozemac::olm::Session> > Kazv::SessionPrivate::session

◆ valid

bool Kazv::SessionPrivate::valid {false}

The documentation for this struct was generated from the following files: