eXosip_tls_credentials_s(3)
eXosip_tls_credentials_s(3)
bestie, welcome to the eXosip_tls_credentials_s page from libeXosip2 π This is the struct that holds TLS credential stuff for a client or a server. Every field matters, so letβs go.
β¨ NAME β¨
eXosip_tls_credentials_s
πΈ SYNOPSIS πΈ
#include <eX_setup.h>
π Data Fields π
char priv_key [1024]char priv_key_pw [1024]char cert [1024]char public_key_pinned [1024]
π Detailed Description π
Okay so this struct is used to describe credentials for a client or server. It consists of a certificate, a corresponding private key and its password. periodt. π¦
If the server requires a certificate from the client, you must provide the certificate, private key, and your private key password. π
You can 'pin' your public key certificate if you have received it. public_key_pinned must contains your public key file in DER format. To extract your public key from a PEM certificate in DER format, you can use the following command line:
openssl x509 -in server-cert.pem -pubkey -noout | openssl enc -base64 -d > pub_key.der
π₯ Field Documentation π₯
char eXosip_tls_credentials_s::priv_key[1024]
absolute path to a file with a private key π
char eXosip_tls_credentials_s::priv_key_pw[1024]
password to open private key ποΈ
char eXosip_tls_credentials_s::cert[1024]
absolute path to a file with a certificate for the private key π
char eXosip_tls_credentials_s::public_key_pinned[1024]
absolute path to a file with the expected public key of server π‘οΈ
π Author π
Generated automatically by Doxygen for libeXosip2 from the source code. π
okay thatβs the whole page, bestie β from libeXosip2, Version 5.3.0, Thu May 18 2023. π«Άβ¨
π¦ 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