diff options
Diffstat (limited to 'reference/gnutls-pkcs12.html')
-rw-r--r-- | reference/gnutls-pkcs12.html | 158 |
1 files changed, 79 insertions, 79 deletions
diff --git a/reference/gnutls-pkcs12.html b/reference/gnutls-pkcs12.html index 29bb6f77f8..a1bdeaa45c 100644 --- a/reference/gnutls-pkcs12.html +++ b/reference/gnutls-pkcs12.html @@ -42,7 +42,7 @@ <tbody> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-decrypt" title="gnutls_pkcs12_bag_decrypt ()">gnutls_pkcs12_bag_decrypt</a> <span class="c_punctuation">()</span> @@ -50,7 +50,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">void</span> +<GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-deinit" title="gnutls_pkcs12_bag_deinit ()">gnutls_pkcs12_bag_deinit</a> <span class="c_punctuation">()</span> @@ -58,7 +58,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-encrypt" title="gnutls_pkcs12_bag_encrypt ()">gnutls_pkcs12_bag_encrypt</a> <span class="c_punctuation">()</span> @@ -66,7 +66,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-get-count" title="gnutls_pkcs12_bag_get_count ()">gnutls_pkcs12_bag_get_count</a> <span class="c_punctuation">()</span> @@ -74,7 +74,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-get-data" title="gnutls_pkcs12_bag_get_data ()">gnutls_pkcs12_bag_get_data</a> <span class="c_punctuation">()</span> @@ -82,7 +82,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-get-friendly-name" title="gnutls_pkcs12_bag_get_friendly_name ()">gnutls_pkcs12_bag_get_friendly_name</a> <span class="c_punctuation">()</span> @@ -90,7 +90,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-get-key-id" title="gnutls_pkcs12_bag_get_key_id ()">gnutls_pkcs12_bag_get_key_id</a> <span class="c_punctuation">()</span> @@ -98,7 +98,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-init" title="gnutls_pkcs12_bag_init ()">gnutls_pkcs12_bag_init</a> <span class="c_punctuation">()</span> @@ -106,7 +106,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-set-crl" title="gnutls_pkcs12_bag_set_crl ()">gnutls_pkcs12_bag_set_crl</a> <span class="c_punctuation">()</span> @@ -114,7 +114,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-set-crt" title="gnutls_pkcs12_bag_set_crt ()">gnutls_pkcs12_bag_set_crt</a> <span class="c_punctuation">()</span> @@ -122,7 +122,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-set-data" title="gnutls_pkcs12_bag_set_data ()">gnutls_pkcs12_bag_set_data</a> <span class="c_punctuation">()</span> @@ -130,7 +130,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-set-friendly-name" title="gnutls_pkcs12_bag_set_friendly_name ()">gnutls_pkcs12_bag_set_friendly_name</a> <span class="c_punctuation">()</span> @@ -138,7 +138,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-set-key-id" title="gnutls_pkcs12_bag_set_key_id ()">gnutls_pkcs12_bag_set_key_id</a> <span class="c_punctuation">()</span> @@ -146,7 +146,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">void</span> +<GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-deinit" title="gnutls_pkcs12_deinit ()">gnutls_pkcs12_deinit</a> <span class="c_punctuation">()</span> @@ -154,7 +154,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-export" title="gnutls_pkcs12_export ()">gnutls_pkcs12_export</a> <span class="c_punctuation">()</span> @@ -162,7 +162,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-export2" title="gnutls_pkcs12_export2 ()">gnutls_pkcs12_export2</a> <span class="c_punctuation">()</span> @@ -170,7 +170,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-generate-mac" title="gnutls_pkcs12_generate_mac ()">gnutls_pkcs12_generate_mac</a> <span class="c_punctuation">()</span> @@ -178,7 +178,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-get-bag" title="gnutls_pkcs12_get_bag ()">gnutls_pkcs12_get_bag</a> <span class="c_punctuation">()</span> @@ -186,7 +186,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-import" title="gnutls_pkcs12_import ()">gnutls_pkcs12_import</a> <span class="c_punctuation">()</span> @@ -194,7 +194,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-init" title="gnutls_pkcs12_init ()">gnutls_pkcs12_init</a> <span class="c_punctuation">()</span> @@ -202,7 +202,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-set-bag" title="gnutls_pkcs12_set_bag ()">gnutls_pkcs12_set_bag</a> <span class="c_punctuation">()</span> @@ -210,7 +210,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-simple-parse" title="gnutls_pkcs12_simple_parse ()">gnutls_pkcs12_simple_parse</a> <span class="c_punctuation">()</span> @@ -218,7 +218,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">int</span> +<GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-verify-mac" title="gnutls_pkcs12_verify_mac ()">gnutls_pkcs12_verify_mac</a> <span class="c_punctuation">()</span> @@ -276,9 +276,9 @@ <a name="gnutls-pkcs12.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-pkcs12-bag-decrypt"></a><h3>gnutls_pkcs12_bag_decrypt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_decrypt (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *pass</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pass</code></em>);</pre> <p>This function will decrypt the given encrypted bag and return 0 on success.</p> <div class="refsect3"> @@ -313,7 +313,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-deinit"></a><h3>gnutls_pkcs12_bag_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs12_bag_deinit (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>);</pre> <p>This function will deinitialize a PKCS12 Bag structure.</p> <div class="refsect3"> @@ -335,10 +335,10 @@ gnutls_pkcs12_bag_deinit (<em class="parameter"><code><a class="link" href="gnut <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-encrypt"></a><h3>gnutls_pkcs12_bag_encrypt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_encrypt (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *pass</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pass</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will encrypt the given bag.</p> <div class="refsect3"> <a name="id-1.2.10.7.4.5"></a><h4>Parameters</h4> @@ -377,7 +377,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-get-count"></a><h3>gnutls_pkcs12_bag_get_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_get_count (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>);</pre> <p>This function will return the number of the elements withing the bag.</p> <div class="refsect3"> @@ -405,10 +405,10 @@ error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-get-data"></a><h3>gnutls_pkcs12_bag_get_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_get_data (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *data</code></em>);</pre> <p>This function will return the bag's data. The data is a constant that is stored into the bag. Should not be accessed after the bag is deleted.</p> @@ -449,10 +449,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-get-friendly-name"></a><h3>gnutls_pkcs12_bag_get_friendly_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_get_friendly_name (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">char</span> **name</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **name</code></em>);</pre> <p>This function will return the friendly name, of the specified bag element. The key ID is usually used to distinguish the local private key and the certificate pair.</p> @@ -493,10 +493,10 @@ negative error value. or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-get-key-id"></a><h3>gnutls_pkcs12_bag_get_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_get_key_id (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *id</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *id</code></em>);</pre> <p>This function will return the key ID, of the specified bag element. The key ID is usually used to distinguish the local private key and the certificate pair.</p> @@ -537,7 +537,7 @@ negative error value. or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-init"></a><h3>gnutls_pkcs12_bag_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_init (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> *bag</code></em>);</pre> <p>This function will initialize a PKCS12 bag structure. PKCS12 Bags usually contain private keys, lists of X.509 Certificates and X.509 @@ -567,7 +567,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-set-crl"></a><h3>gnutls_pkcs12_bag_set_crl ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_set_crl (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crl-t" title="gnutls_x509_crl_t"><span class="type">gnutls_x509_crl_t</span></a> crl</code></em>);</pre> <p>This function will insert the given CRL into the @@ -604,7 +604,7 @@ on failure.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-set-crt"></a><h3>gnutls_pkcs12_bag_set_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_set_crt (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crt-t" title="gnutls_x509_crt_t"><span class="type">gnutls_x509_crt_t</span></a> crt</code></em>);</pre> <p>This function will insert the given certificate into the @@ -641,10 +641,10 @@ value on failure.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-set-data"></a><h3>gnutls_pkcs12_bag_set_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_set_data (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-type-t" title="enum gnutls_pkcs12_bag_type_t"><span class="type">gnutls_pkcs12_bag_type_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *data</code></em>);</pre> <p>This function will insert the given data of the given type into the bag.</p> <div class="refsect3"> @@ -684,10 +684,10 @@ value on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-set-friendly-name"></a><h3>gnutls_pkcs12_bag_set_friendly_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_set_friendly_name (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>This function will add the given key friendly name, to the specified, by the index, bag element. The name will be encoded as a 'Friendly name' bag attribute, which is usually used to set a @@ -729,10 +729,10 @@ negative error value. or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-bag-set-key-id"></a><h3>gnutls_pkcs12_bag_set_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_bag_set_key_id (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *id</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *id</code></em>);</pre> <p>This function will add the given key ID, to the specified, by the index, bag element. The key ID will be encoded as a 'Local key identifier' bag attribute, which is usually used to distinguish @@ -774,7 +774,7 @@ negative error value. or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-deinit"></a><h3>gnutls_pkcs12_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs12_deinit (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>);</pre> <p>This function will deinitialize a PKCS12 structure.</p> <div class="refsect3"> @@ -796,11 +796,11 @@ gnutls_pkcs12_deinit (<em class="parameter"><code><a class="link" href="gnutls-p <hr> <div class="refsect2"> <a name="gnutls-pkcs12-export"></a><h3>gnutls_pkcs12_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_export (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crt-fmt-t" title="enum gnutls_x509_crt_fmt_t"><span class="type">gnutls_x509_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code><span class="type">void</span> *output_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *output_data_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *output_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *output_data_size</code></em>);</pre> <p>This function will export the pkcs12 structure to DER or PEM format.</p> <p>If the buffer provided is not long enough to hold the output, then *output_data_size will be updated and GNUTLS_E_SHORT_MEMORY_BUFFER @@ -850,10 +850,10 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-export2"></a><h3>gnutls_pkcs12_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_export2 (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crt-fmt-t" title="enum gnutls_x509_crt_fmt_t"><span class="type">gnutls_x509_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *out</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *out</code></em>);</pre> <p>This function will export the pkcs12 structure to DER or PEM format.</p> <p>The output buffer is allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a>.</p> <p>If the structure is PEM encoded, it will have a header @@ -896,9 +896,9 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-generate-mac"></a><h3>gnutls_pkcs12_generate_mac ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_generate_mac (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *pass</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pass</code></em>);</pre> <p>This function will generate a MAC for the PKCS12 structure.</p> <div class="refsect3"> <a name="id-1.2.10.7.18.5"></a><h4>Parameters</h4> @@ -932,9 +932,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-get-bag"></a><h3>gnutls_pkcs12_get_bag ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_get_bag (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>);</pre> <p>This function will return a Bag from the PKCS12 structure.</p> <p>After the last Bag has been read @@ -976,11 +976,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-import"></a><h3>gnutls_pkcs12_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_import (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *data</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crt-fmt-t" title="enum gnutls_x509_crt_fmt_t"><span class="type">gnutls_x509_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will convert the given DER or PEM encoded PKCS12 to the native gnutls_pkcs12_t format. The output will be stored in 'pkcs12'.</p> <p>If the PKCS12 is PEM encoded it should have a header of "PKCS12".</p> @@ -1026,7 +1026,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-init"></a><h3>gnutls_pkcs12_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_init (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> *pkcs12</code></em>);</pre> <p>This function will initialize a PKCS12 structure. PKCS12 structures usually contain lists of X.509 Certificates and X.509 Certificate @@ -1056,7 +1056,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-set-bag"></a><h3>gnutls_pkcs12_set_bag ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_set_bag (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-bag-t" title="gnutls_pkcs12_bag_t"><span class="type">gnutls_pkcs12_bag_t</span></a> bag</code></em>);</pre> <p>This function will insert a Bag into the PKCS12 structure.</p> @@ -1092,16 +1092,16 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-simple-parse"></a><h3>gnutls_pkcs12_simple_parse ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_simple_parse (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> p12</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-privkey-t" title="gnutls_x509_privkey_t"><span class="type">gnutls_x509_privkey_t</span></a> *key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crt-t" title="gnutls_x509_crt_t"><span class="type">gnutls_x509_crt_t</span></a> **chain</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *chain_len</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *chain_len</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crt-t" title="gnutls_x509_crt_t"><span class="type">gnutls_x509_crt_t</span></a> **extra_certs</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *extra_certs_len</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *extra_certs_len</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crl-t" title="gnutls_x509_crl_t"><span class="type">gnutls_x509_crl_t</span></a> *crl</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function parses a PKCS12 blob in <em class="parameter"><code>p12blob</code></em> and extracts the private key, the corresponding certificate chain, and any additional @@ -1109,7 +1109,7 @@ certificates and a CRL.</p> <p>The <em class="parameter"><code>extra_certs_ret</code></em> and <em class="parameter"><code>extra_certs_len</code></em> parameters are optional -and both may be set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If either is non-<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then both must +and both may be set to <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>. If either is non-<GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>, then both must be set.</p> <p>Encrypted PKCS12 bags and PKCS8 private keys are supported. However, only password based security, and the same password for all @@ -1154,29 +1154,29 @@ self signed certificates will be included in the chain.</p> </tr> <tr> <td class="parameter_name"><p>chain</p></td> -<td class="parameter_description"><p>the corresponding to key certificate chain (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td> +<td class="parameter_description"><p>the corresponding to key certificate chain (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>chain_len</p></td> -<td class="parameter_description"><p>will be updated with the number of additional (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>)</p></td> +<td class="parameter_description"><p>will be updated with the number of additional (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>extra_certs</p></td> <td class="parameter_description"><p>optional pointer to receive an array of additional -certificates found in the PKCS12 blob (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p></td> +certificates found in the PKCS12 blob (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>).</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>extra_certs_len</p></td> <td class="parameter_description"><p>will be updated with the number of additional -certs (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p></td> +certs (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>).</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>crl</p></td> -<td class="parameter_description"><p>an optional structure to store the parsed CRL (may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p></td> +<td class="parameter_description"><p>an optional structure to store the parsed CRL (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>).</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -1198,9 +1198,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs12-verify-mac"></a><h3>gnutls_pkcs12_verify_mac ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs12_verify_mac (<em class="parameter"><code><a class="link" href="gnutls-pkcs12.html#gnutls-pkcs12-t" title="gnutls_pkcs12_t"><span class="type">gnutls_pkcs12_t</span></a> pkcs12</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *pass</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pass</code></em>);</pre> <p>This function will verify the MAC for the PKCS12 structure.</p> <div class="refsect3"> <a name="id-1.2.10.7.24.5"></a><h4>Parameters</h4> @@ -1357,4 +1357,4 @@ negative error value.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> |