wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
wired_certreload_store Struct Reference

Caller-owned storage a load fills: the DER bytes of every chain certificate (concatenated), spans into that buffer (leaf first), and the decoded P-256 private scalar. More...

#include <certreload.h>

Data Fields

u8 chain_der [16384]
 concatenated DER of every chain cert.
wired_span chain [WIRED_CERTRELOAD_CHAIN_MAX]
 views into chain_der
u8 priv [32]
 P-256 private scalar.

Detailed Description

Caller-owned storage a load fills: the DER bytes of every chain certificate (concatenated), spans into that buffer (leaf first), and the decoded P-256 private scalar.

All views wired_srvboot_id would hold must outlive the id — keep this struct alive for as long as the identity built from it is in use.

Field Documentation

◆ chain_der

u8 wired_certreload_store::chain_der[16384]

concatenated DER of every chain cert.

Sized past a real 9-cert amplificationlimit chain's cert.pem (13594 bytes of PEM/base64; DER is more compact) with headroom.


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