---
title: llarp::routing::RejectExitMessage

---

# llarp::routing::RejectExitMessage





Inherits from [llarp::routing::IMessage](Classes/structllarp_1_1routing_1_1IMessage.md)

## Public Types

|                | Name           |
| -------------- | -------------- |
| using [llarp::AlignedBuffer](Classes/structllarp_1_1AlignedBuffer.md)< 16 > | **[Nonce_t](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#using-nonce-t)**  |

## Public Functions

|                | Name           |
| -------------- | -------------- |
| virtual void | **[Clear](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#function-clear)**() override |
| bool | **[Sign](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#function-sign)**(const [llarp::SecretKey](Classes/structllarp_1_1SecretKey.md) & sk) |
| bool | **[Verify](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#function-verify)**(const [llarp::PubKey](Classes/structllarp_1_1PubKey.md) & pk) const |
| virtual bool | **[BEncode](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#function-bencode)**([llarp_buffer_t](Classes/structllarp__buffer__t.md) * buf) const override |
| virtual bool | **[DecodeKey](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#function-decodekey)**(const [llarp_buffer_t](Classes/structllarp__buffer__t.md) & key, [llarp_buffer_t](Classes/structllarp__buffer__t.md) * buf) override |
| virtual bool | **[HandleMessage](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#function-handlemessage)**([IMessageHandler](Classes/structllarp_1_1routing_1_1IMessageHandler.md) * h, [AbstractRouter](Classes/structllarp_1_1AbstractRouter.md) * r) const override |

## Public Attributes

|                | Name           |
| -------------- | -------------- |
| uint64_t | **[backoff](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-backoff)**  |
| std::vector< [llarp::exit::Policy](Classes/structllarp_1_1exit_1_1Policy.md) > | **[rejected_policies](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-rejected-policies)**  |
| uint64_t | **[txid](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-txid)**  |
| [Nonce_t](Classes/structllarp_1_1AlignedBuffer.md) | **[nonce](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-nonce)**  |
| [llarp::Signature](Classes/structllarp_1_1Signature.md) | **[sig](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-sig)**  |
| decltype(backoff) & | **[B](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-b)**  |
| decltype(rejected_policies) & | **[R](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-r)**  |
| decltype(txid) & | **[T](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-t)**  |
| decltype(nonce) & | **[Y](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-y)**  |
| decltype(sig) & | **[Z](Classes/structllarp_1_1routing_1_1RejectExitMessage.md#variable-z)**  |

## Additional inherited members

**Public Functions inherited from [llarp::routing::IMessage](Classes/structllarp_1_1routing_1_1IMessage.md)**

|                | Name           |
| -------------- | -------------- |
| | **[IMessage](Classes/structllarp_1_1routing_1_1IMessage.md#function-imessage)**() =default |
| virtual | **[~IMessage](Classes/structllarp_1_1routing_1_1IMessage.md#function-~imessage)**() =default |
| bool | **[operator<](Classes/structllarp_1_1routing_1_1IMessage.md#function-operator<)**(const [IMessage](Classes/structllarp_1_1routing_1_1IMessage.md) & other) const |

**Public Attributes inherited from [llarp::routing::IMessage](Classes/structllarp_1_1routing_1_1IMessage.md)**

|                | Name           |
| -------------- | -------------- |
| [PathID_t](Classes/structllarp_1_1PathID__t.md) | **[from](Classes/structllarp_1_1routing_1_1IMessage.md#variable-from)**  |
| uint64_t | **[S](Classes/structllarp_1_1routing_1_1IMessage.md#variable-s)**  |
| uint64_t | **[version](Classes/structllarp_1_1routing_1_1IMessage.md#variable-version)**  |


## Public Types Documentation

### using Nonce_t

```cpp
using llarp::routing::RejectExitMessage::Nonce_t =  llarp::AlignedBuffer<16>;
```


## Public Functions Documentation

### function Clear

```cpp
inline virtual void Clear() override
```


**Reimplements**: [llarp::routing::IMessage::Clear](Classes/structllarp_1_1routing_1_1IMessage.md#function-clear)


### function Sign

```cpp
bool Sign(
    const llarp::SecretKey & sk
)
```


### function Verify

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


### function BEncode

```cpp
virtual bool BEncode(
    llarp_buffer_t * buf
) const override
```


**Reimplements**: [llarp::routing::IMessage::BEncode](Classes/structllarp_1_1routing_1_1IMessage.md#function-bencode)


### function DecodeKey

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


**Reimplements**: [llarp::routing::IMessage::DecodeKey](Classes/structllarp_1_1routing_1_1IMessage.md#function-decodekey)


### function HandleMessage

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


**Reimplements**: [llarp::routing::IMessage::HandleMessage](Classes/structllarp_1_1routing_1_1IMessage.md#function-handlemessage)


## Public Attributes Documentation

### variable backoff

```cpp
uint64_t backoff;
```


### variable rejected_policies

```cpp
std::vector< llarp::exit::Policy > rejected_policies;
```


### variable txid

```cpp
uint64_t txid;
```


### variable nonce

```cpp
Nonce_t nonce;
```


### variable sig

```cpp
llarp::Signature sig;
```


### variable B

```cpp
decltype(backoff) & B {backoff};
```


### variable R

```cpp
decltype(rejected_policies) & R {rejected_policies};
```


### variable T

```cpp
decltype(txid) & T {txid};
```


### variable Y

```cpp
decltype(nonce) & Y {nonce};
```


### variable Z

```cpp
decltype(sig) & Z {sig};
```


-------------------------------

Updated on 2023-04-27 at 04:17:17 +0000