llarp::routing::CloseExitMessage

Inherits from llarp::routing::IMessage

Public Types

Name
using llarp::AlignedBuffer< 16 > Nonce_t

Public Functions

Name
virtual bool BEncode(llarp_buffer_t * buf) const override
virtual bool DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * buf) override
virtual bool HandleMessage(IMessageHandler * h, AbstractRouter * r) const override
bool Sign(const llarp::SecretKey & sk)
bool Verify(const llarp::PubKey & pk) const
virtual void Clear() override

Public Attributes

Name
Nonce_t Y
llarp::Signature Z

Additional inherited members

Public Functions inherited from llarp::routing::IMessage

Name
IMessage() =default
virtual ~IMessage() =default
bool operator<(const IMessage & other) const

Public Attributes inherited from llarp::routing::IMessage

Name
PathID_t from
uint64_t S
uint64_t version

Public Types Documentation

using Nonce_t

using llarp::routing::CloseExitMessage::Nonce_t =  llarp::AlignedBuffer<16>;

Public Functions Documentation

function BEncode

virtual bool BEncode(
    llarp_buffer_t * buf
) const override

Reimplements: llarp::routing::IMessage::BEncode

function DecodeKey

virtual bool DecodeKey(
    const llarp_buffer_t & key,
    llarp_buffer_t * buf
) override

Reimplements: llarp::routing::IMessage::DecodeKey

function HandleMessage

virtual bool HandleMessage(
    IMessageHandler * h,
    AbstractRouter * r
) const override

Reimplements: llarp::routing::IMessage::HandleMessage

function Sign

bool Sign(
    const llarp::SecretKey & sk
)

function Verify

bool Verify(
    const llarp::PubKey & pk
) const

function Clear

inline virtual void Clear() override

Reimplements: llarp::routing::IMessage::Clear

Public Attributes Documentation

variable Y

Nonce_t Y;

variable Z

llarp::Signature Z;

Updated on 2026-01-10 at 22:49:45 +0000