BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

sip_transport_tls.h File Reference

SIP TLS Transport. More...

#include <pjsip/sip_transport.h>
#include <pj/pool.h>
#include <pj/ssl_sock.h>
#include <pj/string.h>
#include <pj/sock_qos.h>

Data Structures

struct  pjsip_tls_on_accept_fail_param
 
struct  pjsip_tls_on_verify_param
 
struct  pjsip_tls_setting
 
struct  pjsip_tls_state_info
 

Macros

#define PJSIP_SSL_DEFAULT_METHOD   PJSIP_TLSV1_METHOD
 
#define PJSIP_SSL_DEFAULT_PROTO
 

Enumerations

enum  pjsip_ssl_method {
  PJSIP_SSL_UNSPECIFIED_METHOD = 0 , PJSIP_SSLV2_METHOD = 20 , PJSIP_SSLV3_METHOD = 30 , PJSIP_TLSV1_METHOD = 31 ,
  PJSIP_TLSV1_1_METHOD = 32 , PJSIP_TLSV1_2_METHOD = 33 , PJSIP_TLSV1_3_METHOD = 34 , PJSIP_SSLV23_METHOD = 23
}
 

Functions

void pjsip_tls_setting_default (pjsip_tls_setting *tls_opt)
 
void pjsip_tls_setting_copy (pj_pool_t *pool, pjsip_tls_setting *dst, const pjsip_tls_setting *src)
 
void pjsip_tls_setting_wipe_keys (pjsip_tls_setting *opt)
 
pj_status_t pjsip_tls_transport_start (pjsip_endpoint *endpt, const pjsip_tls_setting *opt, const pj_sockaddr_in *local, const pjsip_host_port *a_name, unsigned async_cnt, pjsip_tpfactory **p_factory)
 
pj_status_t pjsip_tls_transport_start2 (pjsip_endpoint *endpt, const pjsip_tls_setting *opt, const pj_sockaddr *local, const pjsip_host_port *a_name, unsigned async_cnt, pjsip_tpfactory **p_factory)
 
pj_status_t pjsip_tls_transport_lis_start (pjsip_tpfactory *factory, const pj_sockaddr *local, const pjsip_host_port *a_name)
 
pj_status_t pjsip_tls_transport_restart (pjsip_tpfactory *factory, const pj_sockaddr *local, const pjsip_host_port *a_name)
 

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.