reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
DtlsSocket.cxx File Reference
#include <iostream>
#include <sys/time.h>
#include "rutil/ResipAssert.h"
#include <ctype.h>
#include <string.h>
#include "DtlsFactory.hxx"
#include "DtlsSocket.hxx"
#include <utility>

Go to the source code of this file.

Classes

class  dtls::DtlsSocketTimer
 

Functions

int dummy_cb (int d, X509_STORE_CTX *x)
 
static bool equalsIgnoreCase (const char *a, const char *b)
 
static const EVP_MD * fingerprintDigest (const char *hashFunction)
 
static bool negotiatedSrtpProfile (SRTP_PROTECTION_PROFILE *negotiated, srtp_profile_t &profile)
 
static void initSrtpPolicy (srtp_policy_t &policy, srtp_profile_t profile, const std::vector< unsigned char > &key, const std::vector< unsigned char > &salt)
 

Function Documentation

◆ dummy_cb()

int dummy_cb ( int  d,
X509_STORE_CTX *  x 
)

Definition at line 42 of file DtlsSocket.cxx.

◆ equalsIgnoreCase()

static bool equalsIgnoreCase ( const char *  a,
const char *  b 
)
static

Definition at line 340 of file DtlsSocket.cxx.

◆ fingerprintDigest()

static const EVP_MD * fingerprintDigest ( const char *  hashFunction)
static

Definition at line 353 of file DtlsSocket.cxx.

◆ initSrtpPolicy()

static void initSrtpPolicy ( srtp_policy_t &  policy,
srtp_profile_t  profile,
const std::vector< unsigned char > &  key,
const std::vector< unsigned char > &  salt 
)
static

Definition at line 513 of file DtlsSocket.cxx.

◆ negotiatedSrtpProfile()

static bool negotiatedSrtpProfile ( SRTP_PROTECTION_PROFILE *  negotiated,
srtp_profile_t &  profile 
)
static

Definition at line 411 of file DtlsSocket.cxx.