Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_rtp_dtls_cfg Struct Reference

DTLS configuration structure. More...

#include <rtp_engine.h>

Data Fields

char * cafile
 
char * capath
 
char * certfile
 
char * cipher
 
enum ast_rtp_dtls_setup default_setup
 
unsigned int enabled:1
 
unsigned int ephemeral_cert:1
 
enum ast_rtp_dtls_hash hash
 
char * pvtfile
 
unsigned int rekey
 
enum ast_srtp_suite suite
 
enum ast_rtp_dtls_verify verify
 

Detailed Description

DTLS configuration structure.

Definition at line 554 of file rtp_engine.h.

Field Documentation

◆ cafile

char* cafile

◆ capath

char* capath

◆ certfile

char* certfile

◆ cipher

char* cipher

◆ default_setup

enum ast_rtp_dtls_setup default_setup

Default setup type to use for outgoing

Definition at line 557 of file rtp_engine.h.

Referenced by add_crypto_to_stream(), ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_parse(), dtlssetup_to_str(), and sip_endpoint_apply_handler().

◆ enabled

unsigned int enabled

◆ ephemeral_cert

unsigned int ephemeral_cert

Whether to not to generate an ephemeral certificate - defaults to 0 (off)

Definition at line 566 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_parse(), ast_rtp_dtls_cfg_validate(), dtlsautogeneratecert_to_str(), and sip_endpoint_apply_handler().

◆ hash

enum ast_rtp_dtls_hash hash

Hash to use for fingerprint

Definition at line 559 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_parse(), and dtlsfingerprint_to_str().

◆ pvtfile

char* pvtfile

◆ rekey

unsigned int rekey

Interval at which to renegotiate and rekey - defaults to 0 (off)

Definition at line 556 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_parse(), and dtlsrekey_to_str().

◆ suite

enum ast_srtp_suite suite

Crypto suite in use

Definition at line 558 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), build_peer(), and setup_dtls_srtp().

◆ verify

enum ast_rtp_dtls_verify verify

What should be verified

Definition at line 560 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_parse(), dtlsverify_to_str(), and sip_endpoint_apply_handler().


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