|
VLink
2.0.0
A high-performance communication middleware
|
Transport-layer TLS configuration aggregate. More...
#include <c_api.h>
Public Attributes | |
| int | verify_peer |
| const char * | ca_file |
| const char * | cert_file |
| const char * | key_file |
| const char * | key_password |
| const char * | server_name |
| const char * | ciphers |
Transport-layer TLS configuration aggregate.
Mirrors vlink::SslOptions. Populated by the caller and passed to the vlink_create_*_with_ssl_options() entry points. String fields are null-terminated; NULL or empty strings disable the matching slot. verify_peer uses C semantics – non-zero enables peer-certificate verification, 0 disables it. Transport backends consider TLS enabled once at least ca_file or cert_file is non-empty.
vlink_security_config_t. | const char* vlink_ssl_options_t::ca_file |
CA certificate file path (PEM), or NULL.
| const char* vlink_ssl_options_t::cert_file |
Client certificate file path (PEM), or NULL.
| const char* vlink_ssl_options_t::ciphers |
Cipher suite string (OpenSSL format), or NULL.
| const char* vlink_ssl_options_t::key_file |
Client private key file path (PEM), or NULL.
| const char* vlink_ssl_options_t::key_password |
Passphrase for the encrypted private key, or NULL.
| const char* vlink_ssl_options_t::server_name |
SNI server name override, or NULL.
| int vlink_ssl_options_t::verify_peer |
Non-zero = verify peer certificate (default); 0 = skip.