llarp::service::AsyncKeyExchange
Inherits from std::enable_shared_from_this< AsyncKeyExchange >
Public Functions
| Name | |
|---|---|
| AsyncKeyExchange(EventLoop_ptr l, ServiceInfo r, const Identity & localident, const PQPubKey & introsetPubKey, const Introduction & remote, IDataHandler * h, const ConvoTag & t, ProtocolType proto) | |
| void | Result(std::shared_ptr< AsyncKeyExchange > user, std::shared_ptr< ProtocolFrame > frame) |
| void | Encrypt(std::shared_ptr< AsyncKeyExchange > user, std::shared_ptr< ProtocolFrame > frame) given protocol message make protocol frame |
Public Attributes
| Name | |
|---|---|
| EventLoop_ptr | loop |
| SharedSecret | sharedKey |
| ServiceInfo | m_remote |
| const Identity & | m_LocalIdentity |
| ProtocolMessage | msg |
| Introduction | intro |
| const PQPubKey | introPubKey |
| Introduction | remoteIntro |
| std::function< void(std::shared_ptr< ProtocolFrame >)> | hook |
| IDataHandler * | handler |
| ConvoTag | tag |
Public Functions Documentation
function AsyncKeyExchange
AsyncKeyExchange(
EventLoop_ptr l,
ServiceInfo r,
const Identity & localident,
const PQPubKey & introsetPubKey,
const Introduction & remote,
IDataHandler * h,
const ConvoTag & t,
ProtocolType proto
)
function Result
static void Result(
std::shared_ptr< AsyncKeyExchange > user,
std::shared_ptr< ProtocolFrame > frame
)
function Encrypt
static void Encrypt(
std::shared_ptr< AsyncKeyExchange > user,
std::shared_ptr< ProtocolFrame > frame
)
given protocol message make protocol frame
Public Attributes Documentation
variable loop
EventLoop_ptr loop;
variable sharedKey
SharedSecret sharedKey;
variable m_remote
ServiceInfo m_remote;
variable m_LocalIdentity
const Identity & m_LocalIdentity;
variable msg
ProtocolMessage msg;
variable intro
Introduction intro;
variable introPubKey
const PQPubKey introPubKey;
variable remoteIntro
Introduction remoteIntro;
variable hook
std::function< void(std::shared_ptr< ProtocolFrame >)> hook;
variable handler
IDataHandler * handler;
variable tag
ConvoTag tag;
Updated on 2026-01-10 at 22:49:45 +0000