![]() |
rodbus (C API) 1.6.0-RC1
|
TLS server configuration. More...
#include <rodbus.h>
Data Fields | |
| const char * | peer_cert_path |
| Path to the PEM-encoded trusted CA certificate(s) in RODBUS_CERTIFICATE_MODE_AUTHORITY_BASED mode, or to the peer's own certificate in RODBUS_CERTIFICATE_MODE_SELF_SIGNED mode. More... | |
| const char * | local_cert_path |
| Path to the PEM-encoded local certificate. More... | |
| const char * | private_key_path |
| Path to the PEM-encoded private key. More... | |
| const char * | password |
| Optional password if the private key file is encrypted. More... | |
| rodbus_min_tls_version_t | min_tls_version |
| Minimum TLS version allowed. More... | |
| rodbus_certificate_mode_t | certificate_mode |
| Certificate validation mode. More... | |
TLS server configuration.
| rodbus_certificate_mode_t rodbus_tls_server_config_t::certificate_mode |
Certificate validation mode.
| const char* rodbus_tls_server_config_t::local_cert_path |
Path to the PEM-encoded local certificate.
| rodbus_min_tls_version_t rodbus_tls_server_config_t::min_tls_version |
Minimum TLS version allowed.
| const char* rodbus_tls_server_config_t::password |
Optional password if the private key file is encrypted.
Only PKCS#8 encrypted files are supported.
Pass empty string if the file is not encrypted.
| const char* rodbus_tls_server_config_t::peer_cert_path |
Path to the PEM-encoded trusted CA certificate(s) in RODBUS_CERTIFICATE_MODE_AUTHORITY_BASED mode, or to the peer's own certificate in RODBUS_CERTIFICATE_MODE_SELF_SIGNED mode.
| const char* rodbus_tls_server_config_t::private_key_path |
Path to the PEM-encoded private key.