BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJNATH Reference

#include <turn_sock.h>

Data Fields

pj_str_t ca_list_file
 
pj_str_t ca_list_path
 
pj_str_t cert_file
 
pj_str_t privkey_file
 
pj_ssl_cert_buffer ca_buf
 
pj_ssl_cert_buffer cert_buf
 
pj_ssl_cert_buffer privkey_buf
 
pj_str_t password
 
pj_ssl_sock_param ssock_param
 

Detailed Description

TLS transport settings.

Field Documentation

◆ ca_buf

pj_ssl_cert_buffer pj_turn_sock_tls_cfg::ca_buf

Certificate of Authority (CA) buffer. If ca_list_file, ca_list_path, cert_file or privkey_file are set, this setting will be ignored.

◆ ca_list_file

pj_str_t pj_turn_sock_tls_cfg::ca_list_file

Certificate of Authority (CA) list file.

◆ ca_list_path

pj_str_t pj_turn_sock_tls_cfg::ca_list_path

Certificate of Authority (CA) list directory path.

◆ cert_buf

pj_ssl_cert_buffer pj_turn_sock_tls_cfg::cert_buf

Public endpoint certificate buffer, which will be used as client- side certificate for outgoing TLS connection, and server-side certificate for incoming TLS connection. If ca_list_file, ca_list_path, cert_file or privkey_file are set, this setting will be ignored.

◆ cert_file

pj_str_t pj_turn_sock_tls_cfg::cert_file

Public endpoint certificate file, which will be used as client- side certificate for outgoing TLS connection.

◆ password

pj_str_t pj_turn_sock_tls_cfg::password

Password to open private key.

◆ privkey_buf

pj_ssl_cert_buffer pj_turn_sock_tls_cfg::privkey_buf

Optional private key buffer of the endpoint certificate to be used. If ca_list_file, ca_list_path, cert_file or privkey_file are set, this setting will be ignored.

◆ privkey_file

pj_str_t pj_turn_sock_tls_cfg::privkey_file

Optional private key of the endpoint certificate to be used.

◆ ssock_param

pj_ssl_sock_param pj_turn_sock_tls_cfg::ssock_param

The ssl socket parameter. These fields are used by TURN TLS:

  • proto
  • ciphers_num
  • ciphers
  • curves_num
  • curves
  • sigalgs
  • entropy_type
  • entropy_path
  • timeout
  • sockopt_params
  • sockopt_ignore_error

The documentation for this struct was generated from the following file:

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.