ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
anchor_list Struct Reference

Vector type for trust anchors. More...

#include <lib/crypto/pem_utils.h>

Data Fields

br_x509_trust_anchor * buf
 
size_t ptr
 
size_t len
 

Detailed Description

Vector type for trust anchors.

Dynamic array of trust anchors, used to accumulate root CA certificates for TLS validation. Trust anchors are loaded from system CA certificate store.

Note
Structure fields:
  • buf: Pointer to array of trust anchors (dynamically allocated)
  • ptr: Current number of trust anchors in array
  • len: Total capacity of array (may be larger than ptr)
Memory management: buf must be allocated with malloc() and freed with free(). Each trust anchor must be freed with free_ta_contents() before freeing buf.

Definition at line 78 of file pem_utils.h.


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