eXosip_tls_ctx_s(3)
β¨ eXosip_tls_ctx_s β¨
okay so bestie, this page is from libeXosip2 and it's all about the struct eXosip_tls_ctx_s β literally the whole TLS vibe in one lil bundle π
πΈ SYNOPSIS πΈ
#include <eX_setup.h>
π Data Fields
char random_file [1024]char dh_param [1024]char root_ca_cert [1024]char cipher_list [2048]unsigned long tls_flagsunsigned long dtls_flagseXosip_tls_credentials_t clienteXosip_tls_credentials_t server
π¦ Detailed Description π¦
so this struct is the whole TLS-context situation for eXosip, and it's made of three besties that always show up together: a certificate, a corresponding private key, and its password π
when a client connects to a server and you're like "hmm actually I want to verify that certificate", you literally just point the root_ca_cert parameter at a file holding all your trusted CA. iconic. (there's an example file over at https://pki.google.com/roots.pem if you need one β¨)
π«Ά on Windows & Macosx the trusted certificates from the store are loaded automatically β no cap, you don't have to do anything.
π Field Documentation π
π char eXosip_tls_ctx_s::random_file[1024]
absolute path to a file with random(!) data β yes, actually random, that's the whole point π
π char eXosip_tls_ctx_s::dh_param[1024]
absolute path to a file that's necessary for diffie hellman key exchange π₯
π§ char eXosip_tls_ctx_s::root_ca_cert[1024]
absolute path to the file with known rootCAs π
β char eXosip_tls_ctx_s::cipher_list[2048]
openssl cipher list, and the default is HIGH:!COMPLEMENTOFDEFAULT:!kRSA:!PSK:!SRP β write it exactly like that, bestie, every character matters π
π char eXosip_tls_ctx_s::tls_flags (unsigned long)
openssl additionnal flag (example: SSL_OP_NO_TLSv1, SSL_OP_NO_TLSv1_1) πΈ
π char eXosip_tls_ctx_s::dtls_flags (unsigned long)
openssl additionnal flag (example: SSL_OP_NO_DTLSv1) πΈ
π
eXosip_tls_credentials_t eXosip_tls_ctx_s::client
credential of the client β main character energy π«Ά
π eXosip_tls_credentials_t eXosip_tls_ctx_s::server
credential of the server β also main character energy π«Ά
π Author π
Generated automatically by Doxygen for libeXosip2 from the source code. slay, Doxygen, doing the work so nobody had to β¨
π¦ and that's the whole page! brought to you by libeXosip2, Version 5.3.0, dated Thu May 18 2023 β mwah, go configure your TLS context, bestie π
π¦ where this page comes from
- epel 9: libeXosip2-devel 5.3.0-2.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms