403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/gtk-doc/html/camel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/gtk-doc/html/camel/camel-CamelTcpStreamSSL.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CamelTcpStreamSSL</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Camel Reference Manual">
<link rel="up" href="Streams.html" title="Streams">
<link rel="prev" href="camel-CamelTcpStreamRaw.html" title="CamelTcpStreamRaw">
<link rel="next" href="StreamFilters.html" title="Stream Filters">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="classes.html" title="Part I. Camel Classes">
<link rel="chapter" href="ClassTree.html" title="Class Hierarchy">
<link rel="chapter" href="Fundamentals.html" title="Fundamentals">
<link rel="chapter" href="Streams.html" title="Streams">
<link rel="chapter" href="StreamFilters.html" title="Stream Filters">
<link rel="chapter" href="Services.html" title="Services">
<link rel="chapter" href="Filters.html" title="Filters">
<link rel="chapter" href="Folders.html" title="Folders">
<link rel="chapter" href="SearchFolders.html" title="Search Folders">
<link rel="chapter" href="Addresses.html" title="Addresses">
<link rel="chapter" href="Crypto.html" title="Crypto Contexts">
<link rel="chapter" href="MIME.html" title="MIME Objects">
<link rel="chapter" href="Storage.html" title="Metadata Storage">
<link rel="chapter" href="Utilities.html" title="Utilities">
<link rel="chapter" href="Deprecated.html" title="Deprecated Objects">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="camel-CamelTcpStreamRaw.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="Streams.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Camel Reference Manual</th>
<td><a accesskey="n" href="StreamFilters.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#camel-CamelTcpStreamSSL.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#camel-CamelTcpStreamSSL.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="CamelTcpStreamSSL">
<a name="camel-CamelTcpStreamSSL"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="camel-CamelTcpStreamSSL.top_of_page"></a>CamelTcpStreamSSL</span></h2>
<p>CamelTcpStreamSSL</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="camel-CamelTcpStreamSSL.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
struct              <a class="link" href="camel-CamelTcpStreamSSL.html#CamelTcpStreamSSL" title="struct CamelTcpStreamSSL">CamelTcpStreamSSL</a>;
#define             <a class="link" href="camel-CamelTcpStreamSSL.html#CAMEL-TCP-STREAM-SSL-ENABLE-SSL2--CAPS" title="CAMEL_TCP_STREAM_SSL_ENABLE_SSL2">CAMEL_TCP_STREAM_SSL_ENABLE_SSL2</a>
#define             <a class="link" href="camel-CamelTcpStreamSSL.html#CAMEL-TCP-STREAM-SSL-ENABLE-SSL3--CAPS" title="CAMEL_TCP_STREAM_SSL_ENABLE_SSL3">CAMEL_TCP_STREAM_SSL_ENABLE_SSL3</a>
#define             <a class="link" href="camel-CamelTcpStreamSSL.html#CAMEL-TCP-STREAM-SSL-ENABLE-TLS--CAPS" title="CAMEL_TCP_STREAM_SSL_ENABLE_TLS">CAMEL_TCP_STREAM_SSL_ENABLE_TLS</a>
<a class="link" href="camel-CamelStream.html#CamelStream" title="struct CamelStream">CamelStream</a> *       <a class="link" href="camel-CamelTcpStreamSSL.html#camel-tcp-stream-ssl-new" title="camel_tcp_stream_ssl_new ()">camel_tcp_stream_ssl_new</a>            (struct _CamelSession *session,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *expected_host,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> flags);
<a class="link" href="camel-CamelStream.html#CamelStream" title="struct CamelStream">CamelStream</a> *       <a class="link" href="camel-CamelTcpStreamSSL.html#camel-tcp-stream-ssl-new-raw" title="camel_tcp_stream_ssl_new_raw ()">camel_tcp_stream_ssl_new_raw</a>        (struct _CamelSession *session,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *expected_host,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> flags);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                <a class="link" href="camel-CamelTcpStreamSSL.html#camel-tcp-stream-ssl-enable-ssl" title="camel_tcp_stream_ssl_enable_ssl ()">camel_tcp_stream_ssl_enable_ssl</a>     (<a class="link" href="camel-CamelTcpStreamSSL.html#CamelTcpStreamSSL" title="struct CamelTcpStreamSSL">CamelTcpStreamSSL</a> *ssl);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="camel-CamelTcpStreamSSL.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="camel-CamelTcpStreamSSL.details"></a><h2>Details</h2>
<div class="refsect2" title="struct CamelTcpStreamSSL">
<a name="CamelTcpStreamSSL"></a><h3>struct CamelTcpStreamSSL</h3>
<pre class="programlisting">struct CamelTcpStreamSSL {
	CamelTcpStream parent_object;

	struct _CamelTcpStreamSSLPrivate *priv;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="CAMEL_TCP_STREAM_SSL_ENABLE_SSL2">
<a name="CAMEL-TCP-STREAM-SSL-ENABLE-SSL2--CAPS"></a><h3>CAMEL_TCP_STREAM_SSL_ENABLE_SSL2</h3>
<pre class="programlisting">#define CAMEL_TCP_STREAM_SSL_ENABLE_SSL2   (1 &lt;&lt; 0)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="CAMEL_TCP_STREAM_SSL_ENABLE_SSL3">
<a name="CAMEL-TCP-STREAM-SSL-ENABLE-SSL3--CAPS"></a><h3>CAMEL_TCP_STREAM_SSL_ENABLE_SSL3</h3>
<pre class="programlisting">#define CAMEL_TCP_STREAM_SSL_ENABLE_SSL3   (1 &lt;&lt; 1)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="CAMEL_TCP_STREAM_SSL_ENABLE_TLS">
<a name="CAMEL-TCP-STREAM-SSL-ENABLE-TLS--CAPS"></a><h3>CAMEL_TCP_STREAM_SSL_ENABLE_TLS</h3>
<pre class="programlisting">#define CAMEL_TCP_STREAM_SSL_ENABLE_TLS    (1 &lt;&lt; 2)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="camel_tcp_stream_ssl_new ()">
<a name="camel-tcp-stream-ssl-new"></a><h3>camel_tcp_stream_ssl_new ()</h3>
<pre class="programlisting"><a class="link" href="camel-CamelStream.html#CamelStream" title="struct CamelStream">CamelStream</a> *       camel_tcp_stream_ssl_new            (struct _CamelSession *session,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *expected_host,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> flags);</pre>
<p>
Since the SSL certificate authenticator may need to prompt the
user, a CamelService is needed. <em class="parameter"><code>expected_host</code></em> is needed as a
protection against an MITM attack.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>expected_host</code></em> :</span></p></td>
<td> host that the stream is expecting to connect with.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td> flags
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a ssl stream (in ssl mode)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="camel_tcp_stream_ssl_new_raw ()">
<a name="camel-tcp-stream-ssl-new-raw"></a><h3>camel_tcp_stream_ssl_new_raw ()</h3>
<pre class="programlisting"><a class="link" href="camel-CamelStream.html#CamelStream" title="struct CamelStream">CamelStream</a> *       camel_tcp_stream_ssl_new_raw        (struct _CamelSession *session,
                                                         const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *expected_host,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> flags);</pre>
<p>
Since the SSL certificate authenticator may need to prompt the
user, a CamelService is needed. <em class="parameter"><code>expected_host</code></em> is needed as a
protection against an MITM attack.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>expected_host</code></em> :</span></p></td>
<td> host that the stream is expecting to connect with.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td> flags
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a ssl-capable stream (in non ssl mode)
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="camel_tcp_stream_ssl_enable_ssl ()">
<a name="camel-tcp-stream-ssl-enable-ssl"></a><h3>camel_tcp_stream_ssl_enable_ssl ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                camel_tcp_stream_ssl_enable_ssl     (<a class="link" href="camel-CamelTcpStreamSSL.html#CamelTcpStreamSSL" title="struct CamelTcpStreamSSL">CamelTcpStreamSSL</a> *ssl);</pre>
<p>
Toggles an ssl-capable stream into ssl mode (if it isn't already).</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ssl</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> 0 on success or -1 on fail.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit