Structure that holds SSL Transport configuration items. More...
Public Member Functions | |
SslTransportConfig () | |
Constructor. Initializes all configuration items with default values. | |
ReturnCode_t | get_default_config () |
ReturnCode_t | get_env_config () |
Public Attributes | |
short | participant_index |
Vector< IpTransportInterface > | interfaces |
boolean | dynamic_interfaces |
int | tx_max_packet_size |
String | server_cert_file |
String | server_key_file |
boolean | server_verify_client |
String | server_verify_ca_list_file |
String | server_accept_ca_list_file |
String | client_cert_file |
String | client_key_file |
String | client_verify_ca_list_file |
Structure that holds SSL Transport configuration items.
ReturnCode_t get_default_config | ( | ) |
Initialize the SslTransportConfig object with default values. Currently assigned values may be overwritten by defaults.
ReturnCode_t get_env_config | ( | ) |
Query for environment variables that impact ssl transport configuration. Load the values (if any) into the SslTransportConfig object. Currently assigned values may be overwritten by values derived from environment variables.
String client_cert_file |
client cert
String client_key_file |
client private key
String client_verify_ca_list_file |
'verify locations' used by client to verify server certificate
boolean dynamic_interfaces |
detect and handle changes to interface addresses
Vector<IpTransportInterface> interfaces |
default: empty -> use all available interfaces
short participant_index |
-1: auto detect; else force (may fail if another participant is using the ports (can't exceed 120)
String server_accept_ca_list_file |
list of CA's to send to client as 'acceptable' CA's
String server_cert_file |
server cert
String server_key_file |
server private key
String server_verify_ca_list_file |
list of CA's to verify client certs against
boolean server_verify_client |
Should server verify client certificate
int tx_max_packet_size |
default: 64K (udp limit)