<refentry id="camel-CamelGpgContext">
<refmeta>
<refentrytitle role="top_of_page" id="camel-CamelGpgContext.top_of_page">CamelGpgContext</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAMEL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>CamelGpgContext</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="camel-CamelGpgContext.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="CamelGpgContext">CamelGpgContext</link>;
<link linkend="CamelCipherContext">CamelCipherContext</link> * <link linkend="camel-gpg-context-new">camel_gpg_context_new</link>              (<link linkend="CamelSession">CamelSession</link> *session);
<link linkend="void">void</link>                <link linkend="camel-gpg-context-set-always-trust">camel_gpg_context_set_always_trust</link>  (<link linkend="CamelGpgContext">CamelGpgContext</link> *ctx,
                                                         <link linkend="gboolean">gboolean</link> trust);
</synopsis>
</refsynopsisdiv>









<refsect1 id="camel-CamelGpgContext.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="camel-CamelGpgContext.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelGpgContext" role="struct">
<title>CamelGpgContext</title>
<indexterm zone="CamelGpgContext"><primary sortas="CamelGpgContext">CamelGpgContext</primary></indexterm><programlisting>typedef struct {
	CamelCipherContext parent_object;
	
	gboolean always_trust;
} CamelGpgContext;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="camel-gpg-context-new" role="function">
<title>camel_gpg_context_new ()</title>
<indexterm zone="camel-gpg-context-new"><primary sortas="camel_gpg_context_new">camel_gpg_context_new</primary></indexterm><programlisting><link linkend="CamelCipherContext">CamelCipherContext</link> * camel_gpg_context_new              (<link linkend="CamelSession">CamelSession</link> *session);</programlisting>
<para>
Creates a new gpg cipher context object.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>session</parameter>&#160;:</term>
<listitem><simpara> session
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a new gpg cipher context object.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-gpg-context-set-always-trust" role="function">
<title>camel_gpg_context_set_always_trust ()</title>
<indexterm zone="camel-gpg-context-set-always-trust"><primary sortas="camel_gpg_context_set_always_trust">camel_gpg_context_set_always_trust</primary></indexterm><programlisting><link linkend="void">void</link>                camel_gpg_context_set_always_trust  (<link linkend="CamelGpgContext">CamelGpgContext</link> *ctx,
                                                         <link linkend="gboolean">gboolean</link> trust);</programlisting>
<para>
Sets the <parameter>always_trust</parameter> flag on the gpg context which is used for
encryption.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>ctx</parameter>&#160;:</term>
<listitem><simpara> gpg context
<parameter>always_trust</parameter> always truct flag
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>trust</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
