FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | TLSShared |
Macros | |
#define | MAX_CERTIFICATE_SIZE 8192 |
Maximum size limit of a certificate and private key size. More... | |
#define | TLS_OPTFL (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
#define | TLS_COMMON_OPTIONS(pstruct, options_field) |
Enumerations | |
enum | DTLSState { DTLS_STATE_NONE, DTLS_STATE_FINISHED, DTLS_STATE_CLOSED, DTLS_STATE_FAILED } |
Functions | |
int | ff_tls_open_underlying (TLSShared *c, URLContext *parent, const char *uri, AVDictionary **options) |
int | ff_url_read_all (const char *url, AVBPrint *bp) |
Read all data from the given URL url and store it in the given buffer bp. More... | |
int | ff_dtls_set_udp (URLContext *h, URLContext *udp) |
int | ff_dtls_export_materials (URLContext *h, char *dtls_srtp_materials, size_t materials_sz) |
int | ff_dtls_state (URLContext *h) |
int | ff_ssl_read_key_cert (char *key_url, char *cert_url, char *key_buf, size_t key_sz, char *cert_buf, size_t cert_sz, char **fingerprint) |
int | ff_ssl_gen_key_cert (char *key_buf, size_t key_sz, char *cert_buf, size_t cert_sz, char **fingerprint) |
void | ff_gnutls_init (void) |
void | ff_gnutls_deinit (void) |
int | ff_openssl_init (void) |
void | ff_openssl_deinit (void) |
#define MAX_CERTIFICATE_SIZE 8192 |
#define TLS_OPTFL (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM) |
#define TLS_COMMON_OPTIONS | ( | pstruct, | |
options_field | |||
) |
enum DTLSState |
int ff_tls_open_underlying | ( | TLSShared * | c, |
URLContext * | parent, | ||
const char * | uri, | ||
AVDictionary ** | options | ||
) |
Definition at line 69 of file tls.c.
Referenced by dtls_start(), ff_tls_open(), and tls_open().
int ff_url_read_all | ( | const char * | url, |
AVBPrint * | bp | ||
) |
Read all data from the given URL url and store it in the given buffer bp.
Definition at line 153 of file tls.c.
Referenced by ff_ssl_read_key_cert().
int ff_dtls_set_udp | ( | URLContext * | h, |
URLContext * | udp | ||
) |
Definition at line 497 of file tls_openssl.c.
Referenced by dtls_initialize().
int ff_dtls_export_materials | ( | URLContext * | h, |
char * | dtls_srtp_materials, | ||
size_t | materials_sz | ||
) |
Definition at line 504 of file tls_openssl.c.
Referenced by setup_srtp().
int ff_dtls_state | ( | URLContext * | h | ) |
Definition at line 519 of file tls_openssl.c.
Referenced by dtls_context_on_state().
int ff_ssl_read_key_cert | ( | char * | key_url, |
char * | cert_url, | ||
char * | key_buf, | ||
size_t | key_sz, | ||
char * | cert_buf, | ||
size_t | cert_sz, | ||
char ** | fingerprint | ||
) |
Definition at line 159 of file tls_openssl.c.
Referenced by certificate_key_init().
int ff_ssl_gen_key_cert | ( | char * | key_buf, |
size_t | key_sz, | ||
char * | cert_buf, | ||
size_t | cert_sz, | ||
char ** | fingerprint | ||
) |
Definition at line 381 of file tls_openssl.c.
Referenced by certificate_key_init().
void ff_gnutls_init | ( | void | ) |
Definition at line 55 of file tls_gnutls.c.
Referenced by ff_tls_init(), and tls_open().
void ff_gnutls_deinit | ( | void | ) |
Definition at line 66 of file tls_gnutls.c.
Referenced by ff_tls_deinit(), and tls_close().
int ff_openssl_init | ( | void | ) |
Definition at line 557 of file tls_openssl.c.
Referenced by ff_tls_init(), and tls_open().
void ff_openssl_deinit | ( | void | ) |
Definition at line 587 of file tls_openssl.c.
Referenced by ff_tls_deinit(), and tls_close().