Abstract transport configuration base class and associated helper macros.
Platform-independent macro definitions for the VLink library.
#define VLINK_EXPORT
定义 macros.h:85
Abstract base class for VLink transport configuration objects.
定义 conf.h:83
void parse_to(Conf::PropertiesMap &properties) const noexcept
Writes the non-default fields back into a property map as ssl.* entries.
static SslOptions parse_from(const Conf::PropertiesMap &properties) noexcept
Constructs an SslOptions by reading ssl.* entries from a property map.
bool verify_peer
Whether to verify the server certificate.
定义 ssl_options.h:129
SslOptions() noexcept=default
Default constructor; all strings are empty, verify_peer is true.
bool is_valid() const noexcept
Returns true when the configuration contains enough data to enable TLS.
std::string key_password
Passphrase for the encrypted private key.
定义 ssl_options.h:168
std::string cert_file
Path to the client certificate file (PEM format).
定义 ssl_options.h:149
std::string key_file
Path to the client private key file (PEM format).
定义 ssl_options.h:158
std::string ciphers
Cipher suite string (OpenSSL format).
定义 ssl_options.h:188
std::string ca_file
Path to the CA certificate file (PEM format).
定义 ssl_options.h:139
std::string server_name
Server Name Indication (SNI) override.
定义 ssl_options.h:178