OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::ProtoContext::KeyContext::WkcMetadata Struct Reference

The metadata record a WKc carried, for TLSCryptMetadata::verify() More...

#include <proto.hpp>

Collaboration diagram for openvpn::ProtoContext::KeyContext::WkcMetadata:
[legend]

Public Attributes

int type = -1
 -1 when the WKc carried no metadata at all
 
BufferAllocated payload
 

Detailed Description

The metadata record a WKc carried, for TLSCryptMetadata::verify()

Handed back rather than checked in place: whoever asked for the unwrap decides when its record is worth a handler, which on the psid cookie path is only once the cookie has proven this is a live handshake rather than a replayed packet.

Definition at line 2461 of file proto.hpp.

Member Data Documentation

◆ payload

BufferAllocated openvpn::ProtoContext::KeyContext::WkcMetadata::payload

Definition at line 2465 of file proto.hpp.

◆ type

int openvpn::ProtoContext::KeyContext::WkcMetadata::type = -1

-1 when the WKc carried no metadata at all

Definition at line 2464 of file proto.hpp.


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