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: only the caller knows when the record has provenance, which for the session is once the frame has authenticated – see verify_wkc_metadata().

Definition at line 2896 of file proto.hpp.

Member Data Documentation

◆ payload

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

Definition at line 2900 of file proto.hpp.

◆ type

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

-1 when the WKc carried no metadata at all

Definition at line 2899 of file proto.hpp.


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