UDP-WG Implementation
Loading...
Searching...
No Matches
wireguard::ResponsePacket Class Reference

The packet sent by the responder to the initiator during the handshake. More...

#include <wireguard.h>

Inheritance diagram for wireguard::ResponsePacket:
wireguard::Packet

Public Member Functions

 ResponsePacket (const std::string &buffer)
 
crypto::stringoperator[] (const size_t &val)
 
const crypto::stringoperator[] (const size_t &val) const
 
- Public Member Functions inherited from wireguard::Packet
std::string Serialize ()
 Serialize the packet.
 
void Expand (const std::string &buffer, const bool &fill=false)
 Construct a Packet from a std::string.
 

Static Public Attributes

static constexpr size_t reserved = 0
 
static constexpr size_t sender = 1
 
static constexpr size_t receiver = 2
 
static constexpr size_t ephemeral = 3
 
static constexpr size_t empty = 4
 
static constexpr size_t mac1 = 5
 
static constexpr size_t mac2 = 6
 

Additional Inherited Members

- Protected Attributes inherited from wireguard::Packet
std::vector< crypto::stringvalues
 

Detailed Description

The packet sent by the responder to the initiator during the handshake.


The documentation for this class was generated from the following file: