llarp::routing::GrantExitMessage
Inherits from llarp::routing::IMessage
Public Types
| Name | |
|---|---|
| using AlignedBuffer< 16 > | Nonce_t |
Public Functions
| Name | |
|---|---|
| virtual bool | BEncode(llarp_buffer_t * buf) const override |
| bool | Sign(const SecretKey & sk) |
| bool | Verify(const PubKey & pk) const |
| virtual bool | DecodeKey(const llarp_buffer_t & key, llarp_buffer_t * buf) override |
| virtual bool | HandleMessage(IMessageHandler * h, AbstractRouter * r) const override |
| virtual void | Clear() override |
Public Attributes
| Name | |
|---|---|
| uint64_t | T |
| Nonce_t | Y |
| Signature | Z |
Additional inherited members
Public Functions inherited from llarp::routing::IMessage
| Name | |
|---|---|
| IMessage() =default | |
| virtual | ~IMessage() =default |
| bool | operator<(const IMessage & other) const |
| virtual size_t | overhead() const |
| size_t | total_size() 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::GrantExitMessage::Nonce_t = AlignedBuffer<16>;
Public Functions Documentation
function BEncode
virtual bool BEncode(
llarp_buffer_t * buf
) const override
Reimplements: llarp::routing::IMessage::BEncode
function Sign
bool Sign(
const SecretKey & sk
)
function Verify
bool Verify(
const PubKey & pk
) const
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 Clear
inline virtual void Clear() override
Reimplements: llarp::routing::IMessage::Clear
Public Attributes Documentation
variable T
uint64_t T;
variable Y
Nonce_t Y;
variable Z
Signature Z;
Updated on 2026-04-01 at 23:35:40 +0000