VLink  2.0.0
A high-performance communication middleware
vlink_ssl_options_t Struct Reference

Transport-layer TLS configuration aggregate. More...

#include <c_api.h>

Collaboration diagram for vlink_ssl_options_t:

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
 

Detailed Description

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.

Note
This is the transport-layer (channel) TLS configuration. For application-layer per-message AEAD encryption see vlink_security_config_t.

Member Data Documentation

◆ ca_file

const char* vlink_ssl_options_t::ca_file

CA certificate file path (PEM), or NULL.

◆ cert_file

const char* vlink_ssl_options_t::cert_file

Client certificate file path (PEM), or NULL.

◆ ciphers

const char* vlink_ssl_options_t::ciphers

Cipher suite string (OpenSSL format), or NULL.

◆ key_file

const char* vlink_ssl_options_t::key_file

Client private key file path (PEM), or NULL.

◆ key_password

const char* vlink_ssl_options_t::key_password

Passphrase for the encrypted private key, or NULL.

◆ server_name

const char* vlink_ssl_options_t::server_name

SNI server name override, or NULL.

◆ verify_peer

int vlink_ssl_options_t::verify_peer

Non-zero = verify peer certificate (default); 0 = skip.


The documentation for this struct was generated from the following file: