ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
pem.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

Vector type for trust anchors

#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.h.