ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
pem_utils.h File Reference

BearSSL PEM and trust anchor utilities adapted for in-memory data. More...

Go to the source code of this file.

Data Structures

struct  anchor_list
 Vector type for trust anchors. More...
 

Trust Anchor Management

#define ANCHOR_LIST_INIT   {NULL, 0, 0}
 Initializer for anchor_list.
 
size_t read_trust_anchors_from_memory (anchor_list *dst, const unsigned char *pem_data, size_t pem_len)
 Read trust anchors from PEM-encoded data in memory.
 
void free_ta_contents (br_x509_trust_anchor *ta)
 Free the contents of a trust anchor.
 

Detailed Description

BearSSL PEM and trust anchor utilities adapted for in-memory data.

Definition in file pem_utils.h.