class

FNetCryptoSession

Module
Networking
Header
#include "Networking/NetCrypto.h"
Namespace
Mowo

Constructors

SignatureNameDescription
~FNetCryptoSession()~FNetCryptoSession

Public functions

ReturnsNameDescription
boolBeginClientHandshake
boolHandleClientHello
boolHandleServerReply
boolHandleClientConfirm
boolEncrypt
boolDecrypt
boolIsKeyedKeyed = both sides' key material is derived (the server reaches this at HELLO, before the client's CONFIRM lands).
boolIsEstablished
voidReset

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() const

Keyed = 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() const

Reset

C++
void Reset()
Generated from Networking/NetCrypto.h via networking.json · Nov 4, 2026Version 1.0.0