|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
📄 PEM format encoding/decoding utilities for certificates and keys (adapted from BearSSL) More...
Go to the source code of this file.
Data Structures | |
| struct | bvector |
| struct | pem_object |
Macros | |
| #define | VECTOR(type) |
| #define | VEC_INIT {0, 0, 0} |
| #define | VEC_CLEAR(vec) |
| #define | VEC_CLEAREXT(vec, fun) |
| #define | VEC_ADD(vec, x) |
| #define | VEC_ADDMANY(vec, xp, num) |
| #define | VEC_ELT(vec, idx) ((vec).buf[idx]) |
| #define | VEC_LEN(vec) ((vec).ptr) |
| #define | VEC_TOARRAY(vec) xblobdup((vec).buf, sizeof *((vec).buf) * (vec).ptr) |
Functions | |
| void | free_ta_contents (br_x509_trust_anchor *ta) |
| Free the contents of a trust anchor. | |
| 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. | |
📄 PEM format encoding/decoding utilities for certificates and keys (adapted from BearSSL)
Copyright (c) 2016 Thomas Pornin porni.nosp@m.n@bo.nosp@m.let.o.nosp@m.rg Adapted for ascii-chat by Zachary Fogg me@zf.nosp@m.o.gg
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file pem_utils.c.
| #define VEC_ADD | ( | vec, | |
| x | |||
| ) |
Definition at line 68 of file pem_utils.c.
| #define VEC_ADDMANY | ( | vec, | |
| xp, | |||
| num | |||
| ) |
Definition at line 74 of file pem_utils.c.
| #define VEC_CLEAR | ( | vec | ) |
Definition at line 51 of file pem_utils.c.
| #define VEC_CLEAREXT | ( | vec, | |
| fun | |||
| ) |
Definition at line 59 of file pem_utils.c.
| #define VEC_ELT | ( | vec, | |
| idx | |||
| ) | ((vec).buf[idx]) |
Definition at line 82 of file pem_utils.c.
| #define VEC_INIT {0, 0, 0} |
Definition at line 48 of file pem_utils.c.
| #define VEC_LEN | ( | vec | ) | ((vec).ptr) |
Definition at line 83 of file pem_utils.c.
| #define VEC_TOARRAY | ( | vec | ) | xblobdup((vec).buf, sizeof *((vec).buf) * (vec).ptr) |
Definition at line 84 of file pem_utils.c.
| #define VECTOR | ( | type | ) |
Definition at line 41 of file pem_utils.c.