Asterisk - The Open Source Telephony Project GIT-master-f36a736
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 605 of file rtp_engine.h.

Field Documentation

◆ cafile

char* cafile

◆ capath

char* capath

Path to certificate authority

Definition at line 616 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_free(), ast_rtp_dtls_cfg_parse(), ast_rtp_dtls_cfg_validate(), and dtlscapath_to_str().

◆ certfile

char* certfile

◆ cipher

char* cipher

Cipher to use

Definition at line 614 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy(), ast_rtp_dtls_cfg_free(), ast_rtp_dtls_cfg_parse(), and dtlscipher_to_str().

◆ default_setup

enum ast_rtp_dtls_setup default_setup

Default setup type to use for outgoing

Definition at line 608 of file rtp_engine.h.

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

◆ enabled

unsigned int enabled

Whether DTLS support is enabled or not

Definition at line 606 of file rtp_engine.h.

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

◆ ephemeral_cert

unsigned int ephemeral_cert

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

Definition at line 617 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 610 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 607 of file rtp_engine.h.

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

◆ suite

enum ast_srtp_suite suite

Crypto suite in use

Definition at line 609 of file rtp_engine.h.

Referenced by ast_rtp_dtls_cfg_copy().

◆ verify

enum ast_rtp_dtls_verify verify

What should be verified

Definition at line 611 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: