![]() |
dnp3 (C API) 1.6.0
|
TLS server configuration. More...
#include <dnp3.h>
Data Fields | |
| const char * | dns_name |
| Subject name which is verified in the presented client certificate, from the SAN extension or in the common name field. More... | |
| const char * | peer_cert_path |
| Path to the PEM-encoded certificate of the peer. 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... | |
| dnp3_min_tls_version_t | min_tls_version |
| Minimum TLS version allowed. More... | |
| dnp3_certificate_mode_t | certificate_mode |
| Certificate validation mode. More... | |
| bool | allow_client_name_wildcard |
| If set to true, a '*' may be used for dnp3_tls_server_config_t::dns_name to allow any authenticated client to connect. More... | |
TLS server configuration.
| bool dnp3_tls_server_config_t::allow_client_name_wildcard |
If set to true, a '*' may be used for dnp3_tls_server_config_t::dns_name to allow any authenticated client to connect.
| dnp3_certificate_mode_t dnp3_tls_server_config_t::certificate_mode |
Certificate validation mode.
| const char* dnp3_tls_server_config_t::dns_name |
Subject name which is verified in the presented client certificate, from the SAN extension or in the common name field.
| const char* dnp3_tls_server_config_t::local_cert_path |
Path to the PEM-encoded local certificate.
| dnp3_min_tls_version_t dnp3_tls_server_config_t::min_tls_version |
Minimum TLS version allowed.
| const char* dnp3_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* dnp3_tls_server_config_t::peer_cert_path |
Path to the PEM-encoded certificate of the peer.
| const char* dnp3_tls_server_config_t::private_key_path |
Path to the PEM-encoded private key.