how to begin TLS in wm5.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



showsunday wrote:
> 
> hello ,benny
>  
> i want use OpenSSL in WM5.0 project based on PJSIP.
>  i notice in PJSIP\pjsip\src\pjsip ,a file named 
> "sip_transport_tls_ossl.c"has implemented the OpenSSL ,so ,i add the 
> file in source files of pjsip_core_wince libraries project,then add 
> PJSIP\pjsip\include\pjsip\sip_transport_tls.h in header files of 
> pjsip_core_wince libraries project,complie successful.
 >
> how can i do use it in my project?

Please see http://www.pjsip.org/using.htm#vs_req on how to enable 
TLS support during PJSIP build.

Then see http://www.pjsip.org/pjsua.htm#opt_tls on how to use TLS 
for pjsua. For the WinCE application, you'll need to look at pjsua 
source code (pjsua_app.c) to see how TLS settings should be used by 
the WinCE application. It's just a matter of filling up tls_setting 
structure in the pjsua_transport_config.

Then just add ";transport=tls" parameter to the URI of outgoing 
requests.

cheers,
  -benny

>                thank.




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux