in reply to Re: support for TLS
in thread support for TLS

Thanks for the info.

I am writing a SIP protocol client that will connect to a SIP proxy server. Depending on the user preference, i want to be able to connect to the server in a secure(TLS) as well as non-secure(TCP/UDP) way.

Does the Net::SSLeay interface provide support for non-http applicatons also?

Replies are listed 'Best First'.
Re: Re: Re: support for TLS
by Joost (Canon) on Jun 03, 2003 at 15:34 UTC
    Does the Net::SSLeay interface provide support for non-http applicatons also?

    According to the docs it does:

    socket (S, &AF_INET, &SOCK_STREAM, 0) or die "socket: $!"; bind (S, $our_serv_params) or die "bind: $!"; listen (S, 5) or die "listen: $!"; $ctx = Net::SSLeay::CTX_new () or die_now("CTX_new +($ctx): $!"); Net::SSLeay::CTX_set_options($ctx, &Net::SSLeay::OP_ALL) and die_if_ssl_error("ssl ctx set options");