class
FNetCryptoSession
- Module
- Networking
- Header
#include "Networking/NetCrypto.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
~FNetCryptoSession() | ~FNetCryptoSession |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | BeginClientHandshake | |
bool | HandleClientHello | |
bool | HandleServerReply | |
bool | HandleClientConfirm | |
bool | Encrypt | |
bool | Decrypt | |
bool | IsKeyed | Keyed = both sides' key material is derived (the server reaches this at HELLO, before the client's CONFIRM lands). |
bool | IsEstablished | |
void | Reset |
Function details
~FNetCryptoSession
C++
~FNetCryptoSession()BeginClientHandshake
C++
bool BeginClientHandshake(const std::string& psk, std::vector<uint8_t>& outHello)HandleClientHello
C++
bool HandleClientHello(const std::string& psk, const uint8_t* hello, uint32_t size, std::vector<uint8_t>& outReply)HandleServerReply
C++
bool HandleServerReply(const uint8_t* reply, uint32_t size, std::vector<uint8_t>& outConfirm)HandleClientConfirm
C++
bool HandleClientConfirm(const uint8_t* confirm, uint32_t size)Encrypt
C++
bool Encrypt(uint8_t channel, const void* data, uint32_t size, std::vector<uint8_t>& outPacket)Decrypt
C++
bool Decrypt(uint8_t channel, const uint8_t* packet, uint32_t size, std::vector<uint8_t>& outPlain)IsKeyed
C++
bool IsKeyed() constKeyed = both sides' key material is derived (the server reaches this at HELLO, before the client's CONFIRM lands). Established = key confirmation passed. Payloads ride the keyed state — the AEAD is what authenticates them — but a peer is only announced once established.
IsEstablished
C++
bool IsEstablished() constReset
C++
void Reset()Generated from Networking/NetCrypto.h via networking.json · Nov 4, 2026Version 1.0.0