RTI TCP Transport Version 7.3.0
RTITLS_Ciphers Struct Reference

Set of TLS properties for cipher configuration. More...

#include <rtitls_openssl.h>

Data Fields

char * cipher_list
 List of available TLS ciphers for TLS 1.2 or below. More...
 
char * ciphersuites
 List of available TLS ciphersuites for TLS 1.3 or below. More...
 
DDS_Long dh_param_files_length
 Number of DH key files supplied. More...
 
struct RTITLS_DHParamFiledh_param_files
 List of available DH key files. More...
 
char * engine_id
 ID of OpenSSL cipher engine to request. More...
 

Detailed Description

Set of TLS properties for cipher configuration.

Field Documentation

◆ cipher_list

char* RTITLS_Ciphers::cipher_list

List of available TLS ciphers for TLS 1.2 or below.

See the OpenSSL manual page for SSL_set_cipher_list(3) or ciphers(1) for more information on the format of this string. Some typical values are defined: RTITLS_Plugin::RTITLS_CIPHER_LIST_DEFAULT, RTITLS_Plugin::RTITLS_CIPHER_LIST_ENCRYPT_HIGH, and RTITLS_Plugin::RTITLS_CIPHER_LIST_UNENCRYPTED.

[default] NULL

◆ ciphersuites

char* RTITLS_Ciphers::ciphersuites

List of available TLS ciphersuites for TLS 1.3 or below.

See the OpenSSL manual page for SSL_CTX_set_ciphersuites for more information on the format of this string.

[default] NULL

◆ dh_param_files_length

DDS_Long RTITLS_Ciphers::dh_param_files_length

Number of DH key files supplied.

Must not be greater than 1 if RTI_SUPPORT_OSSL_DECODER is defined.

[default] 0

◆ dh_param_files

struct RTITLS_DHParamFile* RTITLS_Ciphers::dh_param_files

List of available DH key files.

OpenSSL 3 does not allow generating a file with fewer than 512 bits. According to https://www.openssl.org/docs/man3.0/man3/SSL_CTX_set0_tmp_dh_pkey.html , "Applications may supply their own DH parameters instead of using the built-in values. This approach is discouraged and applications should in preference use the built-in parameter support described above." So setting these files is not recommended.

[default] NULL

◆ engine_id

char* RTITLS_Ciphers::engine_id

ID of OpenSSL cipher engine to request.

[default] NULL