RTI TCP Transport Version 7.3.0
RTITLS_Identity Struct Reference

Set of TLS properties for identity. More...

#include <rtitls_openssl.h>

Data Fields

char * certificate_chain
 String containing identifying certificate (in PEM format) or certificate chain (appending intermediate CA certs in order). More...
 
char * certificate_chain_file
 File containing identifying certificate (in PEM format) or certificate chain (appending intermediate CA certs in order). More...
 
char * private_key_password
 Password for private key. More...
 
char * private_key
 String containing private key (in PEM format) More...
 
char * private_key_file
 File containing private key (in PEM format) More...
 
char * rsa_private_key
 String containing additional RSA private key (in PEM format) More...
 
char * rsa_private_key_file
 File containing additional RSA private key (in PEM format) More...
 

Detailed Description

Set of TLS properties for identity.

Field Documentation

◆ certificate_chain

char* RTITLS_Identity::certificate_chain

String containing identifying certificate (in PEM format) or certificate chain (appending intermediate CA certs in order).

An identifying certificate is required for secure communication. The string must be sorted starting with the certificate to the highest level (root CA). If this is specified certificate_chain_file must be empty.

[default] NULL

◆ certificate_chain_file

char* RTITLS_Identity::certificate_chain_file

File containing identifying certificate (in PEM format) or certificate chain (appending intermediate CA certs in order).

An identifying certificate is required for secure communication. The file must be sorted starting with the certificate to the highest level (root CA). If this is specified certificate_chain must be empty.

Optionally, a private key may be appended to this file. If no private key option is specified, this file will be used to load a private key.

[default] NULL

◆ private_key_password

char* RTITLS_Identity::private_key_password

Password for private key.

[default] NULL (no password)

◆ private_key

char* RTITLS_Identity::private_key

String containing private key (in PEM format)

At most one of private_key and private_key_file may be specified. If no private key is specified (all values are NULL), the private key will be read from the certificate chain file.

[default] NULL

◆ private_key_file

char* RTITLS_Identity::private_key_file

File containing private key (in PEM format)

At most one of private_key and private_key_file may be specified. If no private key is specified (all values are NULL), the private key will be read from the certificate chain file.

[default] NULL

◆ rsa_private_key

char* RTITLS_Identity::rsa_private_key

String containing additional RSA private key (in PEM format)

For use if both an RSA and non-RSA key are required for the selected cipher. At most one of rsa_private_key and rsa_private_key_file may be specified.

[default] NULL

◆ rsa_private_key_file

char* RTITLS_Identity::rsa_private_key_file

File containing additional RSA private key (in PEM format)

For use if both an RSA and non-RSA key are required for the selected cipher. At most one of rsa_private_key and rsa_private_key_file may be specified.

[default] NULL