Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
srtp.h File Reference
#include <openssl/ssl.h>
+ Include dependency graph for srtp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SRTP_AES128_CM_SHA1_80   0x0001
 
#define SRTP_AES128_CM_SHA1_32   0x0002
 
#define SRTP_AES128_F8_SHA1_80   0x0003
 
#define SRTP_AES128_F8_SHA1_32   0x0004
 
#define SRTP_NULL_SHA1_80   0x0005
 
#define SRTP_NULL_SHA1_32   0x0006
 
#define SRTP_AEAD_AES_128_GCM   0x0007
 
#define SRTP_AEAD_AES_256_GCM   0x0008
 

Functions

__owur int SSL_CTX_set_tlsext_use_srtp (SSL_CTX *ctx, const char *profiles)
 
__owur int SSL_set_tlsext_use_srtp (SSL *ssl, const char *profiles)
 
__owur STACK_OF (SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(SSL *ssl)
 
__owur SRTP_PROTECTION_PROFILESSL_get_selected_srtp_profile (SSL *s)
 

Macro Definition Documentation

◆ SRTP_AEAD_AES_128_GCM

#define SRTP_AEAD_AES_128_GCM   0x0007

Definition at line 33 of file srtp.h.

◆ SRTP_AEAD_AES_256_GCM

#define SRTP_AEAD_AES_256_GCM   0x0008

Definition at line 34 of file srtp.h.

◆ SRTP_AES128_CM_SHA1_32

#define SRTP_AES128_CM_SHA1_32   0x0002

Definition at line 26 of file srtp.h.

◆ SRTP_AES128_CM_SHA1_80

#define SRTP_AES128_CM_SHA1_80   0x0001

Definition at line 25 of file srtp.h.

◆ SRTP_AES128_F8_SHA1_32

#define SRTP_AES128_F8_SHA1_32   0x0004

Definition at line 28 of file srtp.h.

◆ SRTP_AES128_F8_SHA1_80

#define SRTP_AES128_F8_SHA1_80   0x0003

Definition at line 27 of file srtp.h.

◆ SRTP_NULL_SHA1_32

#define SRTP_NULL_SHA1_32   0x0006

Definition at line 30 of file srtp.h.

◆ SRTP_NULL_SHA1_80

#define SRTP_NULL_SHA1_80   0x0005

Definition at line 29 of file srtp.h.

Function Documentation

◆ SSL_CTX_set_tlsext_use_srtp()

__owur int SSL_CTX_set_tlsext_use_srtp ( SSL_CTX * ctx,
const char * profiles )

◆ SSL_get_selected_srtp_profile()

__owur SRTP_PROTECTION_PROFILE * SSL_get_selected_srtp_profile ( SSL * s)

◆ SSL_set_tlsext_use_srtp()

__owur int SSL_set_tlsext_use_srtp ( SSL * ssl,
const char * profiles )

◆ STACK_OF()