diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-06-28 13:54:44 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-06-28 13:54:44 +0200 |
commit | 46d3eec52878c8fcd006702edd3b419787fcffa0 (patch) | |
tree | 29d908065e5ca0f9d09cc52b9bc724f9d800560f /reference | |
parent | ba36ba59631b056a958a8201c0b8841829a53bee (diff) | |
download | gnutls-46d3eec52878c8fcd006702edd3b419787fcffa0.tar.gz |
released 3.3.5
Diffstat (limited to 'reference')
-rw-r--r-- | reference/gnutls-abstract.html | 570 | ||||
-rw-r--r-- | reference/gnutls-crypto.html | 174 | ||||
-rw-r--r-- | reference/gnutls-dtls.html | 72 | ||||
-rw-r--r-- | reference/gnutls-gnutls.html | 2042 | ||||
-rw-r--r-- | reference/gnutls-ocsp.html | 284 | ||||
-rw-r--r-- | reference/gnutls-openpgp.html | 538 | ||||
-rw-r--r-- | reference/gnutls-pkcs11.html | 344 | ||||
-rw-r--r-- | reference/gnutls-pkcs12.html | 158 | ||||
-rw-r--r-- | reference/gnutls-tpm.html | 44 | ||||
-rw-r--r-- | reference/gnutls-x509.html | 1938 | ||||
-rw-r--r-- | reference/intro.html | 2 |
11 files changed, 3076 insertions, 3090 deletions
diff --git a/reference/gnutls-abstract.html b/reference/gnutls-abstract.html index 0762477bb6..3ee84d7240 100644 --- a/reference/gnutls-abstract.html +++ b/reference/gnutls-abstract.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-abstract.html#gnutls-certificate-set-key" title="gnutls_certificate_set_key ()">gnutls_certificate_set_key</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-abstract.html#gnutls-certificate-set-retrieve-function2" title="gnutls_certificate_set_retrieve_function2 ()">gnutls_certificate_set_retrieve_function2</a> <span class="c_punctuation">()</span> @@ -58,7 +58,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-abstract.html#gnutls-pcert-deinit" title="gnutls_pcert_deinit ()">gnutls_pcert_deinit</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-abstract.html#gnutls-pcert-import-openpgp" title="gnutls_pcert_import_openpgp ()">gnutls_pcert_import_openpgp</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-abstract.html#gnutls-pcert-import-openpgp-raw" title="gnutls_pcert_import_openpgp_raw ()">gnutls_pcert_import_openpgp_raw</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-abstract.html#gnutls-pcert-import-x509" title="gnutls_pcert_import_x509 ()">gnutls_pcert_import_x509</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-abstract.html#gnutls-pcert-import-x509-raw" title="gnutls_pcert_import_x509_raw ()">gnutls_pcert_import_x509_raw</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-abstract.html#gnutls-pcert-list-import-x509-raw" title="gnutls_pcert_list_import_x509_raw ()">gnutls_pcert_list_import_x509_raw</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-abstract.html#gnutls-privkey-decrypt-data" title="gnutls_privkey_decrypt_data ()">gnutls_privkey_decrypt_data</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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-abstract.html#gnutls-privkey-decrypt-func" title="gnutls_privkey_decrypt_func ()">*gnutls_privkey_decrypt_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -122,7 +122,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-abstract.html#gnutls-privkey-deinit" title="gnutls_privkey_deinit ()">gnutls_privkey_deinit</a> <span class="c_punctuation">()</span> @@ -130,7 +130,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-abstract.html#gnutls-privkey-deinit-func" title="gnutls_privkey_deinit_func ()">*gnutls_privkey_deinit_func</a><span class="c_punctuation">)</span> <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-abstract.html#gnutls-privkey-get-pk-algorithm" title="gnutls_privkey_get_pk_algorithm ()">gnutls_privkey_get_pk_algorithm</a> <span class="c_punctuation">()</span> @@ -146,7 +146,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-abstract.html#gnutls-privkey-import-ext" title="gnutls_privkey_import_ext ()">gnutls_privkey_import_ext</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-abstract.html#gnutls-privkey-import-ext2" title="gnutls_privkey_import_ext2 ()">gnutls_privkey_import_ext2</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-abstract.html#gnutls-privkey-import-openpgp" title="gnutls_privkey_import_openpgp ()">gnutls_privkey_import_openpgp</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-abstract.html#gnutls-privkey-import-openpgp-raw" title="gnutls_privkey_import_openpgp_raw ()">gnutls_privkey_import_openpgp_raw</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-abstract.html#gnutls-privkey-import-pkcs11" title="gnutls_privkey_import_pkcs11 ()">gnutls_privkey_import_pkcs11</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-abstract.html#gnutls-privkey-import-pkcs11-url" title="gnutls_privkey_import_pkcs11_url ()">gnutls_privkey_import_pkcs11_url</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-abstract.html#gnutls-privkey-import-tpm-raw" title="gnutls_privkey_import_tpm_raw ()">gnutls_privkey_import_tpm_raw</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-abstract.html#gnutls-privkey-import-tpm-url" title="gnutls_privkey_import_tpm_url ()">gnutls_privkey_import_tpm_url</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-abstract.html#gnutls-privkey-import-url" title="gnutls_privkey_import_url ()">gnutls_privkey_import_url</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-abstract.html#gnutls-privkey-import-x509" title="gnutls_privkey_import_x509 ()">gnutls_privkey_import_x509</a> <span class="c_punctuation">()</span> @@ -226,7 +226,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-abstract.html#gnutls-privkey-import-x509-raw" title="gnutls_privkey_import_x509_raw ()">gnutls_privkey_import_x509_raw</a> <span class="c_punctuation">()</span> @@ -234,7 +234,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-abstract.html#gnutls-privkey-init" title="gnutls_privkey_init ()">gnutls_privkey_init</a> <span class="c_punctuation">()</span> @@ -242,7 +242,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-abstract.html#gnutls-privkey-set-pin-function" title="gnutls_privkey_set_pin_function ()">gnutls_privkey_set_pin_function</a> <span class="c_punctuation">()</span> @@ -250,7 +250,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-abstract.html#gnutls-privkey-sign-data" title="gnutls_privkey_sign_data ()">gnutls_privkey_sign_data</a> <span class="c_punctuation">()</span> @@ -258,7 +258,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-abstract.html#gnutls-privkey-sign-func" title="gnutls_privkey_sign_func ()">*gnutls_privkey_sign_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -266,7 +266,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-abstract.html#gnutls-privkey-sign-hash" title="gnutls_privkey_sign_hash ()">gnutls_privkey_sign_hash</a> <span class="c_punctuation">()</span> @@ -274,7 +274,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-abstract.html#gnutls-pubkey-deinit" title="gnutls_pubkey_deinit ()">gnutls_pubkey_deinit</a> <span class="c_punctuation">()</span> @@ -282,7 +282,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-abstract.html#gnutls-pubkey-encrypt-data" title="gnutls_pubkey_encrypt_data ()">gnutls_pubkey_encrypt_data</a> <span class="c_punctuation">()</span> @@ -290,7 +290,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-abstract.html#gnutls-pubkey-export" title="gnutls_pubkey_export ()">gnutls_pubkey_export</a> <span class="c_punctuation">()</span> @@ -298,7 +298,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-abstract.html#gnutls-pubkey-export2" title="gnutls_pubkey_export2 ()">gnutls_pubkey_export2</a> <span class="c_punctuation">()</span> @@ -306,7 +306,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-abstract.html#gnutls-pubkey-get-key-id" title="gnutls_pubkey_get_key_id ()">gnutls_pubkey_get_key_id</a> <span class="c_punctuation">()</span> @@ -314,7 +314,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-abstract.html#gnutls-pubkey-get-key-usage" title="gnutls_pubkey_get_key_usage ()">gnutls_pubkey_get_key_usage</a> <span class="c_punctuation">()</span> @@ -322,7 +322,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-abstract.html#gnutls-pubkey-get-openpgp-key-id" title="gnutls_pubkey_get_openpgp_key_id ()">gnutls_pubkey_get_openpgp_key_id</a> <span class="c_punctuation">()</span> @@ -330,7 +330,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-abstract.html#gnutls-pubkey-get-pk-algorithm" title="gnutls_pubkey_get_pk_algorithm ()">gnutls_pubkey_get_pk_algorithm</a> <span class="c_punctuation">()</span> @@ -338,7 +338,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-abstract.html#gnutls-pubkey-get-preferred-hash-algorithm" title="gnutls_pubkey_get_preferred_hash_algorithm ()">gnutls_pubkey_get_preferred_hash_algorithm</a> <span class="c_punctuation">()</span> @@ -346,7 +346,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-abstract.html#gnutls-pubkey-get-verify-algorithm" title="gnutls_pubkey_get_verify_algorithm ()">gnutls_pubkey_get_verify_algorithm</a> <span class="c_punctuation">()</span> @@ -354,7 +354,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-abstract.html#gnutls-pubkey-import" title="gnutls_pubkey_import ()">gnutls_pubkey_import</a> <span class="c_punctuation">()</span> @@ -362,7 +362,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-abstract.html#gnutls-pubkey-import-dsa-raw" title="gnutls_pubkey_import_dsa_raw ()">gnutls_pubkey_import_dsa_raw</a> <span class="c_punctuation">()</span> @@ -370,7 +370,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-abstract.html#gnutls-pubkey-import-ecc-raw" title="gnutls_pubkey_import_ecc_raw ()">gnutls_pubkey_import_ecc_raw</a> <span class="c_punctuation">()</span> @@ -378,7 +378,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-abstract.html#gnutls-pubkey-import-ecc-x962" title="gnutls_pubkey_import_ecc_x962 ()">gnutls_pubkey_import_ecc_x962</a> <span class="c_punctuation">()</span> @@ -386,7 +386,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-abstract.html#gnutls-pubkey-import-openpgp" title="gnutls_pubkey_import_openpgp ()">gnutls_pubkey_import_openpgp</a> <span class="c_punctuation">()</span> @@ -394,7 +394,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-abstract.html#gnutls-pubkey-import-openpgp-raw" title="gnutls_pubkey_import_openpgp_raw ()">gnutls_pubkey_import_openpgp_raw</a> <span class="c_punctuation">()</span> @@ -402,7 +402,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-abstract.html#gnutls-pubkey-import-pkcs11" title="gnutls_pubkey_import_pkcs11 ()">gnutls_pubkey_import_pkcs11</a> <span class="c_punctuation">()</span> @@ -410,7 +410,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-abstract.html#gnutls-pubkey-import-pkcs11-url" title="gnutls_pubkey_import_pkcs11_url ()">gnutls_pubkey_import_pkcs11_url</a> <span class="c_punctuation">()</span> @@ -418,7 +418,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-abstract.html#gnutls-pubkey-import-privkey" title="gnutls_pubkey_import_privkey ()">gnutls_pubkey_import_privkey</a> <span class="c_punctuation">()</span> @@ -426,7 +426,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-abstract.html#gnutls-pubkey-import-rsa-raw" title="gnutls_pubkey_import_rsa_raw ()">gnutls_pubkey_import_rsa_raw</a> <span class="c_punctuation">()</span> @@ -434,7 +434,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-abstract.html#gnutls-pubkey-import-tpm-raw" title="gnutls_pubkey_import_tpm_raw ()">gnutls_pubkey_import_tpm_raw</a> <span class="c_punctuation">()</span> @@ -442,7 +442,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-abstract.html#gnutls-pubkey-import-tpm-url" title="gnutls_pubkey_import_tpm_url ()">gnutls_pubkey_import_tpm_url</a> <span class="c_punctuation">()</span> @@ -450,7 +450,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-abstract.html#gnutls-pubkey-import-url" title="gnutls_pubkey_import_url ()">gnutls_pubkey_import_url</a> <span class="c_punctuation">()</span> @@ -458,7 +458,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-abstract.html#gnutls-pubkey-import-x509" title="gnutls_pubkey_import_x509 ()">gnutls_pubkey_import_x509</a> <span class="c_punctuation">()</span> @@ -466,7 +466,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-abstract.html#gnutls-pubkey-import-x509-crq" title="gnutls_pubkey_import_x509_crq ()">gnutls_pubkey_import_x509_crq</a> <span class="c_punctuation">()</span> @@ -474,7 +474,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-abstract.html#gnutls-pubkey-import-x509-raw" title="gnutls_pubkey_import_x509_raw ()">gnutls_pubkey_import_x509_raw</a> <span class="c_punctuation">()</span> @@ -482,7 +482,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-abstract.html#gnutls-pubkey-init" title="gnutls_pubkey_init ()">gnutls_pubkey_init</a> <span class="c_punctuation">()</span> @@ -490,7 +490,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-abstract.html#gnutls-pubkey-set-key-usage" title="gnutls_pubkey_set_key_usage ()">gnutls_pubkey_set_key_usage</a> <span class="c_punctuation">()</span> @@ -498,7 +498,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-abstract.html#gnutls-pubkey-set-pin-function" title="gnutls_pubkey_set_pin_function ()">gnutls_pubkey_set_pin_function</a> <span class="c_punctuation">()</span> @@ -506,7 +506,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-abstract.html#gnutls-pubkey-verify-data" title="gnutls_pubkey_verify_data ()">gnutls_pubkey_verify_data</a> <span class="c_punctuation">()</span> @@ -514,7 +514,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-abstract.html#gnutls-pubkey-verify-data2" title="gnutls_pubkey_verify_data2 ()">gnutls_pubkey_verify_data2</a> <span class="c_punctuation">()</span> @@ -522,7 +522,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-abstract.html#gnutls-pubkey-verify-hash2" title="gnutls_pubkey_verify_hash2 ()">gnutls_pubkey_verify_hash2</a> <span class="c_punctuation">()</span> @@ -530,7 +530,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-abstract.html#gnutls-x509-crl-privkey-sign" title="gnutls_x509_crl_privkey_sign ()">gnutls_x509_crl_privkey_sign</a> <span class="c_punctuation">()</span> @@ -538,7 +538,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-abstract.html#gnutls-x509-crq-privkey-sign" title="gnutls_x509_crq_privkey_sign ()">gnutls_x509_crq_privkey_sign</a> <span class="c_punctuation">()</span> @@ -546,7 +546,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-abstract.html#gnutls-x509-crq-set-pubkey" title="gnutls_x509_crq_set_pubkey ()">gnutls_x509_crq_set_pubkey</a> <span class="c_punctuation">()</span> @@ -554,7 +554,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-abstract.html#gnutls-x509-crt-privkey-sign" title="gnutls_x509_crt_privkey_sign ()">gnutls_x509_crt_privkey_sign</a> <span class="c_punctuation">()</span> @@ -562,7 +562,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-abstract.html#gnutls-x509-crt-set-pubkey" title="gnutls_x509_crt_set_pubkey ()">gnutls_x509_crt_set_pubkey</a> <span class="c_punctuation">()</span> @@ -636,12 +636,12 @@ <a name="gnutls-abstract.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-certificate-set-key"></a><h3>gnutls_certificate_set_key ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_key (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> **names</code></em>, - <em class="parameter"><code><span class="type">int</span> names_size</code></em>, - <em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcert_list</code></em>, - <em class="parameter"><code><span class="type">int</span> pcert_list_size</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_key (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **names</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> names_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcert_list</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> pcert_list_size</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>);</pre> <p>This function sets a certificate/private key pair in the gnutls_certificate_credentials_t structure. This function may be @@ -667,7 +667,7 @@ when the <em class="parameter"><code>res</code></em> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -708,10 +708,10 @@ when the <em class="parameter"><code>res</code></em> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-retrieve-function2"></a><h3>gnutls_certificate_set_retrieve_function2 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_set_retrieve_function2 - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_certificate_retrieve_function2</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-retrieve-function2"><span class="type">gnutls_certificate_retrieve_function2</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function sets a callback to be called in order to retrieve the certificate to be used in the handshake.</p> <p>The callback's function prototype is: @@ -751,7 +751,7 @@ indicates error and the handshake will be terminated.</p> <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -767,8 +767,8 @@ indicates error and the handshake will be terminated.</p> <hr> <div class="refsect2"> <a name="gnutls-pcert-deinit"></a><h3>gnutls_pcert_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_pcert_deinit (<em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcert</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_pcert_deinit (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcert</code></em>);</pre> <p>This function will deinitialize a pcert structure.</p> <div class="refsect3"> <a name="id-1.2.5.7.4.5"></a><h4>Parameters</h4> @@ -790,12 +790,12 @@ gnutls_pcert_deinit (<em class="parameter"><code><span class="type">gnutls_pcert <hr> <div class="refsect2"> <a name="gnutls-pcert-import-openpgp"></a><h3>gnutls_pcert_import_openpgp ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pcert_import_openpgp (<em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcert</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pcert_import_openpgp (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</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 convenience function will import the given certificate to a -<span class="type">gnutls_pcert_st</span> structure. The structure must be deinitialized +<GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> structure. The structure must be deinitialized afterwards using <a class="link" href="gnutls-abstract.html#gnutls-pcert-deinit" title="gnutls_pcert_deinit ()"><code class="function">gnutls_pcert_deinit()</code></a>;</p> <div class="refsect3"> <a name="id-1.2.5.7.5.5"></a><h4>Parameters</h4> @@ -835,14 +835,14 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pcert-import-openpgp-raw"></a><h3>gnutls_pcert_import_openpgp_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pcert_import_openpgp_raw (<em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcert</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pcert_import_openpgp_raw (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcert</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This convenience function will import the given certificate to a -<span class="type">gnutls_pcert_st</span> structure. The structure must be deinitialized +<GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> structure. The structure must be deinitialized afterwards using <a class="link" href="gnutls-abstract.html#gnutls-pcert-deinit" title="gnutls_pcert_deinit ()"><code class="function">gnutls_pcert_deinit()</code></a>;</p> <div class="refsect3"> <a name="id-1.2.5.7.6.5"></a><h4>Parameters</h4> @@ -892,12 +892,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pcert-import-x509"></a><h3>gnutls_pcert_import_x509 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pcert_import_x509 (<em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcert</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pcert_import_x509 (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcert</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>, - <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 convenience function will import the given certificate to a -<span class="type">gnutls_pcert_st</span> structure. The structure must be deinitialized +<GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> structure. The structure must be deinitialized afterwards using <a class="link" href="gnutls-abstract.html#gnutls-pcert-deinit" title="gnutls_pcert_deinit ()"><code class="function">gnutls_pcert_deinit()</code></a>;</p> <div class="refsect3"> <a name="id-1.2.5.7.7.5"></a><h4>Parameters</h4> @@ -937,13 +937,13 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pcert-import-x509-raw"></a><h3>gnutls_pcert_import_x509_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pcert_import_x509_raw (<em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcert</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pcert_import_x509_raw (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcert</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</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 convenience function will import the given certificate to a -<span class="type">gnutls_pcert_st</span> structure. The structure must be deinitialized +<GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> structure. The structure must be deinitialized afterwards using <a class="link" href="gnutls-abstract.html#gnutls-pcert-deinit" title="gnutls_pcert_deinit ()"><code class="function">gnutls_pcert_deinit()</code></a>;</p> <div class="refsect3"> <a name="id-1.2.5.7.8.5"></a><h4>Parameters</h4> @@ -988,12 +988,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pcert-list-import-x509-raw"></a><h3>gnutls_pcert_list_import_x509_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pcert_list_import_x509_raw (<em class="parameter"><code><span class="type">gnutls_pcert_st</span> *pcerts</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *pcert_max</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pcert_list_import_x509_raw (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-pcert-st"><span class="type">gnutls_pcert_st</span></GTKDOCLINK> *pcerts</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *pcert_max</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 PEM encoded certificate list to the native gnutls_x509_crt_t format. The output will be stored in <em class="parameter"><code>certs</code></em> @@ -1047,11 +1047,11 @@ CERTIFICATE", or "CERTIFICATE".</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-decrypt-data"></a><h3>gnutls_privkey_decrypt_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_decrypt_data (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *ciphertext</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *plaintext</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *ciphertext</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *plaintext</code></em>);</pre> <p>This function will decrypt the given data using the algorithm supported by the private key.</p> <div class="refsect3"> @@ -1097,11 +1097,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-decrypt-func"></a><h3>gnutls_privkey_decrypt_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_privkey_decrypt_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *ciphertext</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *plaintext</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *ciphertext</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *plaintext</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -1112,7 +1112,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-deinit"></a><h3>gnutls_privkey_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_privkey_deinit (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>);</pre> <p>This function will deinitialize a private key structure.</p> <div class="refsect3"> @@ -1135,18 +1135,18 @@ gnutls_privkey_deinit (<em class="parameter"><code><a class="link" href="gnutls- <hr> <div class="refsect2"> <a name="gnutls-privkey-deinit-func"></a><h3>gnutls_privkey_deinit_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_privkey_deinit_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p> </p> </div> <hr> <div class="refsect2"> <a name="gnutls-privkey-get-pk-algorithm"></a><h3>gnutls_privkey_get_pk_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_get_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of a private key and if possible will return a number of bits that indicates the security parameter of the key.</p> @@ -1183,13 +1183,13 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-ext"></a><h3>gnutls_privkey_import_ext ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_ext (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> pk</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-sign-func" title="gnutls_privkey_sign_func ()"><span class="type">gnutls_privkey_sign_func</span></a> sign_func</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-decrypt-func" title="gnutls_privkey_decrypt_func ()"><span class="type">gnutls_privkey_decrypt_func</span></a> decrypt_func</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 associate the given callbacks with the <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure. At least one of the two callbacks must be non-null.</p> @@ -1247,18 +1247,18 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-ext2"></a><h3>gnutls_privkey_import_ext2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_ext2 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> pk</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-sign-func" title="gnutls_privkey_sign_func ()"><span class="type">gnutls_privkey_sign_func</span></a> sign_func</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-decrypt-func" title="gnutls_privkey_decrypt_func ()"><span class="type">gnutls_privkey_decrypt_func</span></a> decrypt_func</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-deinit-func" title="gnutls_privkey_deinit_func ()"><span class="type">gnutls_privkey_deinit_func</span></a> deinit_func</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 associate the given callbacks with the <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure. At least one of the two callbacks must be non-null. If a deinitialization function is provided -then flags is assumed to contain <code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code>.</p> +then flags is assumed to contain <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-AUTO-RELEASE:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code></GTKDOCLINK>.</p> <p>Note that the signing function is supposed to "raw" sign data, i.e., without any hashing or preprocessing. In case of RSA the DigestInfo will be provided, and the signing function is expected to do the PKCS #1 @@ -1321,18 +1321,18 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-openpgp"></a><h3>gnutls_privkey_import_openpgp ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_openpgp (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</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 import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure.</p> <p>The <a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> object must not be deallocated during the lifetime of this structure. The subkey set as preferred will be used, or the master key otherwise.</p> <p><em class="parameter"><code>flags</code></em> - might be zero or one of <code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code> -and <code class="literal">GNUTLS_PRIVKEY_IMPORT_COPY</code>.</p> + might be zero or one of <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-AUTO-RELEASE:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code></GTKDOCLINK> +and <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-COPY:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_COPY</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.5.7.17.7"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -1371,12 +1371,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-openpgp-raw"></a><h3>gnutls_privkey_import_openpgp_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_openpgp_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</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-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>);</pre> <p>This function will import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure.</p> <div class="refsect3"> @@ -1427,17 +1427,17 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-pkcs11"></a><h3>gnutls_privkey_import_pkcs11 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_pkcs11 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> key</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 import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure.</p> <p>The <a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> object must not be deallocated during the lifetime of this structure.</p> <p><em class="parameter"><code>flags</code></em> - might be zero or one of <code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code> -and <code class="literal">GNUTLS_PRIVKEY_IMPORT_COPY</code>.</p> + might be zero or one of <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-AUTO-RELEASE:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code></GTKDOCLINK> +and <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-COPY:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_COPY</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.5.7.19.7"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -1476,10 +1476,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-pkcs11-url"></a><h3>gnutls_privkey_import_pkcs11_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_pkcs11_url (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</code></em>);</pre> -<p>This function will import a PKCS 11 private key to a <span class="type">gnutls_private_key_t</span> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>);</pre> +<p>This function will import a PKCS 11 private key to a <GTKDOCLINK HREF="gnutls-private-key-t"><span class="type">gnutls_private_key_t</span></GTKDOCLINK> structure.</p> <div class="refsect3"> <a name="id-1.2.5.7.20.5"></a><h4>Parameters</h4> @@ -1514,13 +1514,13 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-tpm-raw"></a><h3>gnutls_privkey_import_tpm_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_tpm_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *fdata</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *fdata</code></em>, <em class="parameter"><code><a class="link" href="gnutls-tpm.html#gnutls-tpmkey-fmt-t" title="enum gnutls_tpmkey_fmt_t"><span class="type">gnutls_tpmkey_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *srk_password</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *key_password</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> *srk_password</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *key_password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure. </p> <p>With respect to passwords the same as in <a class="link" href="gnutls-abstract.html#gnutls-privkey-import-tpm-url" title="gnutls_privkey_import_tpm_url ()"><code class="function">gnutls_privkey_import_tpm_url()</code></a> apply.</p> @@ -1577,15 +1577,15 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-tpm-url"></a><h3>gnutls_privkey_import_tpm_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_tpm_url (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *srk_password</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *key_password</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> *url</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *srk_password</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *key_password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure.</p> -<p>Note that unless <code class="literal">GNUTLS_PRIVKEY_DISABLE_CALLBACKS</code> +<p>Note that unless <GTKDOCLINK HREF="GNUTLS-PRIVKEY-DISABLE-CALLBACKS:CAPS"><code class="literal">GNUTLS_PRIVKEY_DISABLE_CALLBACKS</code></GTKDOCLINK> is specified, if incorrect (or NULL) passwords are given the PKCS11 callback functions will be used to obtain the correct passwords. Otherwise if the SRK password is wrong @@ -1640,10 +1640,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-url"></a><h3>gnutls_privkey_import_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_url (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</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> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import a PKCS11 or TPM URL as a private key. The supported URL types can be checked using <a class="link" href="gnutls-gnutls.html#gnutls-url-is-supported" title="gnutls_url_is_supported ()"><code class="function">gnutls_url_is_supported()</code></a>.</p> @@ -1685,17 +1685,17 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-x509"></a><h3>gnutls_privkey_import_x509 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_x509 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</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>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 import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure.</p> <p>The <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> object must not be deallocated during the lifetime of this structure.</p> <p><em class="parameter"><code>flags</code></em> - might be zero or one of <code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code> -and <code class="literal">GNUTLS_PRIVKEY_IMPORT_COPY</code>.</p> + might be zero or one of <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-AUTO-RELEASE:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_AUTO_RELEASE</code></GTKDOCLINK> +and <GTKDOCLINK HREF="GNUTLS-PRIVKEY-IMPORT-COPY:CAPS"><code class="literal">GNUTLS_PRIVKEY_IMPORT_COPY</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.5.7.24.7"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -1734,12 +1734,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-import-x509-raw"></a><h3>gnutls_privkey_import_x509_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_import_x509_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</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>const <span class="type">char</span> *password</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> *password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure. </p> <p>The supported formats are basic unencrypted key, PKCS8, PKCS12, @@ -1792,7 +1792,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-init"></a><h3>gnutls_privkey_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_init (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> *key</code></em>);</pre> <p>This function will initialize an private key structure.</p> <div class="refsect3"> @@ -1821,10 +1821,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-set-pin-function"></a><h3>gnutls_privkey_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_privkey_set_pin_function (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when required to access the object. This function overrides any other global PIN functions.</p> @@ -1862,12 +1862,12 @@ to have effect.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-sign-data"></a><h3>gnutls_privkey_sign_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_sign_data (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> signer</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> hash</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *signature</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</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><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>);</pre> <p>This function will sign the given data using a signature algorithm supported by the private key. Signature algorithms are always used together with a hash functions. Different hash functions may be @@ -1895,7 +1895,7 @@ the hash algorithm.</p> </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>Zero or one of <a href="/usr/share/gtk-doc/html/gnutls/gnutls-abstract.html#gnutls-privkey-flags-t"><code class="literal">gnutls_privkey_flags_t</code></a></p></td> +<td class="parameter_description"><p>Zero or one of <GTKDOCLINK HREF="gnutls-privkey-flags-t"><code class="literal">gnutls_privkey_flags_t</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -1922,11 +1922,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-sign-func"></a><h3>gnutls_privkey_sign_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_privkey_sign_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *raw_data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *signature</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *raw_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -1937,19 +1937,19 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-privkey-sign-hash"></a><h3>gnutls_privkey_sign_hash ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_privkey_sign_hash (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> signer</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> hash_algo</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *hash_data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *signature</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *hash_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>);</pre> <p>This function will sign the given hashed data using a signature algorithm supported by the private key. Signature algorithms are always used together with a hash functions. Different hash functions may be used for the RSA algorithm, but only SHA-XXX for the DSA keys.</p> <p>You may use <a class="link" href="gnutls-abstract.html#gnutls-pubkey-get-preferred-hash-algorithm" title="gnutls_pubkey_get_preferred_hash_algorithm ()"><code class="function">gnutls_pubkey_get_preferred_hash_algorithm()</code></a> to determine the hash algorithm.</p> -<p>Note that if <code class="literal">GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA</code> flag is specified this function +<p>Note that if <GTKDOCLINK HREF="GNUTLS-PRIVKEY-SIGN-FLAG-TLS1-RSA:CAPS"><code class="literal">GNUTLS_PRIVKEY_SIGN_FLAG_TLS1_RSA</code></GTKDOCLINK> flag is specified this function will ignore <em class="parameter"><code>hash_algo</code></em> and perform a raw PKCS1 signature.</p> <div class="refsect3"> @@ -1973,7 +1973,7 @@ will ignore <em class="parameter"><code>hash_algo</code></em> </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>Zero or one of <a href="/usr/share/gtk-doc/html/gnutls/gnutls-abstract.html#gnutls-privkey-flags-t"><code class="literal">gnutls_privkey_flags_t</code></a></p></td> +<td class="parameter_description"><p>Zero or one of <GTKDOCLINK HREF="gnutls-privkey-flags-t"><code class="literal">gnutls_privkey_flags_t</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -2000,7 +2000,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-deinit"></a><h3>gnutls_pubkey_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pubkey_deinit (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>);</pre> <p>This function will deinitialize a public key structure.</p> <div class="refsect3"> @@ -2023,11 +2023,11 @@ gnutls_pubkey_deinit (<em class="parameter"><code><a class="link" href="gnutls-a <hr> <div class="refsect2"> <a name="gnutls-pubkey-encrypt-data"></a><h3>gnutls_pubkey_encrypt_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_encrypt_data (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *plaintext</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *ciphertext</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *plaintext</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *ciphertext</code></em>);</pre> <p>This function will encrypt the given data, using the public key.</p> <div class="refsect3"> @@ -2073,11 +2073,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-export"></a><h3>gnutls_pubkey_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_export (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</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 public key to DER or PEM format. The contents of the exported data is the SubjectPublicKeyInfo X.509 structure.</p> @@ -2130,10 +2130,10 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-export2"></a><h3>gnutls_pubkey_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_export2 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</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 public key to DER or PEM format. The contents of the exported data is the SubjectPublicKeyInfo X.509 structure.</p> @@ -2178,11 +2178,11 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-get-key-id"></a><h3>gnutls_pubkey_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_pubkey_get_key_id (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</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>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</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 return a unique ID that depends on the public key parameters. This ID can be used in checking whether a certificate corresponds to the given public key.</p> @@ -2234,9 +2234,9 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-get-key-usage"></a><h3>gnutls_pubkey_get_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_get_key_usage (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *usage</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *usage</code></em>);</pre> <p>This function will return the key usage of the public key.</p> <div class="refsect3"> <a name="id-1.2.5.7.36.5"></a><h4>Parameters</h4> @@ -2271,16 +2271,16 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-get-openpgp-key-id"></a><h3>gnutls_pubkey_get_openpgp_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_get_openpgp_key_id (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</span> *output_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *output_data_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *subkey</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</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>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *subkey</code></em>);</pre> <p>This function returns the OpenPGP key ID of the corresponding key. The key is a unique ID that depends on the public key parameters. </p> -<p>If the flag <code class="literal">GNUTLS_PUBKEY_GET_OPENPGP_FINGERPRINT</code> is specified +<p>If the flag <GTKDOCLINK HREF="GNUTLS-PUBKEY-GET-OPENPGP-FINGERPRINT:CAPS"><code class="literal">GNUTLS_PUBKEY_GET_OPENPGP_FINGERPRINT</code></GTKDOCLINK> is specified this function returns the fingerprint of the master key.</p> <p>If the buffer provided is not long enough to hold the output, then *output_data_size is updated and <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SHORT-MEMORY-BUFFER:CAPS" title="GNUTLS_E_SHORT_MEMORY_BUFFER"><code class="literal">GNUTLS_E_SHORT_MEMORY_BUFFER</code></a> will @@ -2301,7 +2301,7 @@ be returned. The output is <a class="link" href="gnutls-openpgp.html#GNUTLS-OPE </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>should be 0 or <code class="literal">GNUTLS_PUBKEY_GET_OPENPGP_FINGERPRINT</code></p></td> +<td class="parameter_description"><p>should be 0 or <GTKDOCLINK HREF="GNUTLS-PUBKEY-GET-OPENPGP-FINGERPRINT:CAPS"><code class="literal">GNUTLS_PUBKEY_GET_OPENPGP_FINGERPRINT</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -2334,9 +2334,9 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-get-pk-algorithm"></a><h3>gnutls_pubkey_get_pk_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_get_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of a public key and if possible will return a number of bits that indicates the security parameter of the key.</p> @@ -2373,11 +2373,11 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-get-preferred-hash-algorithm"></a><h3>gnutls_pubkey_get_preferred_hash_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_get_preferred_hash_algorithm (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> *hash</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *mand</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *mand</code></em>);</pre> <p>This function will read the certifcate and return the appropriate digest algorithm to use for signing with this certificate. Some certificates (i.e. DSA might not be able to sign without the preferred algorithm).</p> @@ -2422,9 +2422,9 @@ returned on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-get-verify-algorithm"></a><h3>gnutls_pubkey_get_verify_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_get_verify_algorithm (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *signature</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> *hash</code></em>);</pre> <p>This function will read the certifcate and the signed data to determine the hash algorithm used to generate the signature.</p> @@ -2466,9 +2466,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import"></a><h3>gnutls_pubkey_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</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>);</pre> <p>This function will import the provided public key in a SubjectPublicKeyInfo X.509 structure to a native @@ -2514,12 +2514,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-dsa-raw"></a><h3>gnutls_pubkey_import_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_dsa_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *y</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>);</pre> <p>This function will convert the given DSA raw parameters to the native <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -2572,11 +2572,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-ecc-raw"></a><h3>gnutls_pubkey_import_ecc_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_ecc_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-ecc-curve-t" title="enum gnutls_ecc_curve_t"><span class="type">gnutls_ecc_curve_t</span></a> curve</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *x</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *y</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>);</pre> <p>This function will convert the given elliptic curve parameters to a <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a>. The output will be stored in <em class="parameter"><code>key</code></em> .</p> @@ -2623,10 +2623,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-ecc-x962"></a><h3>gnutls_pubkey_import_ecc_x962 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_ecc_x962 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *parameters</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *ecpoint</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *parameters</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *ecpoint</code></em>);</pre> <p>This function will convert the given elliptic curve parameters to a <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a>. The output will be stored in <em class="parameter"><code>key</code></em> .</p> @@ -2668,10 +2668,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-openpgp"></a><h3>gnutls_pubkey_import_openpgp ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_openpgp (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</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>Imports a public key from an openpgp key. This function will import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure. The subkey set as preferred will be imported or the @@ -2714,12 +2714,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-openpgp-raw"></a><h3>gnutls_pubkey_import_openpgp_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_openpgp_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> pkey</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-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -2770,10 +2770,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-pkcs11"></a><h3>gnutls_pubkey_import_pkcs11 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_pkcs11 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</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>Imports a public key from a pkcs11 key. This function will import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -2814,10 +2814,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-pkcs11-url"></a><h3>gnutls_pubkey_import_pkcs11_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_pkcs11_url (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</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> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import a PKCS 11 certificate to a <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -2858,11 +2858,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-privkey"></a><h3>gnutls_pubkey_import_privkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_privkey (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> usage</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> usage</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>Imports the public key from a private. This function will import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -2908,10 +2908,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-rsa-raw"></a><h3>gnutls_pubkey_import_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *e</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>);</pre> <p>This function will replace the parameters in the given structure. The new parameters should be stored in the appropriate gnutls_datum.</p> @@ -2952,12 +2952,12 @@ gnutls_datum.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-tpm-raw"></a><h3>gnutls_pubkey_import_tpm_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_tpm_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *fdata</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *fdata</code></em>, <em class="parameter"><code><a class="link" href="gnutls-tpm.html#gnutls-tpmkey-fmt-t" title="enum gnutls_tpmkey_fmt_t"><span class="type">gnutls_tpmkey_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *srk_password</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> *srk_password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the public key from the provided TPM key structure.</p> <p>With respect to passwords the same as in @@ -3010,14 +3010,14 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-tpm-url"></a><h3>gnutls_pubkey_import_tpm_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_tpm_url (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *srk_password</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> *url</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *srk_password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the given private key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> structure. </p> -<p>Note that unless <code class="literal">GNUTLS_PUBKEY_DISABLE_CALLBACKS</code> +<p>Note that unless <GTKDOCLINK HREF="GNUTLS-PUBKEY-DISABLE-CALLBACKS:CAPS"><code class="literal">GNUTLS_PUBKEY_DISABLE_CALLBACKS</code></GTKDOCLINK> is specified, if incorrect (or NULL) passwords are given the PKCS11 callback functions will be used to obtain the correct passwords. Otherwise if the SRK password is wrong @@ -3065,10 +3065,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-url"></a><h3>gnutls_pubkey_import_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_url (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</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> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import a PKCS11 certificate or a TPM key as a public key.</p> <div class="refsect3"> @@ -3109,10 +3109,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-x509"></a><h3>gnutls_pubkey_import_x509 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_x509 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_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> crt</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 import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -3153,10 +3153,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-x509-crq"></a><h3>gnutls_pubkey_import_x509_crq ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_x509_crq (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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 import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -3197,11 +3197,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-import-x509-raw"></a><h3>gnutls_pubkey_import_x509_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_import_x509_raw (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> pkey</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 import the given public key to the abstract <a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> structure.</p> <div class="refsect3"> @@ -3247,7 +3247,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-init"></a><h3>gnutls_pubkey_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_init (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> *key</code></em>);</pre> <p>This function will initialize an public key structure.</p> <div class="refsect3"> @@ -3276,9 +3276,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-set-key-usage"></a><h3>gnutls_pubkey_set_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_set_key_usage (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> usage</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> usage</code></em>);</pre> <p>This function will set the key usage flags of the public key. This is only useful if the key is to be exported to a certificate or certificate request.</p> @@ -3315,10 +3315,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-set-pin-function"></a><h3>gnutls_pubkey_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pubkey_set_pin_function (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when required to access the object. This function overrides any other global PIN functions.</p> @@ -3356,11 +3356,11 @@ to have effect.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-verify-data"></a><h3>gnutls_pubkey_verify_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_verify_data (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> pubkey</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *signature</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</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>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>);</pre> <div class="warning"><p><code class="literal">gnutls_pubkey_verify_data</code> is deprecated and should not be used in newly-written code.</p></div> <p>This function will verify the given signed data, using the parameters from the certificate.</p> @@ -3382,7 +3382,7 @@ Use <a class="link" href="gnutls-abstract.html#gnutls-pubkey-verify-data2" title </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>Zero or one of <a href="/usr/share/gtk-doc/html/gnutls/gnutls-abstract.html#gnutls-pubkey-flags-t"><code class="literal">gnutls_pubkey_flags_t</code></a></p></td> +<td class="parameter_description"><p>Zero or one of <GTKDOCLINK HREF="gnutls-pubkey-flags-t"><code class="literal">gnutls_pubkey_flags_t</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -3409,12 +3409,12 @@ is returned, and zero or positive code on success. </p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-verify-data2"></a><h3>gnutls_pubkey_verify_data2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_verify_data2 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> pubkey</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> algo</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *signature</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</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>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>);</pre> <p>This function will verify the given signed data, using the parameters from the certificate.</p> <div class="refsect3"> @@ -3438,7 +3438,7 @@ parameters from the certificate.</p> </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>Zero or one of <a href="/usr/share/gtk-doc/html/gnutls/gnutls-abstract.html#gnutls-pubkey-flags-t"><code class="literal">gnutls_pubkey_flags_t</code></a></p></td> +<td class="parameter_description"><p>Zero or one of <GTKDOCLINK HREF="gnutls-pubkey-flags-t"><code class="literal">gnutls_pubkey_flags_t</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -3465,12 +3465,12 @@ is returned, and zero or positive code on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pubkey-verify-hash2"></a><h3>gnutls_pubkey_verify_hash2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pubkey_verify_hash2 (<em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> algo</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *hash</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *signature</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *hash</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *signature</code></em>);</pre> <p>This function will verify the given signed digest, using the parameters from the public key. Note that unlike <a class="link" href="gnutls-abstract.html#gnutls-privkey-sign-hash" title="gnutls_privkey_sign_hash ()"><code class="function">gnutls_privkey_sign_hash()</code></a>, this function accepts a signature algorithm instead of a digest algorithm. @@ -3496,7 +3496,7 @@ You can use <a class="link" href="gnutls-gnutls.html#gnutls-pk-to-sign" title="g </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>Zero or one of <a href="/usr/share/gtk-doc/html/gnutls/gnutls-abstract.html#gnutls-pubkey-flags-t"><code class="literal">gnutls_pubkey_flags_t</code></a></p></td> +<td class="parameter_description"><p>Zero or one of <GTKDOCLINK HREF="gnutls-pubkey-flags-t"><code class="literal">gnutls_pubkey_flags_t</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -3523,12 +3523,12 @@ is returned, and zero or positive code on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-privkey-sign"></a><h3>gnutls_x509_crl_privkey_sign ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_privkey_sign (<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><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> issuer</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> issuer_key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> dig</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 sign the CRL with the issuer's private key, and will copy the issuer's information into the CRL.</p> <p>This must be the last step in a certificate CRL since all @@ -3581,11 +3581,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-privkey-sign"></a><h3>gnutls_x509_crq_privkey_sign ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_privkey_sign (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> dig</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 sign the certificate request with a private key. This must be the same key as the one used in <a class="link" href="gnutls-x509.html#gnutls-x509-crt-set-key" title="gnutls_x509_crt_set_key ()"><code class="function">gnutls_x509_crt_set_key()</code></a> since a certificate request is self @@ -3637,7 +3637,7 @@ information in the certificate request (e.g., the version using <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-pubkey"></a><h3>gnutls_x509_crq_set_pubkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_pubkey (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>);</pre> <p>This function will set the public parameters from the given public @@ -3675,12 +3675,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-privkey-sign"></a><h3>gnutls_x509_crt_privkey_sign ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_privkey_sign (<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>, <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> issuer</code></em>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-privkey-t" title="gnutls_privkey_t"><span class="type">gnutls_privkey_t</span></a> issuer_key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> dig</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 sign the certificate with the issuer's private key, and will copy the issuer's information into the certificate.</p> <p>This must be the last step in a certificate generation since all @@ -3732,7 +3732,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-pubkey"></a><h3>gnutls_x509_crt_set_pubkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_pubkey (<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>, <em class="parameter"><code><a class="link" href="gnutls-abstract.html#gnutls-pubkey-t" title="gnutls_pubkey_t"><span class="type">gnutls_pubkey_t</span></a> key</code></em>);</pre> <p>This function will set the public parameters from the given public @@ -3869,4 +3869,4 @@ negative error value.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-crypto.html b/reference/gnutls-crypto.html index 62c27d5756..f7cf71a5e3 100644 --- a/reference/gnutls-crypto.html +++ b/reference/gnutls-crypto.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-crypto.html#gnutls-cipher-add-auth" title="gnutls_cipher_add_auth ()">gnutls_cipher_add_auth</a> <span class="c_punctuation">()</span> @@ -50,7 +50,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-crypto.html#gnutls-cipher-decrypt" title="gnutls_cipher_decrypt ()">gnutls_cipher_decrypt</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-crypto.html#gnutls-cipher-decrypt2" title="gnutls_cipher_decrypt2 ()">gnutls_cipher_decrypt2</a> <span class="c_punctuation">()</span> @@ -66,7 +66,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-crypto.html#gnutls-cipher-deinit" title="gnutls_cipher_deinit ()">gnutls_cipher_deinit</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-crypto.html#gnutls-cipher-encrypt" title="gnutls_cipher_encrypt ()">gnutls_cipher_encrypt</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-crypto.html#gnutls-cipher-encrypt2" title="gnutls_cipher_encrypt2 ()">gnutls_cipher_encrypt2</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-crypto.html#gnutls-cipher-get-block-size" title="gnutls_cipher_get_block_size ()">gnutls_cipher_get_block_size</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-crypto.html#gnutls-cipher-init" title="gnutls_cipher_init ()">gnutls_cipher_init</a> <span class="c_punctuation">()</span> @@ -106,7 +106,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-crypto.html#gnutls-cipher-set-iv" title="gnutls_cipher_set_iv ()">gnutls_cipher_set_iv</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-crypto.html#gnutls-cipher-tag" title="gnutls_cipher_tag ()">gnutls_cipher_tag</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-crypto.html#gnutls-hash" title="gnutls_hash ()">gnutls_hash</a> <span class="c_punctuation">()</span> @@ -130,7 +130,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-crypto.html#gnutls-hash-deinit" title="gnutls_hash_deinit ()">gnutls_hash_deinit</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-crypto.html#gnutls-hash-fast" title="gnutls_hash_fast ()">gnutls_hash_fast</a> <span class="c_punctuation">()</span> @@ -146,7 +146,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-crypto.html#gnutls-hash-get-len" title="gnutls_hash_get_len ()">gnutls_hash_get_len</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-crypto.html#gnutls-hash-init" title="gnutls_hash_init ()">gnutls_hash_init</a> <span class="c_punctuation">()</span> @@ -162,7 +162,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-crypto.html#gnutls-hash-output" title="gnutls_hash_output ()">gnutls_hash_output</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-crypto.html#gnutls-hmac" title="gnutls_hmac ()">gnutls_hmac</a> <span class="c_punctuation">()</span> @@ -178,7 +178,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-crypto.html#gnutls-hmac-deinit" title="gnutls_hmac_deinit ()">gnutls_hmac_deinit</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-crypto.html#gnutls-hmac-fast" title="gnutls_hmac_fast ()">gnutls_hmac_fast</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-crypto.html#gnutls-hmac-get-len" title="gnutls_hmac_get_len ()">gnutls_hmac_get_len</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-crypto.html#gnutls-hmac-init" title="gnutls_hmac_init ()">gnutls_hmac_init</a> <span class="c_punctuation">()</span> @@ -210,7 +210,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-crypto.html#gnutls-hmac-output" title="gnutls_hmac_output ()">gnutls_hmac_output</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-crypto.html#gnutls-rnd" title="gnutls_rnd ()">gnutls_rnd</a> <span class="c_punctuation">()</span> @@ -268,10 +268,10 @@ <a name="gnutls-crypto.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-cipher-add-auth"></a><h3>gnutls_cipher_add_auth ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_add_auth (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> text_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> text_size</code></em>);</pre> <p>This function operates on authenticated encryption with associated data (AEAD) ciphers and authenticate the input data. This function can only be called once @@ -313,10 +313,10 @@ and before any encryption operations.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-decrypt"></a><h3>gnutls_cipher_decrypt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_decrypt (<em class="parameter"><code>const <a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *ciphertext</code></em>, - <em class="parameter"><code><span class="type">size_t</span> ciphertextlen</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ciphertext</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> ciphertextlen</code></em>);</pre> <p>This function will decrypt the given data using the algorithm specified by the context.</p> <p>Note that in AEAD ciphers, this will not check the tag. You will @@ -358,12 +358,12 @@ need to compare the tag sent with the value returned from <a class="link" href=" <hr> <div class="refsect2"> <a name="gnutls-cipher-decrypt2"></a><h3>gnutls_cipher_decrypt2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_decrypt2 (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *ciphertext</code></em>, - <em class="parameter"><code><span class="type">size_t</span> ciphertextlen</code></em>, - <em class="parameter"><code><span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ciphertext</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> ciphertextlen</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>);</pre> <p>This function will decrypt the given data using the algorithm specified by the context.</p> <p>Note that in AEAD ciphers, this will not check the tag. You will @@ -415,7 +415,7 @@ need to compare the tag sent with the value returned from <a class="link" href=" <hr> <div class="refsect2"> <a name="gnutls-cipher-deinit"></a><h3>gnutls_cipher_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_cipher_deinit (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>);</pre> <p>This function will deinitialize all resources occupied by the given encryption context.</p> @@ -439,10 +439,10 @@ encryption context.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-encrypt"></a><h3>gnutls_cipher_encrypt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_encrypt (<em class="parameter"><code>const <a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>);</pre> <p>This function will encrypt the given data using the algorithm specified by the context.</p> <div class="refsect3"> @@ -482,12 +482,12 @@ specified by the context.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-encrypt2"></a><h3>gnutls_cipher_encrypt2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_encrypt2 (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>, - <em class="parameter"><code><span class="type">void</span> *ciphertext</code></em>, - <em class="parameter"><code><span class="type">size_t</span> ciphertextlen</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ciphertext</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> ciphertextlen</code></em>);</pre> <p>This function will encrypt the given data using the algorithm specified by the context.</p> <div class="refsect3"> @@ -537,7 +537,7 @@ specified by the context.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-get-block-size"></a><h3>gnutls_cipher_get_block_size ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_get_block_size (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> algorithm</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.8.7.8.4"></a><h4>Parameters</h4> @@ -564,11 +564,11 @@ gnutls_cipher_get_block_size (<em class="parameter"><code><a class="link" href=" <hr> <div class="refsect2"> <a name="gnutls-cipher-init"></a><h3>gnutls_cipher_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_init (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> *handle</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> cipher</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *iv</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *iv</code></em>);</pre> <p>This function will initialize an context that can be used for encryption/decryption of data. This will effectively use the current crypto backend in use by gnutls or the cryptographic @@ -615,10 +615,10 @@ accelerator in use.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-set-iv"></a><h3>gnutls_cipher_set_iv ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_cipher_set_iv (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *iv</code></em>, - <em class="parameter"><code><span class="type">size_t</span> ivlen</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *iv</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> ivlen</code></em>);</pre> <p>This function will set the IV to be used for the next encryption block.</p> <div class="refsect3"> @@ -653,10 +653,10 @@ encryption block.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-tag"></a><h3>gnutls_cipher_tag ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_cipher_tag (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-cipher-hd-t" title="gnutls_cipher_hd_t"><span class="type">gnutls_cipher_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *tag</code></em>, - <em class="parameter"><code><span class="type">size_t</span> tag_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *tag</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> tag_size</code></em>);</pre> <p>This function operates on authenticated encryption with associated data (AEAD) ciphers and will return the output tag.</p> @@ -697,10 +697,10 @@ output tag.</p> <hr> <div class="refsect2"> <a name="gnutls-hash"></a><h3>gnutls_hash ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hash (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hash-hd-t" title="gnutls_hash_hd_t"><span class="type">gnutls_hash_hd_t</span></a> handle</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>);</pre> <p>This function will hash the given data using the algorithm specified by the context.</p> <div class="refsect3"> @@ -740,9 +740,9 @@ specified by the context.</p> <hr> <div class="refsect2"> <a name="gnutls-hash-deinit"></a><h3>gnutls_hash_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_hash_deinit (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hash-hd-t" title="gnutls_hash_hd_t"><span class="type">gnutls_hash_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *digest</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *digest</code></em>);</pre> <p>This function will deinitialize all resources occupied by the given hash context.</p> <div class="refsect3"> @@ -772,11 +772,11 @@ the given hash context.</p> <hr> <div class="refsect2"> <a name="gnutls-hash-fast"></a><h3>gnutls_hash_fast ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hash_fast (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> algorithm</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>, - <em class="parameter"><code><span class="type">void</span> *digest</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *digest</code></em>);</pre> <p>This convenience function will hash the given data and return output on a single call.</p> <div class="refsect3"> @@ -821,7 +821,7 @@ on a single call.</p> <hr> <div class="refsect2"> <a name="gnutls-hash-get-len"></a><h3>gnutls_hash_get_len ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hash_get_len (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> algorithm</code></em>);</pre> <p>This function will return the length of the output data of the given hash algorithm.</p> @@ -850,7 +850,7 @@ of the given hash algorithm.</p> <hr> <div class="refsect2"> <a name="gnutls-hash-init"></a><h3>gnutls_hash_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hash_init (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hash-hd-t" title="gnutls_hash_hd_t"><span class="type">gnutls_hash_hd_t</span></a> *dig</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> algorithm</code></em>);</pre> <p>This function will initialize an context that can be used to @@ -889,9 +889,9 @@ accelerator in use.</p> <hr> <div class="refsect2"> <a name="gnutls-hash-output"></a><h3>gnutls_hash_output ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_hash_output (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hash-hd-t" title="gnutls_hash_hd_t"><span class="type">gnutls_hash_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *digest</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *digest</code></em>);</pre> <p>This function will output the current hash value and reset the state of the hash.</p> <div class="refsect3"> @@ -921,10 +921,10 @@ and reset the state of the hash.</p> <hr> <div class="refsect2"> <a name="gnutls-hmac"></a><h3>gnutls_hmac ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hmac (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hmac-hd-t" title="gnutls_hmac_hd_t"><span class="type">gnutls_hmac_hd_t</span></a> handle</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>);</pre> <p>This function will hash the given data using the algorithm specified by the context.</p> <div class="refsect3"> @@ -964,9 +964,9 @@ specified by the context.</p> <hr> <div class="refsect2"> <a name="gnutls-hmac-deinit"></a><h3>gnutls_hmac_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_hmac_deinit (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hmac-hd-t" title="gnutls_hmac_hd_t"><span class="type">gnutls_hmac_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *digest</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *digest</code></em>);</pre> <p>This function will deinitialize all resources occupied by the given hmac context.</p> <div class="refsect3"> @@ -996,13 +996,13 @@ the given hmac context.</p> <hr> <div class="refsect2"> <a name="gnutls-hmac-fast"></a><h3>gnutls_hmac_fast ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hmac_fast (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> algorithm</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *key</code></em>, - <em class="parameter"><code><span class="type">size_t</span> keylen</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *text</code></em>, - <em class="parameter"><code><span class="type">size_t</span> textlen</code></em>, - <em class="parameter"><code><span class="type">void</span> *digest</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> keylen</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *text</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> textlen</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *digest</code></em>);</pre> <p>This convenience function will hash the given data and return output on a single call.</p> <div class="refsect3"> @@ -1057,7 +1057,7 @@ on a single call.</p> <hr> <div class="refsect2"> <a name="gnutls-hmac-get-len"></a><h3>gnutls_hmac_get_len ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hmac_get_len (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> algorithm</code></em>);</pre> <p>This function will return the length of the output data of the given hmac algorithm.</p> @@ -1086,11 +1086,11 @@ of the given hmac algorithm.</p> <hr> <div class="refsect2"> <a name="gnutls-hmac-init"></a><h3>gnutls_hmac_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_hmac_init (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hmac-hd-t" title="gnutls_hmac_hd_t"><span class="type">gnutls_hmac_hd_t</span></a> *dig</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> algorithm</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *key</code></em>, - <em class="parameter"><code><span class="type">size_t</span> keylen</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> keylen</code></em>);</pre> <p>This function will initialize an context that can be used to produce a Message Authentication Code (MAC) of data. This will effectively use the current crypto backend in use by gnutls or the @@ -1139,9 +1139,9 @@ for other MAC algorithms than HMAC.</p> <hr> <div class="refsect2"> <a name="gnutls-hmac-output"></a><h3>gnutls_hmac_output ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_hmac_output (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-hmac-hd-t" title="gnutls_hmac_hd_t"><span class="type">gnutls_hmac_hd_t</span></a> handle</code></em>, - <em class="parameter"><code><span class="type">void</span> *digest</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *digest</code></em>);</pre> <p>This function will output the current MAC value and reset the state of the MAC.</p> <div class="refsect3"> @@ -1171,10 +1171,10 @@ and reset the state of the MAC.</p> <hr> <div class="refsect2"> <a name="gnutls-rnd"></a><h3>gnutls_rnd ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_rnd (<em class="parameter"><code><a class="link" href="gnutls-crypto.html#gnutls-rnd-level-t" title="enum gnutls_rnd_level_t"><span class="type">gnutls_rnd_level_t</span></a> level</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> len</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> len</code></em>);</pre> <p>This function will generate random data and store it to output buffer.</p> <div class="refsect3"> @@ -1283,4 +1283,4 @@ buffer.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-dtls.html b/reference/gnutls-dtls.html index c9cfe91ba9..522389fefc 100644 --- a/reference/gnutls-dtls.html +++ b/reference/gnutls-dtls.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-dtls.html#gnutls-dtls-cookie-send" title="gnutls_dtls_cookie_send ()">gnutls_dtls_cookie_send</a> <span class="c_punctuation">()</span> @@ -50,28 +50,28 @@ </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-dtls.html#gnutls-dtls-cookie-verify" title="gnutls_dtls_cookie_verify ()">gnutls_dtls_cookie_verify</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">unsigned <span class="returnvalue">int</span> +<td class="function_type">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-dtls.html#gnutls-dtls-get-data-mtu" title="gnutls_dtls_get_data_mtu ()">gnutls_dtls_get_data_mtu</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">unsigned <span class="returnvalue">int</span> +<td class="function_type">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-dtls.html#gnutls-dtls-get-mtu" title="gnutls_dtls_get_mtu ()">gnutls_dtls_get_mtu</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">unsigned <span class="returnvalue">int</span> +<td class="function_type">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-dtls.html#gnutls-dtls-get-timeout" title="gnutls_dtls_get_timeout ()">gnutls_dtls_get_timeout</a> <span class="c_punctuation">()</span> @@ -79,7 +79,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-dtls.html#gnutls-dtls-prestate-set" title="gnutls_dtls_prestate_set ()">gnutls_dtls_prestate_set</a> <span class="c_punctuation">()</span> @@ -87,7 +87,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-dtls.html#gnutls-dtls-set-data-mtu" title="gnutls_dtls_set_data_mtu ()">gnutls_dtls_set_data_mtu</a> <span class="c_punctuation">()</span> @@ -95,7 +95,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-dtls.html#gnutls-dtls-set-mtu" title="gnutls_dtls_set_mtu ()">gnutls_dtls_set_mtu</a> <span class="c_punctuation">()</span> @@ -103,14 +103,14 @@ </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-dtls.html#gnutls-dtls-set-timeouts" title="gnutls_dtls_set_timeouts ()">gnutls_dtls_set_timeouts</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">unsigned <span class="returnvalue">int</span> +<td class="function_type">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-dtls.html#gnutls-record-get-discarded" title="gnutls_record_get_discarded ()">gnutls_record_get_discarded</a> <span class="c_punctuation">()</span> @@ -146,11 +146,11 @@ <a name="gnutls-dtls.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-dtls-cookie-send"></a><h3>gnutls_dtls_cookie_send ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_dtls_cookie_send (<em class="parameter"><code><span class="type">gnutls_datum_t</span> *key</code></em>, - <em class="parameter"><code><span class="type">void</span> *client_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> client_data_size</code></em>, - <em class="parameter"><code><span class="type">gnutls_dtls_prestate_st</span> *prestate</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_dtls_cookie_send (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *client_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> client_data_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-dtls-prestate-st"><span class="type">gnutls_dtls_prestate_st</span></GTKDOCLINK> *prestate</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> ptr</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-push-func" title="gnutls_push_func ()"><span class="type">gnutls_push_func</span></a> push_func</code></em>);</pre> <p>This function can be used to prevent denial of service @@ -215,13 +215,13 @@ by <a class="link" href="gnutls-dtls.html#gnutls-dtls-cookie-verify" title="gnut <hr> <div class="refsect2"> <a name="gnutls-dtls-cookie-verify"></a><h3>gnutls_dtls_cookie_verify ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_dtls_cookie_verify (<em class="parameter"><code><span class="type">gnutls_datum_t</span> *key</code></em>, - <em class="parameter"><code><span class="type">void</span> *client_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> client_data_size</code></em>, - <em class="parameter"><code><span class="type">void</span> *_msg</code></em>, - <em class="parameter"><code><span class="type">size_t</span> msg_size</code></em>, - <em class="parameter"><code><span class="type">gnutls_dtls_prestate_st</span> *prestate</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_dtls_cookie_verify (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *client_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> client_data_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *_msg</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> msg_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-dtls-prestate-st"><span class="type">gnutls_dtls_prestate_st</span></GTKDOCLINK> *prestate</code></em>);</pre> <p>This function will verify the received message for a valid cookie. If a valid cookie is returned then it should be associated with the session using @@ -279,7 +279,7 @@ it should be associated with the session using <hr> <div class="refsect2"> <a name="gnutls-dtls-get-data-mtu"></a><h3>gnutls_dtls_get_data_mtu ()</h3> -<pre class="programlisting">unsigned <span class="returnvalue">int</span> +<pre class="programlisting">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dtls_get_data_mtu (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the actual maximum transfer unit for application data. I.e. DTLS headers are subtracted from the @@ -309,7 +309,7 @@ actual MTU which is set using <a class="link" href="gnutls-dtls.html#gnutls-dtls <hr> <div class="refsect2"> <a name="gnutls-dtls-get-mtu"></a><h3>gnutls_dtls_get_mtu ()</h3> -<pre class="programlisting">unsigned <span class="returnvalue">int</span> +<pre class="programlisting">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dtls_get_mtu (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the MTU size as set with <a class="link" href="gnutls-dtls.html#gnutls-dtls-set-mtu" title="gnutls_dtls_set_mtu ()"><code class="function">gnutls_dtls_set_mtu()</code></a>. This is not the actual MTU @@ -340,7 +340,7 @@ for that reason.</p> <hr> <div class="refsect2"> <a name="gnutls-dtls-get-timeout"></a><h3>gnutls_dtls_get_timeout ()</h3> -<pre class="programlisting">unsigned <span class="returnvalue">int</span> +<pre class="programlisting">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dtls_get_timeout (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the milliseconds remaining for a retransmission of the previously sent handshake @@ -372,9 +372,9 @@ if no packets have been received.</p> <hr> <div class="refsect2"> <a name="gnutls-dtls-prestate-set"></a><h3>gnutls_dtls_prestate_set ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_dtls_prestate_set (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_dtls_prestate_st</span> *prestate</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-dtls-prestate-st"><span class="type">gnutls_dtls_prestate_st</span></GTKDOCLINK> *prestate</code></em>);</pre> <p>This function will associate the prestate acquired by the cookie authentication with the client, with the newly established session.</p> @@ -407,9 +407,9 @@ and should be succeeded by the actual DTLS handshake using <a class="link" href= <hr> <div class="refsect2"> <a name="gnutls-dtls-set-data-mtu"></a><h3>gnutls_dtls_set_data_mtu ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dtls_set_data_mtu (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> mtu</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> mtu</code></em>);</pre> <p>This function will set the maximum size of the *unencrypted* records which will be sent over a DTLS session. It is equivalent to calculating the DTLS packet overhead with the current encryption parameters, and @@ -451,9 +451,9 @@ the maximum MTU of your transport layer.</p> <hr> <div class="refsect2"> <a name="gnutls-dtls-set-mtu"></a><h3>gnutls_dtls_set_mtu ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_dtls_set_mtu (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> mtu</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> mtu</code></em>);</pre> <p>This function will set the maximum transfer unit of the transport that DTLS packets are sent over. Note that this should exclude the IP (or IPv6) and UDP headers. So for DTLS over IPv6 on an @@ -486,10 +486,10 @@ would be 1500 - 40 (IPV6 header) - 8 (UDP header) = 1452.</p> <hr> <div class="refsect2"> <a name="gnutls-dtls-set-timeouts"></a><h3>gnutls_dtls_set_timeouts ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_dtls_set_timeouts (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> retrans_timeout</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> total_timeout</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> retrans_timeout</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> total_timeout</code></em>);</pre> <p>This function will set the timeouts required for the DTLS handshake protocol. The retransmission timeout is the time after which a message from the peer is not received, the previous messages will @@ -534,7 +534,7 @@ in a non-blocking way, i.e., return <a class="link" href="gnutls-gnutls.html#GNU <hr> <div class="refsect2"> <a name="gnutls-record-get-discarded"></a><h3>gnutls_record_get_discarded ()</h3> -<pre class="programlisting">unsigned <span class="returnvalue">int</span> +<pre class="programlisting">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_record_get_discarded (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Returns the number of discarded packets in a DTLS connection.</p> @@ -576,4 +576,4 @@ DTLS connection.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-gnutls.html b/reference/gnutls-gnutls.html index 42d29aa8b1..e1fb7d217b 100644 --- a/reference/gnutls-gnutls.html +++ b/reference/gnutls-gnutls.html @@ -81,14 +81,14 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-alert-get-name" title="gnutls_alert_get_name ()">gnutls_alert_get_name</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-alert-get-strname" title="gnutls_alert_get_strname ()">gnutls_alert_get_strname</a> <span class="c_punctuation">()</span> @@ -96,7 +96,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-gnutls.html#gnutls-alert-send" title="gnutls_alert_send ()">gnutls_alert_send</a> <span class="c_punctuation">()</span> @@ -104,7 +104,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-gnutls.html#gnutls-alert-send-appropriate" title="gnutls_alert_send_appropriate ()">gnutls_alert_send_appropriate</a> <span class="c_punctuation">()</span> @@ -112,7 +112,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-alloc-function" title="gnutls_alloc_function ()">*gnutls_alloc_function</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -120,7 +120,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-gnutls.html#gnutls-anon-allocate-client-credentials" title="gnutls_anon_allocate_client_credentials ()">gnutls_anon_allocate_client_credentials</a> <span class="c_punctuation">()</span> @@ -128,7 +128,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-gnutls.html#gnutls-anon-allocate-server-credentials" title="gnutls_anon_allocate_server_credentials ()">gnutls_anon_allocate_server_credentials</a> <span class="c_punctuation">()</span> @@ -136,7 +136,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-gnutls.html#gnutls-anon-free-client-credentials" title="gnutls_anon_free_client_credentials ()">gnutls_anon_free_client_credentials</a> <span class="c_punctuation">()</span> @@ -144,7 +144,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-gnutls.html#gnutls-anon-free-server-credentials" title="gnutls_anon_free_server_credentials ()">gnutls_anon_free_server_credentials</a> <span class="c_punctuation">()</span> @@ -152,7 +152,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-gnutls.html#gnutls-anon-set-params-function" title="gnutls_anon_set_params_function ()">gnutls_anon_set_params_function</a> <span class="c_punctuation">()</span> @@ -160,7 +160,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-gnutls.html#gnutls-anon-set-server-dh-params" title="gnutls_anon_set_server_dh_params ()">gnutls_anon_set_server_dh_params</a> <span class="c_punctuation">()</span> @@ -168,7 +168,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-gnutls.html#gnutls-anon-set-server-params-function" title="gnutls_anon_set_server_params_function ()">gnutls_anon_set_server_params_function</a> <span class="c_punctuation">()</span> @@ -176,7 +176,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-audit-log-func" title="gnutls_audit_log_func ()">*gnutls_audit_log_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -184,7 +184,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-gnutls.html#gnutls-bye" title="gnutls_bye ()">gnutls_bye</a> <span class="c_punctuation">()</span> @@ -192,7 +192,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-calloc-function" title="gnutls_calloc_function ()">*gnutls_calloc_function</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -200,7 +200,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-certificate-activation-time-peers" title="gnutls_certificate_activation_time_peers ()">gnutls_certificate_activation_time_peers</a> <span class="c_punctuation">()</span> @@ -208,7 +208,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-gnutls.html#gnutls-certificate-allocate-credentials" title="gnutls_certificate_allocate_credentials ()">gnutls_certificate_allocate_credentials</a> <span class="c_punctuation">()</span> @@ -216,7 +216,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-gnutls.html#gnutls-certificate-client-get-request-status" title="gnutls_certificate_client_get_request_status ()">gnutls_certificate_client_get_request_status</a> <span class="c_punctuation">()</span> @@ -224,7 +224,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-certificate-expiration-time-peers" title="gnutls_certificate_expiration_time_peers ()">gnutls_certificate_expiration_time_peers</a> <span class="c_punctuation">()</span> @@ -232,7 +232,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-gnutls.html#gnutls-certificate-free-ca-names" title="gnutls_certificate_free_ca_names ()">gnutls_certificate_free_ca_names</a> <span class="c_punctuation">()</span> @@ -240,7 +240,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-gnutls.html#gnutls-certificate-free-cas" title="gnutls_certificate_free_cas ()">gnutls_certificate_free_cas</a> <span class="c_punctuation">()</span> @@ -248,7 +248,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-gnutls.html#gnutls-certificate-free-credentials" title="gnutls_certificate_free_credentials ()">gnutls_certificate_free_credentials</a> <span class="c_punctuation">()</span> @@ -256,7 +256,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-gnutls.html#gnutls-certificate-free-crls" title="gnutls_certificate_free_crls ()">gnutls_certificate_free_crls</a> <span class="c_punctuation">()</span> @@ -264,7 +264,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-gnutls.html#gnutls-certificate-free-keys" title="gnutls_certificate_free_keys ()">gnutls_certificate_free_keys</a> <span class="c_punctuation">()</span> @@ -272,21 +272,21 @@ </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-gnutls.html#gnutls-certificate-get-issuer" title="gnutls_certificate_get_issuer ()">gnutls_certificate_get_issuer</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">gnutls_datum_t</span> * +<td class="function_type">const <GTKDOCLINK HREF="gnutls-datum-t"><span class="returnvalue">gnutls_datum_t</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-certificate-get-ours" title="gnutls_certificate_get_ours ()">gnutls_certificate_get_ours</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">gnutls_datum_t</span> * +<td class="function_type">const <GTKDOCLINK HREF="gnutls-datum-t"><span class="returnvalue">gnutls_datum_t</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-certificate-get-peers" title="gnutls_certificate_get_peers ()">gnutls_certificate_get_peers</a> <span class="c_punctuation">()</span> @@ -294,7 +294,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-gnutls.html#gnutls-certificate-get-peers-subkey-id" title="gnutls_certificate_get_peers_subkey_id ()">gnutls_certificate_get_peers_subkey_id</a> <span class="c_punctuation">()</span> @@ -302,7 +302,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-gnutls.html#gnutls-certificate-send-x509-rdn-sequence" title="gnutls_certificate_send_x509_rdn_sequence ()">gnutls_certificate_send_x509_rdn_sequence</a> <span class="c_punctuation">()</span> @@ -310,7 +310,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-gnutls.html#gnutls-certificate-server-set-request" title="gnutls_certificate_server_set_request ()">gnutls_certificate_server_set_request</a> <span class="c_punctuation">()</span> @@ -318,7 +318,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-gnutls.html#gnutls-certificate-set-dh-params" title="gnutls_certificate_set_dh_params ()">gnutls_certificate_set_dh_params</a> <span class="c_punctuation">()</span> @@ -326,7 +326,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-gnutls.html#gnutls-certificate-set-ocsp-status-request-file" title="gnutls_certificate_set_ocsp_status_request_file ()">gnutls_certificate_set_ocsp_status_request_file</a> <span class="c_punctuation">()</span> @@ -334,7 +334,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-gnutls.html#gnutls-certificate-set-ocsp-status-request-function" title="gnutls_certificate_set_ocsp_status_request_function ()">gnutls_certificate_set_ocsp_status_request_function</a> <span class="c_punctuation">()</span> @@ -342,7 +342,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-gnutls.html#gnutls-certificate-set-params-function" title="gnutls_certificate_set_params_function ()">gnutls_certificate_set_params_function</a> <span class="c_punctuation">()</span> @@ -350,7 +350,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-gnutls.html#gnutls-certificate-set-pin-function" title="gnutls_certificate_set_pin_function ()">gnutls_certificate_set_pin_function</a> <span class="c_punctuation">()</span> @@ -358,7 +358,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-gnutls.html#gnutls-certificate-set-retrieve-function" title="gnutls_certificate_set_retrieve_function ()">gnutls_certificate_set_retrieve_function</a> <span class="c_punctuation">()</span> @@ -366,7 +366,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-gnutls.html#gnutls-certificate-set-verify-flags" title="gnutls_certificate_set_verify_flags ()">gnutls_certificate_set_verify_flags</a> <span class="c_punctuation">()</span> @@ -374,7 +374,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-gnutls.html#gnutls-certificate-set-verify-function" title="gnutls_certificate_set_verify_function ()">gnutls_certificate_set_verify_function</a> <span class="c_punctuation">()</span> @@ -382,7 +382,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-gnutls.html#gnutls-certificate-set-verify-limits" title="gnutls_certificate_set_verify_limits ()">gnutls_certificate_set_verify_limits</a> <span class="c_punctuation">()</span> @@ -390,7 +390,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-gnutls.html#gnutls-certificate-set-x509-crl" title="gnutls_certificate_set_x509_crl ()">gnutls_certificate_set_x509_crl</a> <span class="c_punctuation">()</span> @@ -398,7 +398,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-gnutls.html#gnutls-certificate-set-x509-crl-file" title="gnutls_certificate_set_x509_crl_file ()">gnutls_certificate_set_x509_crl_file</a> <span class="c_punctuation">()</span> @@ -406,7 +406,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-gnutls.html#gnutls-certificate-set-x509-crl-mem" title="gnutls_certificate_set_x509_crl_mem ()">gnutls_certificate_set_x509_crl_mem</a> <span class="c_punctuation">()</span> @@ -414,7 +414,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-gnutls.html#gnutls-certificate-set-x509-key" title="gnutls_certificate_set_x509_key ()">gnutls_certificate_set_x509_key</a> <span class="c_punctuation">()</span> @@ -422,7 +422,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-gnutls.html#gnutls-certificate-set-x509-key-file" title="gnutls_certificate_set_x509_key_file ()">gnutls_certificate_set_x509_key_file</a> <span class="c_punctuation">()</span> @@ -430,7 +430,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-gnutls.html#gnutls-certificate-set-x509-key-mem" title="gnutls_certificate_set_x509_key_mem ()">gnutls_certificate_set_x509_key_mem</a> <span class="c_punctuation">()</span> @@ -438,7 +438,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-gnutls.html#gnutls-certificate-set-x509-simple-pkcs12-file" title="gnutls_certificate_set_x509_simple_pkcs12_file ()">gnutls_certificate_set_x509_simple_pkcs12_file</a> <span class="c_punctuation">()</span> @@ -446,7 +446,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-gnutls.html#gnutls-certificate-set-x509-simple-pkcs12-mem" title="gnutls_certificate_set_x509_simple_pkcs12_mem ()">gnutls_certificate_set_x509_simple_pkcs12_mem</a> <span class="c_punctuation">()</span> @@ -454,7 +454,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-gnutls.html#gnutls-certificate-set-x509-system-trust" title="gnutls_certificate_set_x509_system_trust ()">gnutls_certificate_set_x509_system_trust</a> <span class="c_punctuation">()</span> @@ -462,7 +462,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-gnutls.html#gnutls-certificate-set-x509-trust" title="gnutls_certificate_set_x509_trust ()">gnutls_certificate_set_x509_trust</a> <span class="c_punctuation">()</span> @@ -470,7 +470,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-gnutls.html#gnutls-certificate-set-x509-trust-file" title="gnutls_certificate_set_x509_trust_file ()">gnutls_certificate_set_x509_trust_file</a> <span class="c_punctuation">()</span> @@ -478,7 +478,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-gnutls.html#gnutls-certificate-set-x509-trust-mem" title="gnutls_certificate_set_x509_trust_mem ()">gnutls_certificate_set_x509_trust_mem</a> <span class="c_punctuation">()</span> @@ -501,7 +501,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-get-name" title="gnutls_certificate_type_get_name ()">gnutls_certificate_type_get_name</a> <span class="c_punctuation">()</span> @@ -516,7 +516,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-gnutls.html#gnutls-certificate-verification-status-print" title="gnutls_certificate_verification_status_print ()">gnutls_certificate_verification_status_print</a> <span class="c_punctuation">()</span> @@ -524,7 +524,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-gnutls.html#gnutls-certificate-verify-peers2" title="gnutls_certificate_verify_peers2 ()">gnutls_certificate_verify_peers2</a> <span class="c_punctuation">()</span> @@ -532,14 +532,14 @@ </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-gnutls.html#gnutls-certificate-verify-peers3" title="gnutls_certificate_verify_peers3 ()">gnutls_certificate_verify_peers3</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-check-version" title="gnutls_check_version ()">gnutls_check_version</a> <span class="c_punctuation">()</span> @@ -563,14 +563,14 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">size_t</span> +<GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-cipher-get-key-size" title="gnutls_cipher_get_key_size ()">gnutls_cipher_get_key_size</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-cipher-get-name" title="gnutls_cipher_get_name ()">gnutls_cipher_get_name</a> <span class="c_punctuation">()</span> @@ -584,14 +584,14 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-cipher-suite-get-name" title="gnutls_cipher_suite_get_name ()">gnutls_cipher_suite_get_name</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-cipher-suite-info" title="gnutls_cipher_suite_info ()">gnutls_cipher_suite_info</a> <span class="c_punctuation">()</span> @@ -614,7 +614,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-compression-get-name" title="gnutls_compression_get_name ()">gnutls_compression_get_name</a> <span class="c_punctuation">()</span> @@ -629,7 +629,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-gnutls.html#gnutls-credentials-clear" title="gnutls_credentials_clear ()">gnutls_credentials_clear</a> <span class="c_punctuation">()</span> @@ -637,7 +637,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-gnutls.html#gnutls-credentials-set" title="gnutls_credentials_set ()">gnutls_credentials_set</a> <span class="c_punctuation">()</span> @@ -645,7 +645,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-gnutls.html#gnutls-db-check-entry" title="gnutls_db_check_entry ()">gnutls_db_check_entry</a> <span class="c_punctuation">()</span> @@ -653,7 +653,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-gnutls.html#gnutls-db-get-ptr" title="gnutls_db_get_ptr ()">gnutls_db_get_ptr</a> <span class="c_punctuation">()</span> @@ -661,7 +661,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-db-remove-func" title="gnutls_db_remove_func ()">*gnutls_db_remove_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -669,7 +669,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-gnutls.html#gnutls-db-remove-session" title="gnutls_db_remove_session ()">gnutls_db_remove_session</a> <span class="c_punctuation">()</span> @@ -677,7 +677,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">gnutls_datum_t</span> +<GTKDOCLINK HREF="gnutls-datum-t"><span class="returnvalue">gnutls_datum_t</span></GTKDOCLINK> </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-db-retr-func" title="gnutls_db_retr_func ()">*gnutls_db_retr_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -685,7 +685,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-gnutls.html#gnutls-db-set-cache-expiration" title="gnutls_db_set_cache_expiration ()">gnutls_db_set_cache_expiration</a> <span class="c_punctuation">()</span> @@ -693,7 +693,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-gnutls.html#gnutls-db-set-ptr" title="gnutls_db_set_ptr ()">gnutls_db_set_ptr</a> <span class="c_punctuation">()</span> @@ -701,7 +701,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-gnutls.html#gnutls-db-set-remove-function" title="gnutls_db_set_remove_function ()">gnutls_db_set_remove_function</a> <span class="c_punctuation">()</span> @@ -709,7 +709,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-gnutls.html#gnutls-db-set-retrieve-function" title="gnutls_db_set_retrieve_function ()">gnutls_db_set_retrieve_function</a> <span class="c_punctuation">()</span> @@ -717,7 +717,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-gnutls.html#gnutls-db-set-store-function" title="gnutls_db_set_store_function ()">gnutls_db_set_store_function</a> <span class="c_punctuation">()</span> @@ -725,7 +725,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-db-store-func" title="gnutls_db_store_func ()">*gnutls_db_store_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -733,7 +733,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-gnutls.html#gnutls-deinit" title="gnutls_deinit ()">gnutls_deinit</a> <span class="c_punctuation">()</span> @@ -741,7 +741,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-gnutls.html#gnutls-dh-get-group" title="gnutls_dh_get_group ()">gnutls_dh_get_group</a> <span class="c_punctuation">()</span> @@ -749,7 +749,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-gnutls.html#gnutls-dh-get-peers-public-bits" title="gnutls_dh_get_peers_public_bits ()">gnutls_dh_get_peers_public_bits</a> <span class="c_punctuation">()</span> @@ -757,7 +757,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-gnutls.html#gnutls-dh-get-prime-bits" title="gnutls_dh_get_prime_bits ()">gnutls_dh_get_prime_bits</a> <span class="c_punctuation">()</span> @@ -765,7 +765,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-gnutls.html#gnutls-dh-get-pubkey" title="gnutls_dh_get_pubkey ()">gnutls_dh_get_pubkey</a> <span class="c_punctuation">()</span> @@ -773,7 +773,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-gnutls.html#gnutls-dh-get-secret-bits" title="gnutls_dh_get_secret_bits ()">gnutls_dh_get_secret_bits</a> <span class="c_punctuation">()</span> @@ -781,7 +781,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-gnutls.html#gnutls-dh-params-cpy" title="gnutls_dh_params_cpy ()">gnutls_dh_params_cpy</a> <span class="c_punctuation">()</span> @@ -789,7 +789,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-gnutls.html#gnutls-dh-params-deinit" title="gnutls_dh_params_deinit ()">gnutls_dh_params_deinit</a> <span class="c_punctuation">()</span> @@ -797,7 +797,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-gnutls.html#gnutls-dh-params-export2-pkcs3" title="gnutls_dh_params_export2_pkcs3 ()">gnutls_dh_params_export2_pkcs3</a> <span class="c_punctuation">()</span> @@ -805,7 +805,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-gnutls.html#gnutls-dh-params-export-pkcs3" title="gnutls_dh_params_export_pkcs3 ()">gnutls_dh_params_export_pkcs3</a> <span class="c_punctuation">()</span> @@ -813,7 +813,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-gnutls.html#gnutls-dh-params-export-raw" title="gnutls_dh_params_export_raw ()">gnutls_dh_params_export_raw</a> <span class="c_punctuation">()</span> @@ -821,7 +821,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-gnutls.html#gnutls-dh-params-generate2" title="gnutls_dh_params_generate2 ()">gnutls_dh_params_generate2</a> <span class="c_punctuation">()</span> @@ -829,7 +829,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-gnutls.html#gnutls-dh-params-import-pkcs3" title="gnutls_dh_params_import_pkcs3 ()">gnutls_dh_params_import_pkcs3</a> <span class="c_punctuation">()</span> @@ -837,7 +837,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-gnutls.html#gnutls-dh-params-import-raw" title="gnutls_dh_params_import_raw ()">gnutls_dh_params_import_raw</a> <span class="c_punctuation">()</span> @@ -845,7 +845,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-gnutls.html#gnutls-dh-params-init" title="gnutls_dh_params_init ()">gnutls_dh_params_init</a> <span class="c_punctuation">()</span> @@ -853,7 +853,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-gnutls.html#gnutls-dh-set-prime-bits" title="gnutls_dh_set_prime_bits ()">gnutls_dh_set_prime_bits</a> <span class="c_punctuation">()</span> @@ -868,7 +868,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-ecc-curve-get-name" title="gnutls_ecc_curve_get_name ()">gnutls_ecc_curve_get_name</a> <span class="c_punctuation">()</span> @@ -876,7 +876,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-gnutls.html#gnutls-ecc-curve-get-size" title="gnutls_ecc_curve_get_size ()">gnutls_ecc_curve_get_size</a> <span class="c_punctuation">()</span> @@ -891,7 +891,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-errno-func" title="gnutls_errno_func ()">*gnutls_errno_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -899,7 +899,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-gnutls.html#gnutls-error-is-fatal" title="gnutls_error_is_fatal ()">gnutls_error_is_fatal</a> <span class="c_punctuation">()</span> @@ -907,7 +907,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-gnutls.html#gnutls-error-to-alert" title="gnutls_error_to_alert ()">gnutls_error_to_alert</a> <span class="c_punctuation">()</span> @@ -915,7 +915,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-gnutls.html#gnutls-fingerprint" title="gnutls_fingerprint ()">gnutls_fingerprint</a> <span class="c_punctuation">()</span> @@ -923,7 +923,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-free-function" title="gnutls_free_function ()">*gnutls_free_function</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -931,7 +931,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-gnutls.html#gnutls-global-deinit" title="gnutls_global_deinit ()">gnutls_global_deinit</a> <span class="c_punctuation">()</span> @@ -939,7 +939,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-gnutls.html#gnutls-global-init" title="gnutls_global_init ()">gnutls_global_init</a> <span class="c_punctuation">()</span> @@ -947,7 +947,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-gnutls.html#gnutls-global-set-audit-log-function" title="gnutls_global_set_audit_log_function ()">gnutls_global_set_audit_log_function</a> <span class="c_punctuation">()</span> @@ -955,7 +955,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-gnutls.html#gnutls-global-set-log-function" title="gnutls_global_set_log_function ()">gnutls_global_set_log_function</a> <span class="c_punctuation">()</span> @@ -963,7 +963,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-gnutls.html#gnutls-global-set-log-level" title="gnutls_global_set_log_level ()">gnutls_global_set_log_level</a> <span class="c_punctuation">()</span> @@ -971,7 +971,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-gnutls.html#gnutls-global-set-mem-functions" title="gnutls_global_set_mem_functions ()">gnutls_global_set_mem_functions</a> <span class="c_punctuation">()</span> @@ -979,7 +979,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-gnutls.html#gnutls-global-set-mutex" title="gnutls_global_set_mutex ()">gnutls_global_set_mutex</a> <span class="c_punctuation">()</span> @@ -987,7 +987,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-gnutls.html#gnutls-global-set-time-function" title="gnutls_global_set_time_function ()">gnutls_global_set_time_function</a> <span class="c_punctuation">()</span> @@ -995,7 +995,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-gnutls.html#gnutls-handshake" title="gnutls_handshake ()">gnutls_handshake</a> <span class="c_punctuation">()</span> @@ -1019,7 +1019,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-handshake-post-client-hello-func" title="gnutls_handshake_post_client_hello_func ()">*gnutls_handshake_post_client_hello_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1027,7 +1027,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-gnutls.html#gnutls-handshake-set-max-packet-length" title="gnutls_handshake_set_max_packet_length ()">gnutls_handshake_set_max_packet_length</a> <span class="c_punctuation">()</span> @@ -1035,7 +1035,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-gnutls.html#gnutls-handshake-set-post-client-hello-function" title="gnutls_handshake_set_post_client_hello_function ()">gnutls_handshake_set_post_client_hello_function</a> <span class="c_punctuation">()</span> @@ -1043,7 +1043,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-gnutls.html#gnutls-handshake-set-private-extensions" title="gnutls_handshake_set_private_extensions ()">gnutls_handshake_set_private_extensions</a> <span class="c_punctuation">()</span> @@ -1051,7 +1051,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-gnutls.html#gnutls-handshake-set-timeout" title="gnutls_handshake_set_timeout ()">gnutls_handshake_set_timeout</a> <span class="c_punctuation">()</span> @@ -1059,7 +1059,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-gnutls.html#gnutls-heartbeat-allowed" title="gnutls_heartbeat_allowed ()">gnutls_heartbeat_allowed</a> <span class="c_punctuation">()</span> @@ -1067,14 +1067,14 @@ </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-gnutls.html#gnutls-heartbeat-enable" title="gnutls_heartbeat_enable ()">gnutls_heartbeat_enable</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">unsigned <span class="returnvalue">int</span> +<td class="function_type">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-heartbeat-get-timeout" title="gnutls_heartbeat_get_timeout ()">gnutls_heartbeat_get_timeout</a> <span class="c_punctuation">()</span> @@ -1082,7 +1082,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-gnutls.html#gnutls-heartbeat-ping" title="gnutls_heartbeat_ping ()">gnutls_heartbeat_ping</a> <span class="c_punctuation">()</span> @@ -1090,7 +1090,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-gnutls.html#gnutls-heartbeat-pong" title="gnutls_heartbeat_pong ()">gnutls_heartbeat_pong</a> <span class="c_punctuation">()</span> @@ -1098,7 +1098,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-gnutls.html#gnutls-heartbeat-set-timeouts" title="gnutls_heartbeat_set_timeouts ()">gnutls_heartbeat_set_timeouts</a> <span class="c_punctuation">()</span> @@ -1106,7 +1106,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-gnutls.html#gnutls-hex2bin" title="gnutls_hex2bin ()">gnutls_hex2bin</a> <span class="c_punctuation">()</span> @@ -1114,7 +1114,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-gnutls.html#gnutls-hex-decode" title="gnutls_hex_decode ()">gnutls_hex_decode</a> <span class="c_punctuation">()</span> @@ -1122,7 +1122,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-gnutls.html#gnutls-hex-encode" title="gnutls_hex_encode ()">gnutls_hex_encode</a> <span class="c_punctuation">()</span> @@ -1130,7 +1130,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-gnutls.html#gnutls-init" title="gnutls_init ()">gnutls_init</a> <span class="c_punctuation">()</span> @@ -1138,7 +1138,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-is-secure-function" title="gnutls_is_secure_function ()">*gnutls_is_secure_function</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1146,7 +1146,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-gnutls.html#gnutls-key-generate" title="gnutls_key_generate ()">gnutls_key_generate</a> <span class="c_punctuation">()</span> @@ -1169,7 +1169,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-kx-get-name" title="gnutls_kx_get_name ()">gnutls_kx_get_name</a> <span class="c_punctuation">()</span> @@ -1184,7 +1184,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-gnutls.html#gnutls-load-file" title="gnutls_load_file ()">gnutls_load_file</a> <span class="c_punctuation">()</span> @@ -1192,7 +1192,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-log-func" title="gnutls_log_func ()">*gnutls_log_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1216,14 +1216,14 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">size_t</span> +<GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-mac-get-key-size" title="gnutls_mac_get_key_size ()">gnutls_mac_get_key_size</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-mac-get-name" title="gnutls_mac_get_name ()">gnutls_mac_get_name</a> <span class="c_punctuation">()</span> @@ -1238,7 +1238,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-gnutls.html#gnutls-ocsp-status-request-enable-client" title="gnutls_ocsp_status_request_enable_client ()">gnutls_ocsp_status_request_enable_client</a> <span class="c_punctuation">()</span> @@ -1246,7 +1246,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-gnutls.html#gnutls-ocsp-status-request-get" title="gnutls_ocsp_status_request_get ()">gnutls_ocsp_status_request_get</a> <span class="c_punctuation">()</span> @@ -1254,7 +1254,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-gnutls.html#gnutls-ocsp-status-request-is-checked" title="gnutls_ocsp_status_request_is_checked ()">gnutls_ocsp_status_request_is_checked</a> <span class="c_punctuation">()</span> @@ -1262,7 +1262,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-gnutls.html#gnutls-openpgp-send-cert" title="gnutls_openpgp_send_cert ()">gnutls_openpgp_send_cert</a> <span class="c_punctuation">()</span> @@ -1270,7 +1270,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-gnutls.html#gnutls-pem-base64-decode" title="gnutls_pem_base64_decode ()">gnutls_pem_base64_decode</a> <span class="c_punctuation">()</span> @@ -1278,7 +1278,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-gnutls.html#gnutls-pem-base64-decode-alloc" title="gnutls_pem_base64_decode_alloc ()">gnutls_pem_base64_decode_alloc</a> <span class="c_punctuation">()</span> @@ -1286,7 +1286,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-gnutls.html#gnutls-pem-base64-encode" title="gnutls_pem_base64_encode ()">gnutls_pem_base64_encode</a> <span class="c_punctuation">()</span> @@ -1294,7 +1294,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-gnutls.html#gnutls-pem-base64-encode-alloc" title="gnutls_pem_base64_encode_alloc ()">gnutls_pem_base64_encode_alloc</a> <span class="c_punctuation">()</span> @@ -1302,7 +1302,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-gnutls.html#gnutls-perror" title="gnutls_perror ()">gnutls_perror</a> <span class="c_punctuation">()</span> @@ -1310,14 +1310,14 @@ </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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()">*gnutls_pin_callback_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-get-name" title="gnutls_pk_algorithm_get_name ()">gnutls_pk_algorithm_get_name</a> <span class="c_punctuation">()</span> @@ -1340,7 +1340,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-pk-get-name" title="gnutls_pk_get_name ()">gnutls_pk_get_name</a> <span class="c_punctuation">()</span> @@ -1363,7 +1363,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-gnutls.html#gnutls-prf" title="gnutls_prf ()">gnutls_prf</a> <span class="c_punctuation">()</span> @@ -1371,7 +1371,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-gnutls.html#gnutls-prf-raw" title="gnutls_prf_raw ()">gnutls_prf_raw</a> <span class="c_punctuation">()</span> @@ -1379,7 +1379,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-gnutls.html#gnutls-priority-certificate-type-list" title="gnutls_priority_certificate_type_list ()">gnutls_priority_certificate_type_list</a> <span class="c_punctuation">()</span> @@ -1387,7 +1387,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-gnutls.html#gnutls-priority-compression-list" title="gnutls_priority_compression_list ()">gnutls_priority_compression_list</a> <span class="c_punctuation">()</span> @@ -1395,7 +1395,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-gnutls.html#gnutls-priority-deinit" title="gnutls_priority_deinit ()">gnutls_priority_deinit</a> <span class="c_punctuation">()</span> @@ -1403,7 +1403,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-gnutls.html#gnutls-priority-ecc-curve-list" title="gnutls_priority_ecc_curve_list ()">gnutls_priority_ecc_curve_list</a> <span class="c_punctuation">()</span> @@ -1411,7 +1411,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-gnutls.html#gnutls-priority-get-cipher-suite-index" title="gnutls_priority_get_cipher_suite_index ()">gnutls_priority_get_cipher_suite_index</a> <span class="c_punctuation">()</span> @@ -1419,7 +1419,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-gnutls.html#gnutls-priority-init" title="gnutls_priority_init ()">gnutls_priority_init</a> <span class="c_punctuation">()</span> @@ -1427,7 +1427,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-gnutls.html#gnutls-priority-protocol-list" title="gnutls_priority_protocol_list ()">gnutls_priority_protocol_list</a> <span class="c_punctuation">()</span> @@ -1435,7 +1435,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-gnutls.html#gnutls-priority-set" title="gnutls_priority_set ()">gnutls_priority_set</a> <span class="c_punctuation">()</span> @@ -1443,7 +1443,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-gnutls.html#gnutls-priority-set-direct" title="gnutls_priority_set_direct ()">gnutls_priority_set_direct</a> <span class="c_punctuation">()</span> @@ -1451,7 +1451,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-gnutls.html#gnutls-priority-sign-list" title="gnutls_priority_sign_list ()">gnutls_priority_sign_list</a> <span class="c_punctuation">()</span> @@ -1466,7 +1466,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-protocol-get-name" title="gnutls_protocol_get_name ()">gnutls_protocol_get_name</a> <span class="c_punctuation">()</span> @@ -1489,7 +1489,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-gnutls.html#gnutls-psk-allocate-client-credentials" title="gnutls_psk_allocate_client_credentials ()">gnutls_psk_allocate_client_credentials</a> <span class="c_punctuation">()</span> @@ -1497,14 +1497,14 @@ </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-gnutls.html#gnutls-psk-allocate-server-credentials" title="gnutls_psk_allocate_server_credentials ()">gnutls_psk_allocate_server_credentials</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-psk-client-get-hint" title="gnutls_psk_client_get_hint ()">gnutls_psk_client_get_hint</a> <span class="c_punctuation">()</span> @@ -1512,7 +1512,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-gnutls.html#gnutls-psk-free-client-credentials" title="gnutls_psk_free_client_credentials ()">gnutls_psk_free_client_credentials</a> <span class="c_punctuation">()</span> @@ -1520,14 +1520,14 @@ </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-gnutls.html#gnutls-psk-free-server-credentials" title="gnutls_psk_free_server_credentials ()">gnutls_psk_free_server_credentials</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-psk-server-get-username" title="gnutls_psk_server_get_username ()">gnutls_psk_server_get_username</a> <span class="c_punctuation">()</span> @@ -1535,7 +1535,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-gnutls.html#gnutls-psk-set-client-credentials" title="gnutls_psk_set_client_credentials ()">gnutls_psk_set_client_credentials</a> <span class="c_punctuation">()</span> @@ -1543,7 +1543,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-gnutls.html#gnutls-psk-set-client-credentials-function" title="gnutls_psk_set_client_credentials_function ()">gnutls_psk_set_client_credentials_function</a> <span class="c_punctuation">()</span> @@ -1551,7 +1551,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-gnutls.html#gnutls-psk-set-params-function" title="gnutls_psk_set_params_function ()">gnutls_psk_set_params_function</a> <span class="c_punctuation">()</span> @@ -1559,7 +1559,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-gnutls.html#gnutls-psk-set-server-credentials-file" title="gnutls_psk_set_server_credentials_file ()">gnutls_psk_set_server_credentials_file</a> <span class="c_punctuation">()</span> @@ -1567,7 +1567,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-gnutls.html#gnutls-psk-set-server-credentials-function" title="gnutls_psk_set_server_credentials_function ()">gnutls_psk_set_server_credentials_function</a> <span class="c_punctuation">()</span> @@ -1575,7 +1575,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-gnutls.html#gnutls-psk-set-server-credentials-hint" title="gnutls_psk_set_server_credentials_hint ()">gnutls_psk_set_server_credentials_hint</a> <span class="c_punctuation">()</span> @@ -1583,7 +1583,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-gnutls.html#gnutls-psk-set-server-dh-params" title="gnutls_psk_set_server_dh_params ()">gnutls_psk_set_server_dh_params</a> <span class="c_punctuation">()</span> @@ -1591,7 +1591,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-gnutls.html#gnutls-psk-set-server-params-function" title="gnutls_psk_set_server_params_function ()">gnutls_psk_set_server_params_function</a> <span class="c_punctuation">()</span> @@ -1599,7 +1599,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-pull-func" title="gnutls_pull_func ()">*gnutls_pull_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1607,7 +1607,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-pull-timeout-func" title="gnutls_pull_timeout_func ()">*gnutls_pull_timeout_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1615,7 +1615,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-push-func" title="gnutls_push_func ()">*gnutls_push_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1623,7 +1623,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-gnutls.html#gnutls-random-art" title="gnutls_random_art ()">gnutls_random_art</a> <span class="c_punctuation">()</span> @@ -1631,7 +1631,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-realloc-function" title="gnutls_realloc_function ()">*gnutls_realloc_function</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -1639,7 +1639,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">size_t</span> +<GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-record-check-pending" title="gnutls_record_check_pending ()">gnutls_record_check_pending</a> <span class="c_punctuation">()</span> @@ -1647,7 +1647,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-gnutls.html#gnutls-record-disable-padding" title="gnutls_record_disable_padding ()">gnutls_record_disable_padding</a> <span class="c_punctuation">()</span> @@ -1655,7 +1655,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-gnutls.html#gnutls-record-get-direction" title="gnutls_record_get_direction ()">gnutls_record_get_direction</a> <span class="c_punctuation">()</span> @@ -1663,7 +1663,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">size_t</span> +<GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-record-get-max-size" title="gnutls_record_get_max_size ()">gnutls_record_get_max_size</a> <span class="c_punctuation">()</span> @@ -1671,7 +1671,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-record-recv" title="gnutls_record_recv ()">gnutls_record_recv</a> <span class="c_punctuation">()</span> @@ -1679,7 +1679,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-record-recv-seq" title="gnutls_record_recv_seq ()">gnutls_record_recv_seq</a> <span class="c_punctuation">()</span> @@ -1687,7 +1687,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-record-send" title="gnutls_record_send ()">gnutls_record_send</a> <span class="c_punctuation">()</span> @@ -1695,7 +1695,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-record-set-max-size" title="gnutls_record_set_max_size ()">gnutls_record_set_max_size</a> <span class="c_punctuation">()</span> @@ -1703,7 +1703,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-gnutls.html#gnutls-rehandshake" title="gnutls_rehandshake ()">gnutls_rehandshake</a> <span class="c_punctuation">()</span> @@ -1711,14 +1711,14 @@ </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-gnutls.html#gnutls-safe-renegotiation-status" title="gnutls_safe_renegotiation_status ()">gnutls_safe_renegotiation_status</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-sec-param-get-name" title="gnutls_sec_param_get_name ()">gnutls_sec_param_get_name</a> <span class="c_punctuation">()</span> @@ -1726,7 +1726,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">return</span> +<GTKDOCLINK HREF="return"><span class="returnvalue">return</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-sec-param-to-pk-bits" title="gnutls_sec_param_to_pk_bits ()">gnutls_sec_param_to_pk_bits</a> <span class="c_punctuation">()</span> @@ -1734,7 +1734,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-gnutls.html#gnutls-server-name-get" title="gnutls_server_name_get ()">gnutls_server_name_get</a> <span class="c_punctuation">()</span> @@ -1742,7 +1742,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-gnutls.html#gnutls-server-name-set" title="gnutls_server_name_set ()">gnutls_server_name_set</a> <span class="c_punctuation">()</span> @@ -1750,7 +1750,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-gnutls.html#gnutls-session-channel-binding" title="gnutls_session_channel_binding ()">gnutls_session_channel_binding</a> <span class="c_punctuation">()</span> @@ -1758,7 +1758,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-gnutls.html#gnutls-session-enable-compatibility-mode" title="gnutls_session_enable_compatibility_mode ()">gnutls_session_enable_compatibility_mode</a> <span class="c_punctuation">()</span> @@ -1766,7 +1766,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-gnutls.html#gnutls-session-get-data" title="gnutls_session_get_data ()">gnutls_session_get_data</a> <span class="c_punctuation">()</span> @@ -1774,7 +1774,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-gnutls.html#gnutls-session-get-data2" title="gnutls_session_get_data2 ()">gnutls_session_get_data2</a> <span class="c_punctuation">()</span> @@ -1782,7 +1782,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-gnutls.html#gnutls-session-get-id" title="gnutls_session_get_id ()">gnutls_session_get_id</a> <span class="c_punctuation">()</span> @@ -1790,7 +1790,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-gnutls.html#gnutls-session-get-id2" title="gnutls_session_get_id2 ()">gnutls_session_get_id2</a> <span class="c_punctuation">()</span> @@ -1798,7 +1798,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-gnutls.html#gnutls-session-get-ptr" title="gnutls_session_get_ptr ()">gnutls_session_get_ptr</a> <span class="c_punctuation">()</span> @@ -1806,7 +1806,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-gnutls.html#gnutls-session-get-random" title="gnutls_session_get_random ()">gnutls_session_get_random</a> <span class="c_punctuation">()</span> @@ -1814,7 +1814,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-gnutls.html#gnutls-session-is-resumed" title="gnutls_session_is_resumed ()">gnutls_session_is_resumed</a> <span class="c_punctuation">()</span> @@ -1822,7 +1822,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-gnutls.html#gnutls-session-resumption-requested" title="gnutls_session_resumption_requested ()">gnutls_session_resumption_requested</a> <span class="c_punctuation">()</span> @@ -1830,7 +1830,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-gnutls.html#gnutls-session-set-data" title="gnutls_session_set_data ()">gnutls_session_set_data</a> <span class="c_punctuation">()</span> @@ -1838,7 +1838,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-gnutls.html#gnutls-session-set-premaster" title="gnutls_session_set_premaster ()">gnutls_session_set_premaster</a> <span class="c_punctuation">()</span> @@ -1846,7 +1846,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-gnutls.html#gnutls-session-set-ptr" title="gnutls_session_set_ptr ()">gnutls_session_set_ptr</a> <span class="c_punctuation">()</span> @@ -1854,7 +1854,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-gnutls.html#gnutls-session-ticket-enable-client" title="gnutls_session_ticket_enable_client ()">gnutls_session_ticket_enable_client</a> <span class="c_punctuation">()</span> @@ -1862,7 +1862,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-gnutls.html#gnutls-session-ticket-enable-server" title="gnutls_session_ticket_enable_server ()">gnutls_session_ticket_enable_server</a> <span class="c_punctuation">()</span> @@ -1870,7 +1870,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-gnutls.html#gnutls-session-ticket-key-generate" title="gnutls_session_ticket_key_generate ()">gnutls_session_ticket_key_generate</a> <span class="c_punctuation">()</span> @@ -1878,7 +1878,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-gnutls.html#gnutls-set-default-priority" title="gnutls_set_default_priority ()">gnutls_set_default_priority</a> <span class="c_punctuation">()</span> @@ -1886,7 +1886,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-gnutls.html#gnutls-sign-algorithm-get" title="gnutls_sign_algorithm_get ()">gnutls_sign_algorithm_get</a> <span class="c_punctuation">()</span> @@ -1894,7 +1894,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-gnutls.html#gnutls-sign-algorithm-get-requested" title="gnutls_sign_algorithm_get_requested ()">gnutls_sign_algorithm_get_requested</a> <span class="c_punctuation">()</span> @@ -1917,7 +1917,7 @@ </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-sign-get-name" title="gnutls_sign_get_name ()">gnutls_sign_get_name</a> <span class="c_punctuation">()</span> @@ -1933,7 +1933,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-gnutls.html#gnutls-sign-is-secure" title="gnutls_sign_is_secure ()">gnutls_sign_is_secure</a> <span class="c_punctuation">()</span> @@ -1948,7 +1948,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-gnutls.html#gnutls-srp-allocate-client-credentials" title="gnutls_srp_allocate_client_credentials ()">gnutls_srp_allocate_client_credentials</a> <span class="c_punctuation">()</span> @@ -1956,7 +1956,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-gnutls.html#gnutls-srp-allocate-server-credentials" title="gnutls_srp_allocate_server_credentials ()">gnutls_srp_allocate_server_credentials</a> <span class="c_punctuation">()</span> @@ -1964,7 +1964,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-gnutls.html#gnutls-srp-base64-decode" title="gnutls_srp_base64_decode ()">gnutls_srp_base64_decode</a> <span class="c_punctuation">()</span> @@ -1972,7 +1972,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-gnutls.html#gnutls-srp-base64-decode-alloc" title="gnutls_srp_base64_decode_alloc ()">gnutls_srp_base64_decode_alloc</a> <span class="c_punctuation">()</span> @@ -1980,7 +1980,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-gnutls.html#gnutls-srp-base64-encode" title="gnutls_srp_base64_encode ()">gnutls_srp_base64_encode</a> <span class="c_punctuation">()</span> @@ -1988,7 +1988,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-gnutls.html#gnutls-srp-base64-encode-alloc" title="gnutls_srp_base64_encode_alloc ()">gnutls_srp_base64_encode_alloc</a> <span class="c_punctuation">()</span> @@ -1996,7 +1996,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-gnutls.html#gnutls-srp-free-client-credentials" title="gnutls_srp_free_client_credentials ()">gnutls_srp_free_client_credentials</a> <span class="c_punctuation">()</span> @@ -2004,14 +2004,14 @@ </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-gnutls.html#gnutls-srp-free-server-credentials" title="gnutls_srp_free_server_credentials ()">gnutls_srp_free_server_credentials</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-srp-server-get-username" title="gnutls_srp_server_get_username ()">gnutls_srp_server_get_username</a> <span class="c_punctuation">()</span> @@ -2019,7 +2019,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-gnutls.html#gnutls-srp-set-client-credentials" title="gnutls_srp_set_client_credentials ()">gnutls_srp_set_client_credentials</a> <span class="c_punctuation">()</span> @@ -2027,7 +2027,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-gnutls.html#gnutls-srp-set-client-credentials-function" title="gnutls_srp_set_client_credentials_function ()">gnutls_srp_set_client_credentials_function</a> <span class="c_punctuation">()</span> @@ -2035,7 +2035,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-gnutls.html#gnutls-srp-set-prime-bits" title="gnutls_srp_set_prime_bits ()">gnutls_srp_set_prime_bits</a> <span class="c_punctuation">()</span> @@ -2043,7 +2043,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-gnutls.html#gnutls-srp-set-server-credentials-file" title="gnutls_srp_set_server_credentials_file ()">gnutls_srp_set_server_credentials_file</a> <span class="c_punctuation">()</span> @@ -2051,7 +2051,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-gnutls.html#gnutls-srp-set-server-credentials-function" title="gnutls_srp_set_server_credentials_function ()">gnutls_srp_set_server_credentials_function</a> <span class="c_punctuation">()</span> @@ -2059,7 +2059,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-gnutls.html#gnutls-srp-verifier" title="gnutls_srp_verifier ()">gnutls_srp_verifier</a> <span class="c_punctuation">()</span> @@ -2067,7 +2067,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-gnutls.html#gnutls-srtp-get-keys" title="gnutls_srtp_get_keys ()">gnutls_srtp_get_keys</a> <span class="c_punctuation">()</span> @@ -2075,7 +2075,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-gnutls.html#gnutls-srtp-get-mki" title="gnutls_srtp_get_mki ()">gnutls_srtp_get_mki</a> <span class="c_punctuation">()</span> @@ -2083,14 +2083,14 @@ </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-gnutls.html#gnutls-srtp-get-profile-id" title="gnutls_srtp_get_profile_id ()">gnutls_srtp_get_profile_id</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-srtp-get-profile-name" title="gnutls_srtp_get_profile_name ()">gnutls_srtp_get_profile_name</a> <span class="c_punctuation">()</span> @@ -2098,7 +2098,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-gnutls.html#gnutls-srtp-get-selected-profile" title="gnutls_srtp_get_selected_profile ()">gnutls_srtp_get_selected_profile</a> <span class="c_punctuation">()</span> @@ -2106,7 +2106,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-gnutls.html#gnutls-srtp-set-mki" title="gnutls_srtp_set_mki ()">gnutls_srtp_set_mki</a> <span class="c_punctuation">()</span> @@ -2114,7 +2114,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-gnutls.html#gnutls-srtp-set-profile" title="gnutls_srtp_set_profile ()">gnutls_srtp_set_profile</a> <span class="c_punctuation">()</span> @@ -2122,7 +2122,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-gnutls.html#gnutls-srtp-set-profile-direct" title="gnutls_srtp_set_profile_direct ()">gnutls_srtp_set_profile_direct</a> <span class="c_punctuation">()</span> @@ -2130,7 +2130,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-gnutls.html#gnutls-store-commitment" title="gnutls_store_commitment ()">gnutls_store_commitment</a> <span class="c_punctuation">()</span> @@ -2138,7 +2138,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-gnutls.html#gnutls-store-pubkey" title="gnutls_store_pubkey ()">gnutls_store_pubkey</a> <span class="c_punctuation">()</span> @@ -2146,21 +2146,21 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">char</span> * +<GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-strdup" title="gnutls_strdup ()">*gnutls_strdup</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-strerror" title="gnutls_strerror ()">gnutls_strerror</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-gnutls.html#gnutls-strerror-name" title="gnutls_strerror_name ()">gnutls_strerror_name</a> <span class="c_punctuation">()</span> @@ -2168,7 +2168,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-gnutls.html#gnutls-tdb-deinit" title="gnutls_tdb_deinit ()">gnutls_tdb_deinit</a> <span class="c_punctuation">()</span> @@ -2176,7 +2176,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-gnutls.html#gnutls-tdb-init" title="gnutls_tdb_init ()">gnutls_tdb_init</a> <span class="c_punctuation">()</span> @@ -2184,7 +2184,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-gnutls.html#gnutls-tdb-set-store-commitment-func" title="gnutls_tdb_set_store_commitment_func ()">gnutls_tdb_set_store_commitment_func</a> <span class="c_punctuation">()</span> @@ -2192,7 +2192,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-gnutls.html#gnutls-tdb-set-store-func" title="gnutls_tdb_set_store_func ()">gnutls_tdb_set_store_func</a> <span class="c_punctuation">()</span> @@ -2200,7 +2200,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-gnutls.html#gnutls-tdb-set-verify-func" title="gnutls_tdb_set_verify_func ()">gnutls_tdb_set_verify_func</a> <span class="c_punctuation">()</span> @@ -2208,7 +2208,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-tdb-store-commitment-func" title="gnutls_tdb_store_commitment_func ()">*gnutls_tdb_store_commitment_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2216,7 +2216,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-tdb-store-func" title="gnutls_tdb_store_func ()">*gnutls_tdb_store_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2224,7 +2224,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-tdb-verify-func" title="gnutls_tdb_verify_func ()">*gnutls_tdb_verify_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2232,7 +2232,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-time-func" title="gnutls_time_func ()">*gnutls_time_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2248,7 +2248,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-gnutls.html#gnutls-transport-get-ptr2" title="gnutls_transport_get_ptr2 ()">gnutls_transport_get_ptr2</a> <span class="c_punctuation">()</span> @@ -2256,7 +2256,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-gnutls.html#gnutls-transport-set-errno" title="gnutls_transport_set_errno ()">gnutls_transport_set_errno</a> <span class="c_punctuation">()</span> @@ -2264,7 +2264,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-gnutls.html#gnutls-transport-set-errno-function" title="gnutls_transport_set_errno_function ()">gnutls_transport_set_errno_function</a> <span class="c_punctuation">()</span> @@ -2272,7 +2272,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-gnutls.html#gnutls-transport-set-ptr" title="gnutls_transport_set_ptr ()">gnutls_transport_set_ptr</a> <span class="c_punctuation">()</span> @@ -2280,7 +2280,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-gnutls.html#gnutls-transport-set-ptr2" title="gnutls_transport_set_ptr2 ()">gnutls_transport_set_ptr2</a> <span class="c_punctuation">()</span> @@ -2288,7 +2288,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-gnutls.html#gnutls-transport-set-pull-function" title="gnutls_transport_set_pull_function ()">gnutls_transport_set_pull_function</a> <span class="c_punctuation">()</span> @@ -2296,7 +2296,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-gnutls.html#gnutls-transport-set-pull-timeout-function" title="gnutls_transport_set_pull_timeout_function ()">gnutls_transport_set_pull_timeout_function</a> <span class="c_punctuation">()</span> @@ -2304,7 +2304,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-gnutls.html#gnutls-transport-set-push-function" title="gnutls_transport_set_push_function ()">gnutls_transport_set_push_function</a> <span class="c_punctuation">()</span> @@ -2312,7 +2312,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-gnutls.html#gnutls-transport-set-vec-push-function" title="gnutls_transport_set_vec_push_function ()">gnutls_transport_set_vec_push_function</a> <span class="c_punctuation">()</span> @@ -2320,7 +2320,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-gnutls.html#gnutls-url-is-supported" title="gnutls_url_is_supported ()">gnutls_url_is_supported</a> <span class="c_punctuation">()</span> @@ -2328,7 +2328,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">ssize_t</span> +<GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> </td> <td class="function_name"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#gnutls-vec-push-func" title="gnutls_vec_push_func ()">*gnutls_vec_push_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2336,7 +2336,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-gnutls.html#gnutls-verify-stored-pubkey" title="gnutls_verify_stored_pubkey ()">gnutls_verify_stored_pubkey</a> <span class="c_punctuation">()</span> @@ -2344,7 +2344,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#mutex-deinit-func" title="mutex_deinit_func ()">*mutex_deinit_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2352,7 +2352,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#mutex-init-func" title="mutex_init_func ()">*mutex_init_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2360,7 +2360,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#mutex-lock-func" title="mutex_lock_func ()">*mutex_lock_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -2368,7 +2368,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-gnutls.html#mutex-unlock-func" title="mutex_unlock_func ()">*mutex_unlock_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -3558,10 +3558,10 @@ If no alert has been received the returned value is undefined.</p> <hr> <div class="refsect2"> <a name="gnutls-alert-get-name"></a><h3>gnutls_alert_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_alert_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-alert-description-t" title="enum gnutls_alert_description_t"><span class="type">gnutls_alert_description_t</span></a> alert</code></em>);</pre> <p>This function will return a string that describes the given alert -number, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. See <a class="link" href="gnutls-gnutls.html#gnutls-alert-get" title="gnutls_alert_get ()"><code class="function">gnutls_alert_get()</code></a>.</p> +number, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>. See <a class="link" href="gnutls-gnutls.html#gnutls-alert-get" title="gnutls_alert_get ()"><code class="function">gnutls_alert_get()</code></a>.</p> <div class="refsect3"> <a name="id-1.2.4.7.11.5"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -3586,7 +3586,7 @@ number, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL: <hr> <div class="refsect2"> <a name="gnutls-alert-get-strname"></a><h3>gnutls_alert_get_strname ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_alert_get_strname (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-alert-description-t" title="enum gnutls_alert_description_t"><span class="type">gnutls_alert_description_t</span></a> alert</code></em>);</pre> <p>This function will return a string of the name of the alert.</p> <div class="refsect3"> @@ -3614,7 +3614,7 @@ gnutls_alert_get_strname (<em class="parameter"><code><a class="link" href="gnut <hr> <div class="refsect2"> <a name="gnutls-alert-send"></a><h3>gnutls_alert_send ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_alert_send (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-alert-level-t" title="enum gnutls_alert_level_t"><span class="type">gnutls_alert_level_t</span></a> level</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-alert-description-t" title="enum gnutls_alert_description_t"><span class="type">gnutls_alert_description_t</span></a> desc</code></em>);</pre> @@ -3662,9 +3662,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-alert-send-appropriate"></a><h3>gnutls_alert_send_appropriate ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_alert_send_appropriate (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">int</span> err</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> err</code></em>);</pre> <p>Sends an alert to the peer depending on the error code returned by a gnutls function. This function will call <a class="link" href="gnutls-gnutls.html#gnutls-error-to-alert" title="gnutls_error_to_alert ()"><code class="function">gnutls_error_to_alert()</code></a> to determine the appropriate alert to send.</p> @@ -3704,8 +3704,8 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-alloc-function"></a><h3>gnutls_alloc_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> * -<span class="c_punctuation">(</span>*gnutls_alloc_function<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">size_t</span> Param1</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> * +<span class="c_punctuation">(</span>*gnutls_alloc_function<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> Param1</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -3716,9 +3716,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-anon-allocate-client-credentials"></a><h3>gnutls_anon_allocate_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_anon_allocate_client_credentials - (<em class="parameter"><code><span class="type">gnutls_anon_client_credentials_t</span> *sc</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-client-credentials-t"><span class="type">gnutls_anon_client_credentials_t</span></GTKDOCLINK> *sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -3731,7 +3731,7 @@ this helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_anon_client_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-anon-client-credentials-t"><span class="type">gnutls_anon_client_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -3745,9 +3745,9 @@ this helper function is provided in order to allocate it.</p> <hr> <div class="refsect2"> <a name="gnutls-anon-allocate-server-credentials"></a><h3>gnutls_anon_allocate_server_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_anon_allocate_server_credentials - (<em class="parameter"><code><span class="type">gnutls_anon_server_credentials_t</span> *sc</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> *sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -3760,7 +3760,7 @@ helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_anon_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -3774,8 +3774,8 @@ helper function is provided in order to allocate it.</p> <hr> <div class="refsect2"> <a name="gnutls-anon-free-client-credentials"></a><h3>gnutls_anon_free_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_anon_free_client_credentials (<em class="parameter"><code><span class="type">gnutls_anon_client_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_anon_free_client_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-client-credentials-t"><span class="type">gnutls_anon_client_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <div class="refsect3"> @@ -3788,7 +3788,7 @@ helper function is provided in order to free (deallocate) it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_anon_client_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-anon-client-credentials-t"><span class="type">gnutls_anon_client_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -3797,8 +3797,8 @@ helper function is provided in order to free (deallocate) it.</p> <hr> <div class="refsect2"> <a name="gnutls-anon-free-server-credentials"></a><h3>gnutls_anon_free_server_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_anon_free_server_credentials (<em class="parameter"><code><span class="type">gnutls_anon_server_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_anon_free_server_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <div class="refsect3"> @@ -3811,7 +3811,7 @@ helper function is provided in order to free (deallocate) it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_anon_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -3820,9 +3820,9 @@ helper function is provided in order to free (deallocate) it.</p> <hr> <div class="refsect2"> <a name="gnutls-anon-set-params-function"></a><h3>gnutls_anon_set_params_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_anon_set_params_function (<em class="parameter"><code><span class="type">gnutls_anon_server_credentials_t</span> res</code></em>, - <em class="parameter"><code><span class="type">gnutls_params_function</span> *func</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_anon_set_params_function (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-params-function"><span class="type">gnutls_params_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function will set a callback in order for the server to get the Diffie-Hellman or RSA parameters for anonymous authentication. The callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" title="GNUTLS_E_SUCCESS"><code class="literal">GNUTLS_E_SUCCESS</code></a> (0) on success.</p> @@ -3852,8 +3852,8 @@ The callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUC <hr> <div class="refsect2"> <a name="gnutls-anon-set-server-dh-params"></a><h3>gnutls_anon_set_server_dh_params ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_anon_set_server_dh_params (<em class="parameter"><code><span class="type">gnutls_anon_server_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_anon_set_server_dh_params (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> res</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> dh_params</code></em>);</pre> <p>This function will set the Diffie-Hellman parameters for an anonymous server to use. These parameters will be used in @@ -3884,10 +3884,10 @@ Anonymous Diffie-Hellman cipher suites.</p> <hr> <div class="refsect2"> <a name="gnutls-anon-set-server-params-function"></a><h3>gnutls_anon_set_server_params_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_anon_set_server_params_function - (<em class="parameter"><code><span class="type">gnutls_anon_server_credentials_t</span> res</code></em>, - <em class="parameter"><code><span class="type">gnutls_params_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-params-function"><span class="type">gnutls_params_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function will set a callback in order for the server to get the Diffie-Hellman parameters for anonymous authentication. The callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" title="GNUTLS_E_SUCCESS"><code class="literal">GNUTLS_E_SUCCESS</code></a> (0) on success.</p> @@ -3917,16 +3917,16 @@ callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS <hr> <div class="refsect2"> <a name="gnutls-audit-log-func"></a><h3>gnutls_audit_log_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_audit_log_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> Param1</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *Param2</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *Param2</code></em>);</pre> <p> </p> </div> <hr> <div class="refsect2"> <a name="gnutls-bye"></a><h3>gnutls_bye ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_bye (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-close-request-t" title="enum gnutls_close_request_t"><span class="type">gnutls_close_request_t</span></a> how</code></em>);</pre> <p>Terminates the current TLS/SSL connection. The connection should @@ -3981,9 +3981,9 @@ function documentation for entire semantics.</p> <hr> <div class="refsect2"> <a name="gnutls-calloc-function"></a><h3>gnutls_calloc_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> * -<span class="c_punctuation">(</span>*gnutls_calloc_function<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">size_t</span> Param1</code></em>, - <em class="parameter"><code><span class="type">size_t</span> Param2</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> * +<span class="c_punctuation">(</span>*gnutls_calloc_function<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> Param1</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> Param2</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -3994,7 +3994,7 @@ function documentation for entire semantics.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-activation-time-peers"></a><h3>gnutls_certificate_activation_time_peers ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_certificate_activation_time_peers (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <div class="warning"> @@ -4027,9 +4027,9 @@ This is the creation time for openpgp keys.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-allocate-credentials"></a><h3>gnutls_certificate_allocate_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_allocate_credentials - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> *res</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> *res</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -4042,7 +4042,7 @@ helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -4056,7 +4056,7 @@ helper function is provided in order to allocate it.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-client-get-request-status"></a><h3>gnutls_certificate_client_get_request_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_client_get_request_status (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Get whether client certificate is requested or not.</p> @@ -4085,7 +4085,7 @@ authentication or 1 otherwise.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-expiration-time-peers"></a><h3>gnutls_certificate_expiration_time_peers ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_certificate_expiration_time_peers (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <div class="warning"> @@ -4117,8 +4117,8 @@ gnutls_certificate_expiration_time_peers <hr> <div class="refsect2"> <a name="gnutls-certificate-free-ca-names"></a><h3>gnutls_certificate_free_ca_names ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_free_ca_names (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_free_ca_names (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This function will delete all the CA name in the given credentials. Clients may call this to save some memory since in client side the CA names are not used. Servers might want to use @@ -4137,7 +4137,7 @@ clients.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -4146,8 +4146,8 @@ clients.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-free-cas"></a><h3>gnutls_certificate_free_cas ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_free_cas (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_free_cas (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This function will delete all the CAs associated with the given credentials. Servers that do not use <a class="link" href="gnutls-gnutls.html#gnutls-certificate-verify-peers2" title="gnutls_certificate_verify_peers2 ()"><code class="function">gnutls_certificate_verify_peers2()</code></a> may call this to save some @@ -4162,7 +4162,7 @@ memory.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -4171,8 +4171,8 @@ memory.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-free-credentials"></a><h3>gnutls_certificate_free_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_free_credentials (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_free_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <p>This function does not free any temporary parameters associated @@ -4188,7 +4188,7 @@ function).</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -4197,8 +4197,8 @@ function).</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-free-crls"></a><h3>gnutls_certificate_free_crls ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_free_crls (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_free_crls (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This function will delete all the CRLs associated with the given credentials.</p> <div class="refsect3"> @@ -4211,7 +4211,7 @@ with the given credentials.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -4220,8 +4220,8 @@ with the given credentials.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-free-keys"></a><h3>gnutls_certificate_free_keys ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_free_keys (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_free_keys (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This function will delete all the keys and the certificates associated with the given credentials. This function must not be called when a TLS negotiation that uses the credentials is in progress.</p> @@ -4235,7 +4235,7 @@ TLS negotiation that uses the credentials is in progress.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -4244,11 +4244,11 @@ TLS negotiation that uses the credentials is in progress.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-get-issuer"></a><h3>gnutls_certificate_get_issuer ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_get_issuer (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> sc</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_get_issuer (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> sc</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> cert</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> *issuer</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 return the issuer of a given certificate.</p> <div class="refsect3"> <a name="id-1.2.4.7.35.5"></a><h4>Parameters</h4> @@ -4261,7 +4261,7 @@ gnutls_certificate_get_issuer (<em class="parameter"><code><span class="type">gn <tbody> <tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4293,7 +4293,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-get-ours"></a><h3>gnutls_certificate_get_ours ()</h3> -<pre class="programlisting">const <span class="returnvalue">gnutls_datum_t</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="gnutls-datum-t"><span class="returnvalue">gnutls_datum_t</span></GTKDOCLINK> * gnutls_certificate_get_ours (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Gets the certificate as sent to the peer in the last handshake. The certificate is in raw (DER) format. No certificate @@ -4315,8 +4315,8 @@ list is being returned. Only the first certificate.</p> </div> <div class="refsect3"> <a name="id-1.2.4.7.36.6"></a><h4>Returns</h4> -<p> a pointer to a <span class="type">gnutls_datum_t</span> containing our -certificate, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of an error or if no certificate +<p> a pointer to a <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> containing our +certificate, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> in case of an error or if no certificate was used.</p> <p></p> </div> @@ -4324,9 +4324,9 @@ was used.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-get-peers"></a><h3>gnutls_certificate_get_peers ()</h3> -<pre class="programlisting">const <span class="returnvalue">gnutls_datum_t</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="gnutls-datum-t"><span class="returnvalue">gnutls_datum_t</span></GTKDOCLINK> * gnutls_certificate_get_peers (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *list_size</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *list_size</code></em>);</pre> <p>Get the peer's raw certificate (chain) as sent by the peer. These certificates are in raw format (DER encoded for X.509). In case of a X.509 then a certificate list may be present. The first @@ -4350,7 +4350,7 @@ format.</p> </tr> <tr> <td class="parameter_name"><p>list_size</p></td> -<td class="parameter_description"><p>is the length of the certificate list (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>is the length of the certificate list (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -4358,8 +4358,8 @@ format.</p> </div> <div class="refsect3"> <a name="id-1.2.4.7.37.7"></a><h4>Returns</h4> -<p> a pointer to a <span class="type">gnutls_datum_t</span> containing our -certificates, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of an error or if no certificate +<p> a pointer to a <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> containing our +certificates, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> in case of an error or if no certificate was used.</p> <p></p> </div> @@ -4367,10 +4367,10 @@ was used.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-get-peers-subkey-id"></a><h3>gnutls_certificate_get_peers_subkey_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_get_peers_subkey_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *id</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *id</code></em>);</pre> <p>Get the peer's subkey ID when OpenPGP certificates are used. The returned <em class="parameter"><code>id</code></em> should be treated as constant.</p> @@ -4407,10 +4407,10 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-send-x509-rdn-sequence"></a><h3>gnutls_certificate_send_x509_rdn_sequence ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_send_x509_rdn_sequence (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">int</span> status</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> status</code></em>);</pre> <p>If status is non zero, this function will order gnutls not to send the rdnSequence in the certificate request message. That is the server will not advertise its trusted CAs to the peer. If status @@ -4444,7 +4444,7 @@ methods other than certificate with X.509 certificates.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-server-set-request"></a><h3>gnutls_certificate_server_set_request ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_server_set_request (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-request-t" title="enum gnutls_certificate_request_t"><span class="type">gnutls_certificate_request_t</span></a> req</code></em>);</pre> <p>This function specifies if we (in case of a server) are going to @@ -4479,8 +4479,8 @@ function then the client will not be asked to send a certificate.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-dh-params"></a><h3>gnutls_certificate_set_dh_params ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_set_dh_params (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_set_dh_params (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> dh_params</code></em>);</pre> <p>This function will set the Diffie-Hellman parameters for a certificate server to use. These parameters will be used in @@ -4513,11 +4513,11 @@ must not deallocate the parameters before the certificate is deallocated.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-ocsp-status-request-file"></a><h3>gnutls_certificate_set_ocsp_status_request_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_ocsp_status_request_file - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *response_file</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *response_file</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function sets the filename of an OCSP response, that will be sent to the client if requests an OCSP certificate status. This is a convenience function which is inefficient on busy servers since @@ -4557,11 +4557,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-ocsp-status-request-function"></a><h3>gnutls_certificate_set_ocsp_status_request_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_set_ocsp_status_request_function - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code><span class="type">gnutls_status_request_ocsp_func</span> ocsp_func</code></em>, - <em class="parameter"><code><span class="type">void</span> *ptr</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-status-request-ocsp-func"><span class="type">gnutls_status_request_ocsp_func</span></GTKDOCLINK> ocsp_func</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ptr</code></em>);</pre> <p>This function is to be used by server to register a callback to handle OCSP status requests from the client. The callback will be invoked if the client supplied a status-request OCSP extension. @@ -4601,10 +4601,10 @@ deinitialized when needed.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-params-function"></a><h3>gnutls_certificate_set_params_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_set_params_function - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code><span class="type">gnutls_params_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-params-function"><span class="type">gnutls_params_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function will set a callback in order for the server to get the Diffie-Hellman or RSA parameters for certificate authentication. The callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" title="GNUTLS_E_SUCCESS"><code class="literal">GNUTLS_E_SUCCESS</code></a> (0) on success.</p> @@ -4634,20 +4634,20 @@ authentication. The callback should return <a class="link" href="gnutls-gnutls. <hr> <div class="refsect2"> <a name="gnutls-certificate-set-pin-function"></a><h3>gnutls_certificate_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_set_pin_function (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> Param1</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_set_pin_function (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> Param1</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p> </p> </div> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-retrieve-function"></a><h3>gnutls_certificate_set_retrieve_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_set_retrieve_function - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_certificate_retrieve_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-retrieve-function"><span class="type">gnutls_certificate_retrieve_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function sets a callback to be called in order to retrieve the certificate to be used in the handshake. You are advised to use <a class="link" href="gnutls-abstract.html#gnutls-certificate-set-retrieve-function2" title="gnutls_certificate_set_retrieve_function2 ()"><code class="function">gnutls_certificate_set_retrieve_function2()</code></a> because it @@ -4684,7 +4684,7 @@ indicates error and the handshake will be terminated.</p> <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4700,9 +4700,9 @@ indicates error and the handshake will be terminated.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-verify-flags"></a><h3>gnutls_certificate_set_verify_flags ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_set_verify_flags (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_set_verify_flags (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will set the flags to be used for verification of certificates and override any defaults. The provided flags must be an OR of the <a class="link" href="gnutls-x509.html#gnutls-certificate-verify-flags" title="enum gnutls_certificate_verify_flags"><span class="type">gnutls_certificate_verify_flags</span></a> enumerations.</p> @@ -4732,10 +4732,10 @@ of certificates and override any defaults. The provided flags must be an OR of <hr> <div class="refsect2"> <a name="gnutls-certificate-set-verify-function"></a><h3>gnutls_certificate_set_verify_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_certificate_set_verify_function - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_certificate_verify_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-verify-function"><span class="type">gnutls_certificate_verify_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function sets a callback to be called when peer's certificate has been received in order to verify it on receipt rather than doing after the handshake is completed.</p> @@ -4759,7 +4759,7 @@ or non-zero to terminate.</p> <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4775,10 +4775,10 @@ or non-zero to terminate.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-verify-limits"></a><h3>gnutls_certificate_set_verify_limits ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_certificate_set_verify_limits (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> max_bits</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> max_depth</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_certificate_set_verify_limits (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> max_bits</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> max_depth</code></em>);</pre> <p>This function will set some upper limits for the default verification function, <a class="link" href="gnutls-gnutls.html#gnutls-certificate-verify-peers2" title="gnutls_certificate_verify_peers2 ()"><code class="function">gnutls_certificate_verify_peers2()</code></a>, to avoid denial of service attacks. You can set them to zero to disable @@ -4814,10 +4814,10 @@ limits.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-crl"></a><h3>gnutls_certificate_set_x509_crl ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_crl (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_crl (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</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_list</code></em>, - <em class="parameter"><code><span class="type">int</span> crl_list_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> crl_list_size</code></em>);</pre> <p>This function adds the trusted CRLs in order to verify client or server certificates. In case of a client this is not required to be called if the certificates are not verified using @@ -4834,7 +4834,7 @@ multiple times.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4860,9 +4860,9 @@ multiple times.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-crl-file"></a><h3>gnutls_certificate_set_x509_crl_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_crl_file (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *crlfile</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_crl_file (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *crlfile</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> type</code></em>);</pre> <p>This function adds the trusted CRLs in order to verify client or server certificates. In case of a client this is not required @@ -4880,7 +4880,7 @@ This function may be called multiple times.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4905,9 +4905,9 @@ This function may be called multiple times.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-crl-mem"></a><h3>gnutls_certificate_set_x509_crl_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_crl_mem (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *CRL</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_crl_mem (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *CRL</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> type</code></em>);</pre> <p>This function adds the trusted CRLs in order to verify client or server certificates. In case of a client this is not required to @@ -4925,7 +4925,7 @@ multiple times.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4950,10 +4950,10 @@ multiple times.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-key"></a><h3>gnutls_certificate_set_x509_key ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_key (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_key (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</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> *cert_list</code></em>, - <em class="parameter"><code><span class="type">int</span> cert_list_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> cert_list_size</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>);</pre> <p>This function sets a certificate/private key pair in the gnutls_certificate_credentials_t structure. This function may be @@ -4975,7 +4975,7 @@ after this function is called.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5006,10 +5006,10 @@ after this function is called.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-key-file"></a><h3>gnutls_certificate_set_x509_key_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_key_file (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *certfile</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *keyfile</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_key_file (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *certfile</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *keyfile</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> type</code></em>);</pre> <p>This function sets a certificate/private key pair in the gnutls_certificate_credentials_t structure. This function may be @@ -5027,7 +5027,7 @@ certificate/key pairs).</p> will import the private key and certificate indicated by the URLs. Note that the supported URLs are the ones indicated by <a class="link" href="gnutls-gnutls.html#gnutls-url-is-supported" title="gnutls_url_is_supported ()"><code class="function">gnutls_url_is_supported()</code></a>.</p> <p>In case the <em class="parameter"><code>certfile</code></em> - is provided as a PKCS <span class="type">11</span> URL, then the certificate, and its + is provided as a PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> URL, then the certificate, and its present issuers in the token are are imported (i.e., the required trust chain).</p> <div class="refsect3"> <a name="id-1.2.4.7.54.8"></a><h4>Parameters</h4> @@ -5040,7 +5040,7 @@ present issuers in the token are are imported (i.e., the required trust chain).< <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5071,10 +5071,10 @@ the specified private key, in PKCS7 format, or a list of certificates</p></td> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-key-mem"></a><h3>gnutls_certificate_set_x509_key_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_key_mem (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *key</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_key_mem (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</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> type</code></em>);</pre> <p>This function sets a certificate/private key pair in the gnutls_certificate_credentials_t structure. This function may be called @@ -5086,8 +5086,8 @@ be used for ciphersuites that require encryption.</p> <p>If the certificate and the private key are given in PEM encoding then the strings that hold their values must be null terminated.</p> <p>The <em class="parameter"><code>key</code></em> - may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you are using a sign callback, see -<code class="function">gnutls_sign_callback_set()</code>.</p> + may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> if you are using a sign callback, see +<GTKDOCLINK HREF="gnutls-sign-callback-set"><code class="function">gnutls_sign_callback_set()</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.4.7.55.8"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -5099,7 +5099,7 @@ then the strings that hold their values must be null terminated.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5109,7 +5109,7 @@ then the strings that hold their values must be null terminated.</p> </tr> <tr> <td class="parameter_name"><p>key</p></td> -<td class="parameter_description"><p>is the private key, or <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>is the private key, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5129,26 +5129,26 @@ then the strings that hold their values must be null terminated.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-simple-pkcs12-file"></a><h3>gnutls_certificate_set_x509_simple_pkcs12_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_x509_simple_pkcs12_file - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *pkcs12file</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pkcs12file</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> type</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>);</pre> <p>This function sets a certificate/private key pair and/or a CRL in the gnutls_certificate_credentials_t structure. This function may be called more than once (in case multiple keys/certificates exist for the server).</p> -<p>PKCS<span class="type">12</span> files with a MAC, encrypted bags and PKCS #8 +<p>PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> files with a MAC, encrypted bags and PKCS #8 private keys are supported. However, only password based security, and the same password for all operations, are supported.</p> -<p>PKCS<span class="type">12</span> file may contain many keys and/or certificates, and this +<p>PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file may contain many keys and/or certificates, and this function will try to auto-detect based on the key ID the certificate -and key pair to use. If the PKCS<span class="type">12</span> file contain the issuer of +and key pair to use. If the PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file contain the issuer of the selected certificate, it will be appended to the certificate to form a chain.</p> -<p>If more than one private keys are stored in the PKCS<span class="type">12</span> file, +<p>If more than one private keys are stored in the PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file, then only one key will be read (and it is undefined which one).</p> <p>It is believed that the limitations of this function is acceptable for most usage, and that any more flexibility would introduce @@ -5165,12 +5165,12 @@ all.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>pkcs12file</p></td> -<td class="parameter_description"><p>filename of file containing PKCS<span class="type">12</span> blob.</p></td> +<td class="parameter_description"><p>filename of file containing PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> blob.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5181,7 +5181,7 @@ all.</p> </tr> <tr> <td class="parameter_name"><p>password</p></td> -<td class="parameter_description"><p>optional password used to decrypt PKCS<span class="type">12</span> file, bags and keys.</p></td> +<td class="parameter_description"><p>optional password used to decrypt PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file, bags and keys.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -5196,25 +5196,25 @@ all.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-simple-pkcs12-mem"></a><h3>gnutls_certificate_set_x509_simple_pkcs12_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_x509_simple_pkcs12_mem - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *p12blob</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p12blob</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> type</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>);</pre> <p>This function sets a certificate/private key pair and/or a CRL in the gnutls_certificate_credentials_t structure. This function may be called more than once (in case multiple keys/certificates exist for the server).</p> -<p>Encrypted PKCS<span class="type">12</span> bags and PKCS#8 private keys are supported. However, +<p>Encrypted PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> bags and PKCS#8 private keys are supported. However, only password based security, and the same password for all operations, are supported.</p> -<p>PKCS<span class="type">12</span> file may contain many keys and/or certificates, and this +<p>PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file may contain many keys and/or certificates, and this function will try to auto-detect based on the key ID the certificate -and key pair to use. If the PKCS<span class="type">12</span> file contain the issuer of +and key pair to use. If the PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file contain the issuer of the selected certificate, it will be appended to the certificate to form a chain.</p> -<p>If more than one private keys are stored in the PKCS<span class="type">12</span> file, +<p>If more than one private keys are stored in the PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file, then only one key will be read (and it is undefined which one).</p> <p>It is believed that the limitations of this function is acceptable for most usage, and that any more flexibility would introduce @@ -5231,12 +5231,12 @@ all.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>p12blob</p></td> -<td class="parameter_description"><p>the PKCS<span class="type">12</span> blob.</p></td> +<td class="parameter_description"><p>the PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> blob.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5247,7 +5247,7 @@ all.</p> </tr> <tr> <td class="parameter_name"><p>password</p></td> -<td class="parameter_description"><p>optional password used to decrypt PKCS<span class="type">12</span> file, bags and keys.</p></td> +<td class="parameter_description"><p>optional password used to decrypt PKCS<GTKDOCLINK HREF="12:CAPS"><span class="type">12</span></GTKDOCLINK> file, bags and keys.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -5263,9 +5263,9 @@ all.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-system-trust"></a><h3>gnutls_certificate_set_x509_system_trust ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_x509_system_trust - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> cred</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> cred</code></em>);</pre> <p>This function adds the system's default trusted CAs in order to verify client or server certificates.</p> <p>In the case the system is currently unsupported <a class="link" href="gnutls-gnutls.html#GNUTLS-E-UNIMPLEMENTED-FEATURE:CAPS" title="GNUTLS_E_UNIMPLEMENTED_FEATURE"><code class="literal">GNUTLS_E_UNIMPLEMENTED_FEATURE</code></a> @@ -5280,7 +5280,7 @@ is returned.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -5296,10 +5296,10 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-trust"></a><h3>gnutls_certificate_set_x509_trust ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_trust (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_trust (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</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> *ca_list</code></em>, - <em class="parameter"><code><span class="type">int</span> ca_list_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> ca_list_size</code></em>);</pre> <p>This function adds the trusted CAs in order to verify client or server certificates. In case of a client this is not required to be called if the certificates are not verified using @@ -5319,7 +5319,7 @@ a certificate request is sent. This can be disabled using <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5346,10 +5346,10 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-trust-file"></a><h3>gnutls_certificate_set_x509_trust_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_x509_trust_file - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> cred</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *cafile</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *cafile</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> type</code></em>);</pre> <p>This function adds the trusted CAs in order to verify client or server certificates. In case of a client this is not required to @@ -5373,7 +5373,7 @@ that the supported URLs are the ones indicated by <a class="link" href="gnutls-g <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5399,9 +5399,9 @@ error.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-x509-trust-mem"></a><h3>gnutls_certificate_set_x509_trust_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_x509_trust_mem (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *ca</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_x509_trust_mem (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *ca</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> type</code></em>);</pre> <p>This function adds the trusted CAs in order to verify client or server certificates. In case of a client this is not required to be @@ -5422,7 +5422,7 @@ a certificate request is sent. This can be disabled using <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5478,7 +5478,7 @@ type.</p> <div class="refsect2"> <a name="gnutls-certificate-type-get-id"></a><h3>gnutls_certificate_type_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-t" title="enum gnutls_certificate_type_t"><span class="returnvalue">gnutls_certificate_type_t</span></a> -gnutls_certificate_type_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_certificate_type_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>The names are compared in a case insensitive way.</p> <div class="refsect3"> <a name="id-1.2.4.7.63.5"></a><h4>Parameters</h4> @@ -5505,7 +5505,7 @@ string certificate type, or <a class="link" href="gnutls-gnutls.html#GNUTLS-CRT- <hr> <div class="refsect2"> <a name="gnutls-certificate-type-get-name"></a><h3>gnutls_certificate_type_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_certificate_type_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-t" title="enum gnutls_certificate_type_t"><span class="type">gnutls_certificate_type_t</span></a> type</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-t" title="enum gnutls_certificate_type_t"><span class="type">gnutls_certificate_type_t</span></a> type to a string.</p> <div class="refsect3"> @@ -5526,7 +5526,7 @@ gnutls_certificate_type_get_name (<em class="parameter"><code><a class="link" hr <div class="refsect3"> <a name="id-1.2.4.7.64.6"></a><h4>Returns</h4> <p> a string that contains the name of the specified -certificate type, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of unknown types.</p> +certificate type, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> in case of unknown types.</p> <p></p> </div> </div> @@ -5546,12 +5546,12 @@ integers indicating the available certificate types.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-verification-status-print"></a><h3>gnutls_certificate_verification_status_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_verification_status_print - (<em class="parameter"><code>unsigned <span class="type">int</span> status</code></em>, + (<em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> status</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-t" title="enum gnutls_certificate_type_t"><span class="type">gnutls_certificate_type_t</span></a> type</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *out</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *out</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will pretty print the status of a verification process -- eg. the one obtained by <a class="link" href="gnutls-gnutls.html#gnutls-certificate-verify-peers3" title="gnutls_certificate_verify_peers3 ()"><code class="function">gnutls_certificate_verify_peers3()</code></a>.</p> <p>The output <em class="parameter"><code>out</code></em> @@ -5599,9 +5599,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-verify-peers2"></a><h3>gnutls_certificate_verify_peers2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_verify_peers2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *status</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *status</code></em>);</pre> <p>This function will verify the peer's certificate and store the status in the <em class="parameter"><code>status</code></em> variable as a bitwise or'd gnutls_certificate_status_t @@ -5651,10 +5651,10 @@ or use <a class="link" href="gnutls-gnutls.html#gnutls-certificate-verify-peers3 <hr> <div class="refsect2"> <a name="gnutls-certificate-verify-peers3"></a><h3>gnutls_certificate_verify_peers3 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_verify_peers3 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *hostname</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *status</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *hostname</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *status</code></em>);</pre> <p>This function will verify the peer's certificate and store the status in the <em class="parameter"><code>status</code></em> variable as a bitwise or'd gnutls_certificate_status_t @@ -5671,7 +5671,7 @@ the hostname in the certificate against the given. The comparison will be accurate for ascii names; non-ascii names are compared byte-by-byte. If names do not match the <a class="link" href="gnutls-gnutls.html#GNUTLS-CERT-UNEXPECTED-OWNER:CAPS"><code class="literal">GNUTLS_CERT_UNEXPECTED_OWNER</code></a> status flag will be set.</p> <p>In order to verify the purpose of the end-certificate (by checking the extended -key usage), use <code class="function">gnutls_certificate_verify_peers()</code>.</p> +key usage), use <GTKDOCLINK HREF="gnutls-certificate-verify-peers"><code class="function">gnutls_certificate_verify_peers()</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.4.7.68.7"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -5688,7 +5688,7 @@ key usage), use <code class="function">gnutls_certificate_verify_peers()</code>. </tr> <tr> <td class="parameter_name"><p>hostname</p></td> -<td class="parameter_description"><p>is the expected name of the peer; 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>is the expected name of the peer; may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5709,8 +5709,8 @@ key usage), use <code class="function">gnutls_certificate_verify_peers()</code>. <hr> <div class="refsect2"> <a name="gnutls-check-version"></a><h3>gnutls_check_version ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -gnutls_check_version (<em class="parameter"><code>const <span class="type">char</span> *req_version</code></em>);</pre> +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * +gnutls_check_version (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *req_version</code></em>);</pre> <p>Check GnuTLS Library version.</p> <p>See <a class="link" href="gnutls-gnutls.html#GNUTLS-VERSION:CAPS" title="GNUTLS_VERSION"><code class="literal">GNUTLS_VERSION</code></a> for a suitable <em class="parameter"><code>req_version</code></em> string.</p> @@ -5724,7 +5724,7 @@ gnutls_check_version (<em class="parameter"><code>const <span class="type">char< </colgroup> <tbody><tr> <td class="parameter_name"><p>req_version</p></td> -<td class="parameter_description"><p>version string to compare with, or <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>version string to compare with, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -5734,8 +5734,8 @@ gnutls_check_version (<em class="parameter"><code>const <span class="type">char< <p> Check that the version of the library is at minimum the one given as a string in <em class="parameter"><code>req_version</code></em> and return the -actual version string of the library; return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the -condition is not met. If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is passed to this function no +actual version string of the library; return <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> if the +condition is not met. If <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> is passed to this function no check is done and only the version string is returned.</p> <p></p> </div> @@ -5772,7 +5772,7 @@ type.</p> <div class="refsect2"> <a name="gnutls-cipher-get-id"></a><h3>gnutls_cipher_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="returnvalue">gnutls_cipher_algorithm_t</span></a> -gnutls_cipher_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_cipher_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>The names are compared in a case insensitive way.</p> <div class="refsect3"> <a name="id-1.2.4.7.71.5"></a><h4>Parameters</h4> @@ -5799,7 +5799,7 @@ the specified cipher, or <a class="link" href="gnutls-gnutls.html#GNUTLS-CIPHER- <hr> <div class="refsect2"> <a name="gnutls-cipher-get-key-size"></a><h3>gnutls_cipher_get_key_size ()</h3> -<pre class="programlisting"><span class="returnvalue">size_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> gnutls_cipher_get_key_size (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Get key size for cipher.</p> <div class="refsect3"> @@ -5827,7 +5827,7 @@ the given cipher is invalid.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-get-name"></a><h3>gnutls_cipher_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_cipher_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> type to a string.</p> <div class="refsect3"> @@ -5848,7 +5848,7 @@ gnutls_cipher_get_name (<em class="parameter"><code><a class="link" href="gnutls <div class="refsect3"> <a name="id-1.2.4.7.73.6"></a><h4>Returns</h4> <p> a pointer to a string that contains the name of the -specified cipher, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +specified cipher, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -5872,7 +5872,7 @@ integers indicating the available ciphers.</p> <hr> <div class="refsect2"> <a name="gnutls-cipher-suite-get-name"></a><h3>gnutls_cipher_suite_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_cipher_suite_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="type">gnutls_kx_algorithm_t</span></a> kx_algorithm</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> cipher_algorithm</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> mac_algorithm</code></em>);</pre> @@ -5908,16 +5908,16 @@ SSL depending of the protocol in use.</p> <div class="refsect3"> <a name="id-1.2.4.7.75.6"></a><h4>Returns</h4> <p> a string that contains the name of a TLS cipher suite, -specified by the given algorithms, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +specified by the given algorithms, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> <hr> <div class="refsect2"> <a name="gnutls-cipher-suite-info"></a><h3>gnutls_cipher_suite_info ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -gnutls_cipher_suite_info (<em class="parameter"><code><span class="type">size_t</span> idx</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</span> *cs_id</code></em>, +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * +gnutls_cipher_suite_info (<em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *cs_id</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="type">gnutls_kx_algorithm_t</span></a> *kx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> *cipher</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> *mac</code></em>, @@ -5947,22 +5947,22 @@ idx=1 and so on until the function returns NULL.</p> </tr> <tr> <td class="parameter_name"><p>kx</p></td> -<td class="parameter_description"><p>output variable indicating key exchange algorithm, or <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>output variable indicating key exchange algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>cipher</p></td> -<td class="parameter_description"><p>output variable indicating cipher, or <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>output variable indicating cipher, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>mac</p></td> -<td class="parameter_description"><p>output variable indicating MAC algorithm, or <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>output variable indicating MAC algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> <td class="parameter_name"><p>min_version</p></td> -<td class="parameter_description"><p>output variable indicating TLS protocol version, or <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>output variable indicating TLS protocol version, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -5974,7 +5974,7 @@ idx=1 and so on until the function returns NULL.</p> cipher suite, and set the information about the cipher suite in the output variables. If <em class="parameter"><code>idx</code></em> is out of -bounds, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p> +bounds, <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> is returned.</p> <p></p> </div> </div> @@ -6010,7 +6010,7 @@ gnutls_compression_get (<em class="parameter"><code><a class="link" href="gnutls <div class="refsect2"> <a name="gnutls-compression-get-id"></a><h3>gnutls_compression_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-compression-method-t" title="enum gnutls_compression_method_t"><span class="returnvalue">gnutls_compression_method_t</span></a> -gnutls_compression_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_compression_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>The names are compared in a case insensitive way.</p> <div class="refsect3"> <a name="id-1.2.4.7.78.5"></a><h4>Parameters</h4> @@ -6037,7 +6037,7 @@ gnutls_compression_get_id (<em class="parameter"><code>const <span class="type"> <hr> <div class="refsect2"> <a name="gnutls-compression-get-name"></a><h3>gnutls_compression_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_compression_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-compression-method-t" title="enum gnutls_compression_method_t"><span class="type">gnutls_compression_method_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-compression-method-t" title="enum gnutls_compression_method_t"><span class="type">gnutls_compression_method_t</span></a> value to a string.</p> <div class="refsect3"> @@ -6058,7 +6058,7 @@ gnutls_compression_get_name (<em class="parameter"><code><a class="link" href="g <div class="refsect3"> <a name="id-1.2.4.7.79.6"></a><h4>Returns</h4> <p> a pointer to a string that contains the name of the -specified compression algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +specified compression algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -6078,7 +6078,7 @@ integers indicating the available compression methods.</p> <hr> <div class="refsect2"> <a name="gnutls-credentials-clear"></a><h3>gnutls_credentials_clear ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_credentials_clear (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Clears all the credentials previously set in this session.</p> <div class="refsect3"> @@ -6100,10 +6100,10 @@ gnutls_credentials_clear (<em class="parameter"><code><a class="link" href="gnut <hr> <div class="refsect2"> <a name="gnutls-credentials-set"></a><h3>gnutls_credentials_set ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_credentials_set (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-credentials-type-t" title="enum gnutls_credentials_type_t"><span class="type">gnutls_credentials_type_t</span></a> type</code></em>, - <em class="parameter"><code><span class="type">void</span> *cred</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *cred</code></em>);</pre> <p>Sets the needed credentials for the specified type. Eg username, password - or public and private keys etc. The <em class="parameter"><code>cred</code></em> parameter is @@ -6115,15 +6115,15 @@ cred structure. Thus you will have to keep the structure allocated until you call <a class="link" href="gnutls-gnutls.html#gnutls-deinit" title="gnutls_deinit ()"><code class="function">gnutls_deinit()</code></a>.</p> <p>For <a class="link" href="gnutls-gnutls.html#GNUTLS-CRD-ANON:CAPS"><code class="literal">GNUTLS_CRD_ANON</code></a>, <em class="parameter"><code>cred</code></em> should be -<span class="type">gnutls_anon_client_credentials_t</span> in case of a client. In case of -a server it should be <span class="type">gnutls_anon_server_credentials_t</span>.</p> +<GTKDOCLINK HREF="gnutls-anon-client-credentials-t"><span class="type">gnutls_anon_client_credentials_t</span></GTKDOCLINK> in case of a client. In case of +a server it should be <GTKDOCLINK HREF="gnutls-anon-server-credentials-t"><span class="type">gnutls_anon_server_credentials_t</span></GTKDOCLINK>.</p> <p>For <a class="link" href="gnutls-gnutls.html#GNUTLS-CRD-SRP:CAPS"><code class="literal">GNUTLS_CRD_SRP</code></a>, <em class="parameter"><code>cred</code></em> - should be <span class="type">gnutls_srp_client_credentials_t</span> -in case of a client, and <span class="type">gnutls_srp_server_credentials_t</span>, in case + should be <GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> +in case of a client, and <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK>, in case of a server.</p> <p>For <a class="link" href="gnutls-gnutls.html#GNUTLS-CRD-CERTIFICATE:CAPS"><code class="literal">GNUTLS_CRD_CERTIFICATE</code></a>, <em class="parameter"><code>cred</code></em> should be -<span class="type">gnutls_certificate_credentials_t</span>.</p> +<GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.4.7.82.9"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -6161,9 +6161,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-db-check-entry"></a><h3>gnutls_db_check_entry ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_db_check_entry (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> session_entry</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> session_entry</code></em>);</pre> <p>This function has no effect.</p> <div class="refsect3"> <a name="id-1.2.4.7.83.5"></a><h4>Parameters</h4> @@ -6197,7 +6197,7 @@ expired or 0 otherwise.</p> <hr> <div class="refsect2"> <a name="gnutls-db-get-ptr"></a><h3>gnutls_db_get_ptr ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> * +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> * gnutls_db_get_ptr (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Get db function pointer.</p> <div class="refsect3"> @@ -6225,9 +6225,9 @@ delete functions, as the first argument.</p> <hr> <div class="refsect2"> <a name="gnutls-db-remove-func"></a><h3>gnutls_db_remove_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_db_remove_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *Param1</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> key</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_db_remove_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param1</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> key</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -6238,7 +6238,7 @@ delete functions, as the first argument.</p> <hr> <div class="refsect2"> <a name="gnutls-db-remove-session"></a><h3>gnutls_db_remove_session ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_db_remove_session (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will remove the current session data from the session database. This will prevent future handshakes reusing @@ -6265,9 +6265,9 @@ sessions.</p> <hr> <div class="refsect2"> <a name="gnutls-db-retr-func"></a><h3>gnutls_db_retr_func ()</h3> -<pre class="programlisting"><span class="returnvalue">gnutls_datum_t</span> -<span class="c_punctuation">(</span>*gnutls_db_retr_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *Param1</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> key</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="gnutls-datum-t"><span class="returnvalue">gnutls_datum_t</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_db_retr_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param1</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> key</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -6278,9 +6278,9 @@ sessions.</p> <hr> <div class="refsect2"> <a name="gnutls-db-set-cache-expiration"></a><h3>gnutls_db_set_cache_expiration ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_db_set_cache_expiration (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">int</span> seconds</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seconds</code></em>);</pre> <p>Set the expiration time for resumed sessions. The default is 3600 (one hour) at the time of this writing.</p> <div class="refsect3"> @@ -6309,9 +6309,9 @@ gnutls_db_set_cache_expiration (<em class="parameter"><code><a class="link" href <hr> <div class="refsect2"> <a name="gnutls-db-set-ptr"></a><h3>gnutls_db_set_ptr ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_db_set_ptr (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *ptr</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ptr</code></em>);</pre> <p>Sets the pointer that will be provided to db store, retrieve and delete functions, as the first argument.</p> <div class="refsect3"> @@ -6340,7 +6340,7 @@ delete functions, as the first argument.</p> <hr> <div class="refsect2"> <a name="gnutls-db-set-remove-function"></a><h3>gnutls_db_set_remove_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_db_set_remove_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-db-remove-func" title="gnutls_db_remove_func ()"><span class="type">gnutls_db_remove_func</span></a> rem_func</code></em>);</pre> <p>Sets the function that will be used to remove data from the @@ -6374,7 +6374,7 @@ resumed sessions database. This function must return 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-db-set-retrieve-function"></a><h3>gnutls_db_set_retrieve_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_db_set_retrieve_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-db-retr-func" title="gnutls_db_retr_func ()"><span class="type">gnutls_db_retr_func</span></a> retr_func</code></em>);</pre> <p>Sets the function that will be used to retrieve data from the @@ -6412,7 +6412,7 @@ containing null and 0 on failure.</p> <hr> <div class="refsect2"> <a name="gnutls-db-set-store-function"></a><h3>gnutls_db_set_store_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_db_set_store_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-db-store-func" title="gnutls_db_store_func ()"><span class="type">gnutls_db_store_func</span></a> store_func</code></em>);</pre> <p>Sets the function that will be used to store data in the resumed @@ -6446,10 +6446,10 @@ sessions database. This function must return 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-db-store-func"></a><h3>gnutls_db_store_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_db_store_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *Param1</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> key</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> data</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_db_store_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param1</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> data</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -6460,7 +6460,7 @@ sessions database. This function must return 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-deinit"></a><h3>gnutls_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function clears all buffers associated with the <em class="parameter"><code>session</code></em> . @@ -6485,10 +6485,10 @@ database if the session was terminated abnormally.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-get-group"></a><h3>gnutls_dh_get_group ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_get_group (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *raw_gen</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *raw_prime</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *raw_gen</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *raw_prime</code></em>);</pre> <p>This function will return the group parameters used in the last Diffie-Hellman key exchange with the peer. These are the prime and the generator used. This function should be used for both @@ -6531,7 +6531,7 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-get-peers-public-bits"></a><h3>gnutls_dh_get_peers_public_bits ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_get_peers_public_bits (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Get the Diffie-Hellman public key bit size. Can be used for both anonymous and ephemeral Diffie-Hellman.</p> @@ -6560,7 +6560,7 @@ key exchange with the peer, or a negative error code in case of error.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-get-prime-bits"></a><h3>gnutls_dh_get_prime_bits ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_get_prime_bits (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the bits of the prime used in the last Diffie-Hellman key exchange with the peer. Should be used for both @@ -6593,9 +6593,9 @@ failure.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-get-pubkey"></a><h3>gnutls_dh_get_pubkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_get_pubkey (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *raw_key</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *raw_key</code></em>);</pre> <p>This function will return the peer's public key used in the last Diffie-Hellman key exchange. This function should be used for both anonymous and ephemeral Diffie-Hellman. The output parameters must @@ -6632,7 +6632,7 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-get-secret-bits"></a><h3>gnutls_dh_get_secret_bits ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_get_secret_bits (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the bits used in the last Diffie-Hellman key exchange with the peer. Should be used for both anonymous and @@ -6662,7 +6662,7 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-cpy"></a><h3>gnutls_dh_params_cpy ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_cpy (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> dst</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> src</code></em>);</pre> <p>This function will copy the DH parameters structure from source @@ -6699,7 +6699,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-deinit"></a><h3>gnutls_dh_params_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_dh_params_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> dh_params</code></em>);</pre> <p>This function will deinitialize the DH parameters structure.</p> <div class="refsect3"> @@ -6721,10 +6721,10 @@ gnutls_dh_params_deinit (<em class="parameter"><code><a class="link" href="gnutl <hr> <div class="refsect2"> <a name="gnutls-dh-params-export2-pkcs3"></a><h3>gnutls_dh_params_export2_pkcs3 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_export2_pkcs3 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> params</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 given dh parameters to a PKCS3 DHParams structure. This is the format generated by "openssl dhparam" tool. The data in <em class="parameter"><code>out</code></em> @@ -6769,11 +6769,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-export-pkcs3"></a><h3>gnutls_dh_params_export_pkcs3 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_export_pkcs3 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> params</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">char</span> *params_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *params_data_size</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *params_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *params_data_size</code></em>);</pre> <p>This function will export the given dh parameters to a PKCS3 DHParams structure. This is the format generated by "openssl dhparam" tool. If the buffer provided is not long enough to hold the output, then @@ -6822,11 +6822,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-export-raw"></a><h3>gnutls_dh_params_export_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_export_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> params</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *prime</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *generator</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *prime</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *generator</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will export the pair of prime and generator for use in the Diffie-Hellman key exchange. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the @@ -6873,9 +6873,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-generate2"></a><h3>gnutls_dh_params_generate2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_generate2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> params</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> bits</code></em>);</pre> <p>This function will generate a new pair of prime and generator for use in the Diffie-Hellman key exchange. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum. @@ -6910,9 +6910,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-import-pkcs3"></a><h3>gnutls_dh_params_import_pkcs3 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_import_pkcs3 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> params</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *pkcs3_params</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *pkcs3_params</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>);</pre> <p>This function will extract the DHParams found in a PKCS3 formatted structure. This is the format generated by "openssl dhparam" tool.</p> @@ -6955,10 +6955,10 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-import-raw"></a><h3>gnutls_dh_params_import_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_import_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> dh_params</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *prime</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *generator</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *prime</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *generator</code></em>);</pre> <p>This function will replace the pair of prime and generator for use in the Diffie-Hellman key exchange. The new parameters should be stored in the appropriate gnutls_datum.</p> @@ -6999,7 +6999,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-params-init"></a><h3>gnutls_dh_params_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_dh_params_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> *dh_params</code></em>);</pre> <p>This function will initialize the DH parameters structure.</p> <div class="refsect3"> @@ -7027,9 +7027,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-dh-set-prime-bits"></a><h3>gnutls_dh_set_prime_bits ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_dh_set_prime_bits (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> bits</code></em>);</pre> <p>This function sets the number of bits, for use in a Diffie-Hellman key exchange. This is used both in DH ephemeral and DH anonymous cipher suites. This will set the minimum size of the prime that @@ -7100,7 +7100,7 @@ type.</p> <hr> <div class="refsect2"> <a name="gnutls-ecc-curve-get-name"></a><h3>gnutls_ecc_curve_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_ecc_curve_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-ecc-curve-t" title="enum gnutls_ecc_curve_t"><span class="type">gnutls_ecc_curve_t</span></a> curve</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-ecc-curve-t" title="enum gnutls_ecc_curve_t"><span class="type">gnutls_ecc_curve_t</span></a> value to a string.</p> <div class="refsect3"> @@ -7121,7 +7121,7 @@ gnutls_ecc_curve_get_name (<em class="parameter"><code><a class="link" href="gnu <div class="refsect3"> <a name="id-1.2.4.7.111.6"></a><h4>Returns</h4> <p> a string that contains the name of the specified -curve or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +curve or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> <p class="since">Since 3.0</p> @@ -7129,7 +7129,7 @@ curve or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CA <hr> <div class="refsect2"> <a name="gnutls-ecc-curve-get-size"></a><h3>gnutls_ecc_curve_get_size ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ecc_curve_get_size (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-ecc-curve-t" title="enum gnutls_ecc_curve_t"><span class="type">gnutls_ecc_curve_t</span></a> curve</code></em>);</pre> <p>Returns the size in bytes of the curve.</p> <div class="refsect3"> @@ -7171,7 +7171,7 @@ integers indicating the available curves.</p> <hr> <div class="refsect2"> <a name="gnutls-errno-func"></a><h3>gnutls_errno_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_errno_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> Param1</code></em>);</pre> <p> </p> @@ -7183,8 +7183,8 @@ integers indicating the available curves.</p> <hr> <div class="refsect2"> <a name="gnutls-error-is-fatal"></a><h3>gnutls_error_is_fatal ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_error_is_fatal (<em class="parameter"><code><span class="type">int</span> error</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_error_is_fatal (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> error</code></em>);</pre> <p>If a GnuTLS function returns a negative error code you may feed that value to this function to see if the error condition is fatal to a TLS session (i.e., must be terminated). </p> @@ -7220,9 +7220,9 @@ on fatal error codes.</p> <hr> <div class="refsect2"> <a name="gnutls-error-to-alert"></a><h3>gnutls_error_to_alert ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_error_to_alert (<em class="parameter"><code><span class="type">int</span> err</code></em>, - <em class="parameter"><code><span class="type">int</span> *level</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_error_to_alert (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> err</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *level</code></em>);</pre> <p>Get an alert depending on the error code returned by a gnutls function. All alerts sent by this function should be considered fatal. The only exception is when <em class="parameter"><code>err</code></em> @@ -7262,11 +7262,11 @@ internal error is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-fingerprint"></a><h3>gnutls_fingerprint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_fingerprint (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> algo</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">void</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> + <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><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will calculate a fingerprint (actually a hash), of the given data. The result is not printable data. You should convert it to hex, or to something else printable.</p> @@ -7317,15 +7317,15 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-free-function"></a><h3>gnutls_free_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*gnutls_free_function<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *Param1</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_free_function<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param1</code></em>);</pre> <p> </p> </div> <hr> <div class="refsect2"> <a name="gnutls-global-deinit"></a><h3>gnutls_global_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_global_deinit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>This function deinitializes the global data, that were initialized using <a class="link" href="gnutls-gnutls.html#gnutls-global-init" title="gnutls_global_init ()"><code class="function">gnutls_global_init()</code></a>.</p> @@ -7333,7 +7333,7 @@ using <a class="link" href="gnutls-gnutls.html#gnutls-global-init" title="gnutls <hr> <div class="refsect2"> <a name="gnutls-global-init"></a><h3>gnutls_global_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_global_init (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>This function performs any required precalculations, detects the supported CPU capabilities and initializes the underlying @@ -7361,7 +7361,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-global-set-audit-log-function"></a><h3>gnutls_global_set_audit_log_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_global_set_audit_log_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-audit-log-func" title="gnutls_audit_log_func ()"><span class="type">gnutls_audit_log_func</span></a> log_func</code></em>);</pre> <p>This is the function to set the audit logging function. This is a function to report important issues, such as possible @@ -7391,7 +7391,7 @@ void (*gnutls_audit_log_func)( gnutls_session_t, const char*);</p> <hr> <div class="refsect2"> <a name="gnutls-global-set-log-function"></a><h3>gnutls_global_set_log_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_global_set_log_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-log-func" title="gnutls_log_func ()"><span class="type">gnutls_log_func</span></a> log_func</code></em>);</pre> <p>This is the function where you set the logging function gnutls is going to use. This function only accepts a character array. @@ -7419,8 +7419,8 @@ void (*gnutls_log_func)( int level, const char*);</p> <hr> <div class="refsect2"> <a name="gnutls-global-set-log-level"></a><h3>gnutls_global_set_log_level ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_global_set_log_level (<em class="parameter"><code><span class="type">int</span> level</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_global_set_log_level (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> level</code></em>);</pre> <p>This is the function that allows you to set the log level. The level is an integer between 0 and 9. Higher values mean more verbosity. The default value is 0. Larger values should only be @@ -7445,7 +7445,7 @@ used with care, since they may reveal sensitive information.</p> <hr> <div class="refsect2"> <a name="gnutls-global-set-mem-functions"></a><h3>gnutls_global_set_mem_functions ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_global_set_mem_functions (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-alloc-function" title="gnutls_alloc_function ()"><span class="type">gnutls_alloc_function</span></a> alloc_func</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-alloc-function" title="gnutls_alloc_function ()"><span class="type">gnutls_alloc_function</span></a> secure_alloc_func</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-is-secure-function" title="gnutls_is_secure_function ()"><span class="type">gnutls_is_secure_function</span></a> is_secure_func</code></em>, @@ -7457,7 +7457,7 @@ gnutls_global_set_mem_functions (<em class="parameter"><code><a class="link" hre memory allocation functions</p> <p>This is the function where you set the memory allocation functions gnutls is going to use. By default the libc's allocation functions -(<code class="function">malloc()</code>, <code class="function">free()</code>), are used by gnutls, to allocate both sensitive +(<GTKDOCLINK HREF="malloc"><code class="function">malloc()</code></GTKDOCLINK>, <GTKDOCLINK HREF="free"><code class="function">free()</code></GTKDOCLINK>), are used by gnutls, to allocate both sensitive and not sensitive data. This function is provided to set the memory allocation functions to something other than the defaults</p> <p>This function must be called before <a class="link" href="gnutls-gnutls.html#gnutls-global-init" title="gnutls_global_init ()"><code class="function">gnutls_global_init()</code></a> is called. @@ -7474,7 +7474,7 @@ This function is not thread safe.</p> <tbody> <tr> <td class="parameter_name"><p>alloc_func</p></td> -<td class="parameter_description"><p>it's the default memory allocation function. Like <code class="function">malloc()</code>.</p></td> +<td class="parameter_description"><p>it's the default memory allocation function. Like <GTKDOCLINK HREF="malloc"><code class="function">malloc()</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -7504,7 +7504,7 @@ This function is not thread safe.</p> <hr> <div class="refsect2"> <a name="gnutls-global-set-mutex"></a><h3>gnutls_global_set_mutex ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_global_set_mutex (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#mutex-init-func" title="mutex_init_func ()"><span class="type">mutex_init_func</span></a> init</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#mutex-deinit-func" title="mutex_deinit_func ()"><span class="type">mutex_deinit_func</span></a> deinit</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#mutex-lock-func" title="mutex_lock_func ()"><span class="type">mutex_lock_func</span></a> lock</code></em>, @@ -7553,7 +7553,7 @@ system.</p> <hr> <div class="refsect2"> <a name="gnutls-global-set-time-function"></a><h3>gnutls_global_set_time_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_global_set_time_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-time-func" title="gnutls_time_func ()"><span class="type">gnutls_time_func</span></a> time_func</code></em>);</pre> <p>This is the function where you can override the default system time function. The application provided function should behave the same @@ -7578,7 +7578,7 @@ as the standard function.</p> <hr> <div class="refsect2"> <a name="gnutls-handshake"></a><h3>gnutls_handshake ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_handshake (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function does the handshake of the TLS/SSL protocol, and initializes the TLS connection.</p> @@ -7686,7 +7686,7 @@ available handshake descriptions.</p> <hr> <div class="refsect2"> <a name="gnutls-handshake-post-client-hello-func"></a><h3>gnutls_handshake_post_client_hello_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_handshake_post_client_hello_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> Param1</code></em>);</pre> <p> @@ -7699,10 +7699,10 @@ available handshake descriptions.</p> <hr> <div class="refsect2"> <a name="gnutls-handshake-set-max-packet-length"></a><h3>gnutls_handshake_set_max_packet_length ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_handshake_set_max_packet_length (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">size_t</span> max</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> max</code></em>);</pre> <p>This function will set the maximum size of all handshake messages. Handshakes over this size are rejected with <a class="link" href="gnutls-gnutls.html#GNUTLS-E-HANDSHAKE-TOO-LARGE:CAPS" title="GNUTLS_E_HANDSHAKE_TOO_LARGE"><code class="literal">GNUTLS_E_HANDSHAKE_TOO_LARGE</code></a> error code. The default value is @@ -7736,7 +7736,7 @@ limit Denial of Service attacks.</p> <hr> <div class="refsect2"> <a name="gnutls-handshake-set-post-client-hello-function"></a><h3>gnutls_handshake_set_post_client_hello_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_handshake_set_post_client_hello_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-handshake-post-client-hello-func" title="gnutls_handshake_post_client_hello_func ()"><span class="type">gnutls_handshake_post_client_hello_func</span></a> func</code></em>);</pre> @@ -7748,12 +7748,16 @@ anything else except for version negotiation (this is done before the hello message is parsed).</p> <p>This callback must return 0 on success or a gnutls error code to terminate the handshake.</p> +<p>Since GnuTLS 3.3.5 the callback is +allowed to return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-AGAIN:CAPS" title="GNUTLS_E_AGAIN"><code class="literal">GNUTLS_E_AGAIN</code></a> or <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> to +put the handshake on hold. In that case <a class="link" href="gnutls-gnutls.html#gnutls-handshake" title="gnutls_handshake ()"><code class="function">gnutls_handshake()</code></a> +will return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> and can be resumed when needed.</p> <p>Warning: You should not use this function to terminate the handshake based on client input unless you know what you are doing. Before the handshake is finished there is no way to know if there is a man-in-the-middle attack being performed.</p> <div class="refsect3"> -<a name="id-1.2.4.7.132.8"></a><h4>Parameters</h4> +<a name="id-1.2.4.7.132.9"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -7778,10 +7782,10 @@ there is a man-in-the-middle attack being performed.</p> <hr> <div class="refsect2"> <a name="gnutls-handshake-set-private-extensions"></a><h3>gnutls_handshake_set_private_extensions ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_handshake_set_private_extensions (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">int</span> allow</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> allow</code></em>);</pre> <p>This function will enable or disable the use of private cipher suites (the ones that start with 0xFF). By default or if <em class="parameter"><code>allow</code></em> @@ -7816,9 +7820,9 @@ gnutls servers and clients may cause interoperability problems.</p> <hr> <div class="refsect2"> <a name="gnutls-handshake-set-timeout"></a><h3>gnutls_handshake_set_timeout ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_handshake_set_timeout (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> ms</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> ms</code></em>);</pre> <p>This function sets the timeout for the handshake process to the provided value. Use an <em class="parameter"><code>ms</code></em> value of zero to disable @@ -7850,9 +7854,9 @@ timeout.</p> <hr> <div class="refsect2"> <a name="gnutls-heartbeat-allowed"></a><h3>gnutls_heartbeat_allowed ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_heartbeat_allowed (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> type</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> type</code></em>);</pre> <p>This function will check whether heartbeats are allowed to be sent or received in this session.</p> <div class="refsect3"> @@ -7887,9 +7891,9 @@ to be sent or received in this session.</p> <hr> <div class="refsect2"> <a name="gnutls-heartbeat-enable"></a><h3>gnutls_heartbeat_enable ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_heartbeat_enable (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> type</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> type</code></em>);</pre> <p>If this function is called with the <a class="link" href="gnutls-gnutls.html#GNUTLS-HB-PEER-ALLOWED-TO-SEND:CAPS" title="GNUTLS_HB_PEER_ALLOWED_TO_SEND"><code class="literal">GNUTLS_HB_PEER_ALLOWED_TO_SEND</code></a> <em class="parameter"><code>type</code></em> , GnuTLS will allow heartbeat messages to be received. Moreover it also @@ -7926,7 +7930,7 @@ locally generated heartbeat messages can be accepted by the peer.</p> <hr> <div class="refsect2"> <a name="gnutls-heartbeat-get-timeout"></a><h3>gnutls_heartbeat_get_timeout ()</h3> -<pre class="programlisting">unsigned <span class="returnvalue">int</span> +<pre class="programlisting">unsigned <GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_heartbeat_get_timeout (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the milliseconds remaining for a retransmission of the previously sent ping @@ -7958,11 +7962,11 @@ if no packets have been received.</p> <hr> <div class="refsect2"> <a name="gnutls-heartbeat-ping"></a><h3>gnutls_heartbeat_ping ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_heartbeat_ping (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">size_t</span> data_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> max_tries</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> data_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> max_tries</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function sends a ping to the peer. If the <em class="parameter"><code>flags</code></em> is set to <a class="link" href="gnutls-gnutls.html#GNUTLS-HEARTBEAT-WAIT:CAPS" title="GNUTLS_HEARTBEAT_WAIT"><code class="literal">GNUTLS_HEARTBEAT_WAIT</code></a> then it waits for a reply from the peer.</p> @@ -8011,9 +8015,9 @@ and timeouts manually.</p> <hr> <div class="refsect2"> <a name="gnutls-heartbeat-pong"></a><h3>gnutls_heartbeat_pong ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_heartbeat_pong (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</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 replies to a ping by sending a pong to the peer.</p> <div class="refsect3"> <a name="id-1.2.4.7.139.5"></a><h4>Parameters</h4> @@ -8047,10 +8051,10 @@ gnutls_heartbeat_pong (<em class="parameter"><code><a class="link" href="gnutls- <hr> <div class="refsect2"> <a name="gnutls-heartbeat-set-timeouts"></a><h3>gnutls_heartbeat_set_timeouts ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_heartbeat_set_timeouts (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> retrans_timeout</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> total_timeout</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> retrans_timeout</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> total_timeout</code></em>);</pre> <p>This function will override the timeouts for the DTLS heartbeat protocol. The retransmission timeout is the time after which a message from the peer is not received, the previous request will @@ -8090,11 +8094,11 @@ in a non-blocking way, i.e., return <a class="link" href="gnutls-gnutls.html#GNU <hr> <div class="refsect2"> <a name="gnutls-hex2bin"></a><h3>gnutls_hex2bin ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_hex2bin (<em class="parameter"><code>const <span class="type">char</span> *hex_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> hex_size</code></em>, - <em class="parameter"><code><span class="type">void</span> *bin_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *bin_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_hex2bin (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *hex_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> hex_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *bin_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *bin_size</code></em>);</pre> <p>Convert a buffer with hex data to binary data.</p> <div class="refsect3"> <a name="id-1.2.4.7.141.5"></a><h4>Parameters</h4> @@ -8141,10 +8145,10 @@ on return will hold actual length of <em class="parameter"><code>bin_data</code> <hr> <div class="refsect2"> <a name="gnutls-hex-decode"></a><h3>gnutls_hex_decode ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_hex_decode (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *hex_data</code></em>, - <em class="parameter"><code><span class="type">void</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_hex_decode (<em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *hex_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will decode the given encoded data, using the hex encoding used by PSK password files.</p> <p>Note that hex_data should be null terminated.</p> @@ -8185,10 +8189,10 @@ long enough, or 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-hex-encode"></a><h3>gnutls_hex_encode ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_hex_encode (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">char</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_hex_encode (<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><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will convert the given data to printable data, using the hex encoding, as used in the PSK password files.</p> <p>Note that the size of the result includes the null terminator.</p> @@ -8229,9 +8233,9 @@ long enough, or 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-init"></a><h3>gnutls_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> *session</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 initializes the current session to null. Every session must be initialized before use, so internal structures can be allocated. This function allocates structures which can only @@ -8241,7 +8245,7 @@ be free'd by calling <a class="link" href="gnutls-gnutls.html#gnutls-deinit" tit entity, the flags <a class="link" href="gnutls-gnutls.html#GNUTLS-DATAGRAM:CAPS" title="GNUTLS_DATAGRAM"><code class="literal">GNUTLS_DATAGRAM</code></a> and <a class="link" href="gnutls-gnutls.html#GNUTLS-NONBLOCK:CAPS" title="GNUTLS_NONBLOCK"><code class="literal">GNUTLS_NONBLOCK</code></a> are also available. The latter flag will enable a non-blocking operation of the DTLS timers. </p> -<p>The flag <code class="literal">GNUTLS_NO_REPLAY_PROTECTION</code> will disable any +<p>The flag <GTKDOCLINK HREF="GNUTLS-NO-REPLAY-PROTECTION:CAPS"><code class="literal">GNUTLS_NO_REPLAY_PROTECTION</code></GTKDOCLINK> will disable any replay protection in DTLS mode. That must only used when replay protection is achieved using other means.</p> <p>Note that since version 3.1.2 this function enables some common @@ -8279,8 +8283,8 @@ flag.</p> <hr> <div class="refsect2"> <a name="gnutls-is-secure-function"></a><h3>gnutls_is_secure_function ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_is_secure_function<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">void</span> *Param1</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_is_secure_function<span class="c_punctuation">)</span> (<em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param1</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -8291,9 +8295,9 @@ flag.</p> <hr> <div class="refsect2"> <a name="gnutls-key-generate"></a><h3>gnutls_key_generate ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_key_generate (<em class="parameter"><code><span class="type">gnutls_datum_t</span> *key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> key_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_key_generate (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> key_size</code></em>);</pre> <p>Generates a random key of <em class="parameter"><code>key_size</code></em> bytes.</p> <div class="refsect3"> @@ -8307,7 +8311,7 @@ gnutls_key_generate (<em class="parameter"><code><span class="type">gnutls_datum <tbody> <tr> <td class="parameter_name"><p>key</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_datum_t</span> which will contain a newly +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> which will contain a newly created key.</p></td> <td class="parameter_annotations"> </td> </tr> @@ -8359,7 +8363,7 @@ gnutls_kx_get (<em class="parameter"><code><a class="link" href="gnutls-gnutls.h <div class="refsect2"> <a name="gnutls-kx-get-id"></a><h3>gnutls_kx_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="returnvalue">gnutls_kx_algorithm_t</span></a> -gnutls_kx_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_kx_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>Convert a string to a <a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="type">gnutls_kx_algorithm_t</span></a> value. The names are compared in a case insensitive way.</p> <div class="refsect3"> @@ -8387,7 +8391,7 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-kx-get-name"></a><h3>gnutls_kx_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_kx_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="type">gnutls_kx_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="type">gnutls_kx_algorithm_t</span></a> value to a string.</p> <div class="refsect3"> @@ -8408,7 +8412,7 @@ gnutls_kx_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnu <div class="refsect3"> <a name="id-1.2.4.7.149.6"></a><h4>Returns</h4> <p> a pointer to a string that contains the name of the -specified key exchange algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +specified key exchange algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -8429,9 +8433,9 @@ indicating the available key exchange algorithms.</p> <hr> <div class="refsect2"> <a name="gnutls-load-file"></a><h3>gnutls_load_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_load_file (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_load_file (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *filename</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 load a file into a datum. The data are zero terminated but the terminating null is not included in length. The returned data are allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a>.</p> @@ -8468,9 +8472,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-log-func"></a><h3>gnutls_log_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -<span class="c_punctuation">(</span>*gnutls_log_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">int</span> Param1</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *Param2</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_log_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> Param1</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *Param2</code></em>);</pre> <p> </p> </div> @@ -8506,7 +8510,7 @@ gnutls_mac_get (<em class="parameter"><code><a class="link" href="gnutls-gnutls. <div class="refsect2"> <a name="gnutls-mac-get-id"></a><h3>gnutls_mac_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="returnvalue">gnutls_mac_algorithm_t</span></a> -gnutls_mac_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_mac_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>Convert a string to a <a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> value. The names are compared in a case insensitive way.</p> <div class="refsect3"> @@ -8534,7 +8538,7 @@ algorithm string, or <a class="link" href="gnutls-gnutls.html#GNUTLS-MAC-UNKNOWN <hr> <div class="refsect2"> <a name="gnutls-mac-get-key-size"></a><h3>gnutls_mac_get_key_size ()</h3> -<pre class="programlisting"><span class="returnvalue">size_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> gnutls_mac_get_key_size (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Returns the size of the MAC key used in TLS.</p> <div class="refsect3"> @@ -8562,7 +8566,7 @@ given MAC algorithm is invalid.</p> <hr> <div class="refsect2"> <a name="gnutls-mac-get-name"></a><h3>gnutls_mac_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_mac_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> value to a string.</p> <div class="refsect3"> @@ -8583,7 +8587,7 @@ gnutls_mac_get_name (<em class="parameter"><code><a class="link" href="gnutls-gn <div class="refsect3"> <a name="id-1.2.4.7.156.6"></a><h4>Returns</h4> <p> a string that contains the name of the specified MAC -algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -8605,12 +8609,12 @@ integers indicating the available MACs.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-status-request-enable-client"></a><h3>gnutls_ocsp_status_request_enable_client ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_status_request_enable_client (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *responder_id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> responder_id_size</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *request_extensions</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *responder_id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> responder_id_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *request_extensions</code></em>);</pre> <p>This function is to be used by clients to request OCSP response from the server, using the "status_request" TLS extension. Only OCSP status type is supported. A typical server has a single @@ -8634,7 +8638,7 @@ should be null.</p> </tr> <tr> <td class="parameter_name"><p>responder_id</p></td> -<td class="parameter_description"><p>array with <span class="type">gnutls_datum_t</span> with DER data of responder id</p></td> +<td class="parameter_description"><p>array with <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> with DER data of responder id</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -8657,9 +8661,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-status-request-get"></a><h3>gnutls_ocsp_status_request_get ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_status_request_get (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *response</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *response</code></em>);</pre> <p>This function returns the OCSP status response received from the TLS server. The <em class="parameter"><code>response</code></em> should be treated as @@ -8681,7 +8685,7 @@ constant. If no OCSP response is available then </tr> <tr> <td class="parameter_name"><p>response</p></td> -<td class="parameter_description"><p>a <span class="type">gnutls_datum_t</span> with DER encoded OCSP response</p></td> +<td class="parameter_description"><p>a <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> with DER encoded OCSP response</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -8698,9 +8702,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-status-request-is-checked"></a><h3>gnutls_ocsp_status_request_is_checked ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_status_request_is_checked (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</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>Check whether an OCSP status response was included in the handshake and whether it was checked and valid (not too old or superseded). This is a helper function when needing to decide whether to perform an @@ -8738,7 +8742,7 @@ or sent and was invalid.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-send-cert"></a><h3>gnutls_openpgp_send_cert ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_openpgp_send_cert (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-status-t" title="enum gnutls_openpgp_crt_status_t"><span class="type">gnutls_openpgp_crt_status_t</span></a> status</code></em>);</pre> <p>This function will order gnutls to send the key fingerprint @@ -8771,11 +8775,11 @@ that the server can obtain the client's key.</p> <hr> <div class="refsect2"> <a name="gnutls-pem-base64-decode"></a><h3>gnutls_pem_base64_decode ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pem_base64_decode (<em class="parameter"><code>const <span class="type">char</span> *header</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *b64_data</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pem_base64_decode (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *header</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *b64_data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will decode the given encoded data. If the header given is non null this function will search for "-----BEGIN header" and decode only this part. Otherwise it will decode the first PEM @@ -8823,10 +8827,10 @@ not long enough, or 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pem-base64-decode-alloc"></a><h3>gnutls_pem_base64_decode_alloc ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pem_base64_decode_alloc (<em class="parameter"><code>const <span class="type">char</span> *header</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *b64_data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *result</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pem_base64_decode_alloc (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *header</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *b64_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *result</code></em>);</pre> <p>This function will decode the given encoded data. The decoded data will be allocated, and stored into result. If the header given is non null this function will search for "-----BEGIN header" and @@ -8870,11 +8874,11 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-pem-base64-encode"></a><h3>gnutls_pem_base64_encode ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pem_base64_encode (<em class="parameter"><code>const <span class="type">char</span> *msg</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">char</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pem_base64_encode (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *msg</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><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will convert the given data to printable data, using the base64 encoding. This is the encoding used in PEM messages.</p> <p>The output string will be null terminated, although the size will @@ -8922,10 +8926,10 @@ not long enough, or 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-pem-base64-encode-alloc"></a><h3>gnutls_pem_base64_encode_alloc ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pem_base64_encode_alloc (<em class="parameter"><code>const <span class="type">char</span> *msg</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *result</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pem_base64_encode_alloc (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *msg</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><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *result</code></em>);</pre> <p>This function will convert the given data to printable data, using the base64 encoding. This is the encoding used in PEM messages. This function will allocate the required memory to hold the encoded @@ -8968,9 +8972,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-perror"></a><h3>gnutls_perror ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_perror (<em class="parameter"><code><span class="type">int</span> error</code></em>);</pre> -<p>This function is like <code class="function">perror()</code>. The only difference is that it +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_perror (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> error</code></em>);</pre> +<p>This function is like <GTKDOCLINK HREF="perror"><code class="function">perror()</code></GTKDOCLINK>. The only difference is that it accepts an error number returned by a gnutls function.</p> <div class="refsect3"> <a name="id-1.2.4.7.166.5"></a><h4>Parameters</h4> @@ -8991,15 +8995,15 @@ accepts an error number returned by a gnutls function.</p> <hr> <div class="refsect2"> <a name="gnutls-pin-callback-t"></a><h3>gnutls_pin_callback_t ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_pin_callback_t<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *userdata</code></em>, - <em class="parameter"><code><span class="type">int</span> attempt</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *token_url</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *token_label</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code><span class="type">char</span> *pin</code></em>, - <em class="parameter"><code><span class="type">size_t</span> pin_max</code></em>);</pre> -<p>Callback function type for PKCS<span class="type">11</span> or TPM PIN entry. It is set by +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_pin_callback_t<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> attempt</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_url</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_label</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pin</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> pin_max</code></em>);</pre> +<p>Callback function type for PKCS<GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> or TPM PIN entry. It is set by functions like <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-function" title="gnutls_pkcs11_set_pin_function ()"><code class="function">gnutls_pkcs11_set_pin_function()</code></a>.</p> <p>The callback should provides the PIN code to unlock the token with label <em class="parameter"><code>token_label</code></em> @@ -9079,7 +9083,7 @@ buffer.</p></td> <hr> <div class="refsect2"> <a name="gnutls-pk-algorithm-get-name"></a><h3>gnutls_pk_algorithm_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_pk_algorithm_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> value to a string.</p> <div class="refsect3"> @@ -9100,7 +9104,7 @@ gnutls_pk_algorithm_get_name (<em class="parameter"><code><a class="link" href=" <div class="refsect3"> <a name="id-1.2.4.7.168.6"></a><h4>Returns</h4> <p> a string that contains the name of the specified public -key algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +key algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -9109,7 +9113,7 @@ key algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.htm <a name="gnutls-pk-bits-to-sec-param"></a><h3>gnutls_pk_bits_to_sec_param ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-sec-param-t" title="enum gnutls_sec_param_t"><span class="returnvalue">gnutls_sec_param_t</span></a> gnutls_pk_bits_to_sec_param (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> algo</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> bits</code></em>);</pre> <p>This is the inverse of <a class="link" href="gnutls-gnutls.html#gnutls-sec-param-to-pk-bits" title="gnutls_sec_param_to_pk_bits ()"><code class="function">gnutls_sec_param_to_pk_bits()</code></a>. Given an algorithm and the number of bits, it will return the security parameter. This is a rough indication.</p> @@ -9146,7 +9150,7 @@ a rough indication.</p> <div class="refsect2"> <a name="gnutls-pk-get-id"></a><h3>gnutls_pk_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="returnvalue">gnutls_pk_algorithm_t</span></a> -gnutls_pk_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_pk_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>Convert a string to a <a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> value. The names are compared in a case insensitive way. For example, gnutls_pk_get_id("RSA") will return <a class="link" href="gnutls-gnutls.html#GNUTLS-PK-RSA:CAPS"><code class="literal">GNUTLS_PK_RSA</code></a>.</p> @@ -9176,7 +9180,7 @@ algorithm string, or <a class="link" href="gnutls-gnutls.html#GNUTLS-PK-UNKNOWN: <hr> <div class="refsect2"> <a name="gnutls-pk-get-name"></a><h3>gnutls_pk_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_pk_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> value to a string.</p> <div class="refsect3"> @@ -9197,7 +9201,7 @@ gnutls_pk_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnu <div class="refsect3"> <a name="id-1.2.4.7.171.6"></a><h4>Returns</h4> <p> a pointer to a string that contains the name of the -specified public key algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +specified public key algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> <p class="since">Since 2.6.0</p> @@ -9256,15 +9260,15 @@ to signature algorithms.</p> <hr> <div class="refsect2"> <a name="gnutls-prf"></a><h3>gnutls_prf ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_prf (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">size_t</span> label_size</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *label</code></em>, - <em class="parameter"><code><span class="type">int</span> server_random_first</code></em>, - <em class="parameter"><code><span class="type">size_t</span> extra_size</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *extra</code></em>, - <em class="parameter"><code><span class="type">size_t</span> outsize</code></em>, - <em class="parameter"><code><span class="type">char</span> *out</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> label_size</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> server_random_first</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> extra_size</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *extra</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> outsize</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *out</code></em>);</pre> <p>Applies the TLS Pseudo-Random-Function (PRF) on the master secret and the provided data, seeded with the client and server random fields, as specified in RFC5705.</p> @@ -9345,14 +9349,14 @@ variable.</p></td> <hr> <div class="refsect2"> <a name="gnutls-prf-raw"></a><h3>gnutls_prf_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_prf_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">size_t</span> label_size</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *label</code></em>, - <em class="parameter"><code><span class="type">size_t</span> seed_size</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *seed</code></em>, - <em class="parameter"><code><span class="type">size_t</span> outsize</code></em>, - <em class="parameter"><code><span class="type">char</span> *out</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> label_size</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> seed_size</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *seed</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> outsize</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *out</code></em>);</pre> <p>Apply the TLS Pseudo-Random-Function (PRF) on the master secret and the provided data.</p> <p>The <em class="parameter"><code>label</code></em> @@ -9428,9 +9432,9 @@ variable.</p></td> <hr> <div class="refsect2"> <a name="gnutls-priority-certificate-type-list"></a><h3>gnutls_priority_certificate_type_list ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_certificate_type_list (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> pcache</code></em>, - <em class="parameter"><code>const unsigned <span class="type">int</span> **list</code></em>);</pre> + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> **list</code></em>);</pre> <p>Get a list of available certificate types in the priority structure.</p> <div class="refsect3"> @@ -9444,7 +9448,7 @@ structure.</p> <tbody> <tr> <td class="parameter_name"><p>pcache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -9465,9 +9469,9 @@ structure.</p> <hr> <div class="refsect2"> <a name="gnutls-priority-compression-list"></a><h3>gnutls_priority_compression_list ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_compression_list (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> pcache</code></em>, - <em class="parameter"><code>const unsigned <span class="type">int</span> **list</code></em>);</pre> + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> **list</code></em>);</pre> <p>Get a list of available compression method in the priority structure.</p> <div class="refsect3"> @@ -9481,7 +9485,7 @@ structure.</p> <tbody> <tr> <td class="parameter_name"><p>pcache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -9502,7 +9506,7 @@ structure.</p> <hr> <div class="refsect2"> <a name="gnutls-priority-deinit"></a><h3>gnutls_priority_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_priority_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> priority_cache</code></em>);</pre> <p>Deinitializes the priority cache.</p> <div class="refsect3"> @@ -9515,7 +9519,7 @@ gnutls_priority_deinit (<em class="parameter"><code><a class="link" href="gnutls </colgroup> <tbody><tr> <td class="parameter_name"><p>priority_cache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -9524,9 +9528,9 @@ gnutls_priority_deinit (<em class="parameter"><code><a class="link" href="gnutls <hr> <div class="refsect2"> <a name="gnutls-priority-ecc-curve-list"></a><h3>gnutls_priority_ecc_curve_list ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_ecc_curve_list (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> pcache</code></em>, - <em class="parameter"><code>const unsigned <span class="type">int</span> **list</code></em>);</pre> + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> **list</code></em>);</pre> <p>Get a list of available elliptic curves in the priority structure.</p> <div class="refsect3"> @@ -9540,7 +9544,7 @@ structure.</p> <tbody> <tr> <td class="parameter_name"><p>pcache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -9561,11 +9565,11 @@ structure.</p> <hr> <div class="refsect2"> <a name="gnutls-priority-get-cipher-suite-index"></a><h3>gnutls_priority_get_cipher_suite_index ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_get_cipher_suite_index (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> pcache</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *sidx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *sidx</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -9576,18 +9580,18 @@ gnutls_priority_get_cipher_suite_index <hr> <div class="refsect2"> <a name="gnutls-priority-init"></a><h3>gnutls_priority_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> *priority_cache</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *priorities</code></em>, - <em class="parameter"><code>const <span class="type">char</span> **err_pos</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *priorities</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **err_pos</code></em>);</pre> <p>Sets priorities for the ciphers, key exchange methods, macs and compression methods.</p> -<p>The <span class="type">priorities</span> option allows you to specify a colon +<p>The <GTKDOCLINK HREF="priorities"><span class="type">priorities</span></GTKDOCLINK> option allows you to specify a colon separated list of the cipher priorities to enable. Some keywords are defined to provide quick access to common preferences.</p> <p>Unless there is a special need, use the "NORMAL" keyword to -apply a reasonable security level, or "NORMAL:<code class="literal">COMPAT</code>" for compatibility.</p> +apply a reasonable security level, or "NORMAL:<GTKDOCLINK HREF="COMPAT:CAPS"><code class="literal">COMPAT</code></GTKDOCLINK>" for compatibility.</p> <p>"PERFORMANCE" means all the "secure" ciphersuites are enabled, limited to 128 bit ciphers and sorted by terms of speed performance.</p> @@ -9632,7 +9636,7 @@ enabled, SSL3.0 is disabled, and libz compression enabled.</p> <p>"NONE:+VERS-TLS-ALL:+AES-128-CBC:+RSA:+SHA1:+COMP-NULL:+SIGN-RSA-SHA1", </p> <p>"NONE:+VERS-TLS-ALL:+AES-128-CBC:+ECDHE-RSA:+SHA1:+COMP-NULL:+SIGN-RSA-SHA1:+CURVE-SECP256R1", </p> <p>"SECURE256:+SECURE128",</p> -<p>Note that "NORMAL:<code class="literal">COMPAT</code>" is the most compatible mode.</p> +<p>Note that "NORMAL:<GTKDOCLINK HREF="COMPAT:CAPS"><code class="literal">COMPAT</code></GTKDOCLINK>" is the most compatible mode.</p> <div class="refsect3"> <a name="id-1.2.4.7.181.28"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -9644,7 +9648,7 @@ enabled, SSL3.0 is disabled, and libz compression enabled.</p> <tbody> <tr> <td class="parameter_name"><p>priority_cache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -9670,9 +9674,9 @@ enabled, SSL3.0 is disabled, and libz compression enabled.</p> <hr> <div class="refsect2"> <a name="gnutls-priority-protocol-list"></a><h3>gnutls_priority_protocol_list ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_protocol_list (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> pcache</code></em>, - <em class="parameter"><code>const unsigned <span class="type">int</span> **list</code></em>);</pre> + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> **list</code></em>);</pre> <p>Get a list of available TLS version numbers in the priority structure.</p> <div class="refsect3"> @@ -9686,7 +9690,7 @@ structure.</p> <tbody> <tr> <td class="parameter_name"><p>pcache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -9707,7 +9711,7 @@ structure.</p> <hr> <div class="refsect2"> <a name="gnutls-priority-set"></a><h3>gnutls_priority_set ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_set (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> priority</code></em>);</pre> <p>Sets the priorities to use on the ciphers, key exchange methods, @@ -9743,10 +9747,10 @@ macs and compression methods.</p> <hr> <div class="refsect2"> <a name="gnutls-priority-set-direct"></a><h3>gnutls_priority_set_direct ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_set_direct (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *priorities</code></em>, - <em class="parameter"><code>const <span class="type">char</span> **err_pos</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *priorities</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **err_pos</code></em>);</pre> <p>Sets the priorities to use on the ciphers, key exchange methods, macs and compression methods. This function avoids keeping a priority cache and is used to directly set string priorities to a @@ -9789,9 +9793,9 @@ TLS session. For documentation check the <a class="link" href="gnutls-gnutls.ht <hr> <div class="refsect2"> <a name="gnutls-priority-sign-list"></a><h3>gnutls_priority_sign_list ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_priority_sign_list (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-priority-t" title="gnutls_priority_t"><span class="type">gnutls_priority_t</span></a> pcache</code></em>, - <em class="parameter"><code>const unsigned <span class="type">int</span> **list</code></em>);</pre> + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> **list</code></em>);</pre> <p>Get a list of available signature algorithms in the priority structure.</p> <div class="refsect3"> @@ -9805,7 +9809,7 @@ structure.</p> <tbody> <tr> <td class="parameter_name"><p>pcache</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_prioritity_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-prioritity-t"><span class="type">gnutls_prioritity_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -9827,7 +9831,7 @@ structure.</p> <div class="refsect2"> <a name="gnutls-protocol-get-id"></a><h3>gnutls_protocol_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-protocol-t" title="enum gnutls_protocol_t"><span class="returnvalue">gnutls_protocol_t</span></a> -gnutls_protocol_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_protocol_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>The names are compared in a case insensitive way.</p> <div class="refsect3"> <a name="id-1.2.4.7.186.5"></a><h4>Parameters</h4> @@ -9854,7 +9858,7 @@ gnutls_protocol_get_id (<em class="parameter"><code>const <span class="type">cha <hr> <div class="refsect2"> <a name="gnutls-protocol-get-name"></a><h3>gnutls_protocol_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_protocol_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-protocol-t" title="enum gnutls_protocol_t"><span class="type">gnutls_protocol_t</span></a> version</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-protocol-t" title="enum gnutls_protocol_t"><span class="type">gnutls_protocol_t</span></a> value to a string.</p> <div class="refsect3"> @@ -9875,7 +9879,7 @@ gnutls_protocol_get_name (<em class="parameter"><code><a class="link" href="gnut <div class="refsect3"> <a name="id-1.2.4.7.187.6"></a><h4>Returns</h4> <p> a string that contains the name of the specified TLS -version (e.g., "TLS1.0"), or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +version (e.g., "TLS1.0"), or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -9923,9 +9927,9 @@ indicating the available protocols.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-allocate-client-credentials"></a><h3>gnutls_psk_allocate_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_psk_allocate_client_credentials - (<em class="parameter"><code><span class="type">gnutls_psk_client_credentials_t</span> *sc</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-client-credentials-t"><span class="type">gnutls_psk_client_credentials_t</span></GTKDOCLINK> *sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -9938,7 +9942,7 @@ helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -9953,9 +9957,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-allocate-server-credentials"></a><h3>gnutls_psk_allocate_server_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_psk_allocate_server_credentials - (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> *sc</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> *sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -9968,7 +9972,7 @@ helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -9983,7 +9987,7 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-client-get-hint"></a><h3>gnutls_psk_client_get_hint ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_psk_client_get_hint (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>The PSK identity hint may give the client help in deciding which username to use. This should only be called in case of PSK @@ -10005,7 +10009,7 @@ authentication and in case of a client.</p> </div> <div class="refsect3"> <a name="id-1.2.4.7.192.6"></a><h4>Returns</h4> -<p> the identity hint of the peer, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of an error.</p> +<p> the identity hint of the peer, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> in case of an error.</p> <p></p> </div> <p class="since">Since 2.4.0</p> @@ -10013,8 +10017,8 @@ authentication and in case of a client.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-free-client-credentials"></a><h3>gnutls_psk_free_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_psk_free_client_credentials (<em class="parameter"><code><span class="type">gnutls_psk_client_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_psk_free_client_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-client-credentials-t"><span class="type">gnutls_psk_client_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <div class="refsect3"> @@ -10027,7 +10031,7 @@ helper function is provided in order to free (deallocate) it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_client_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-client-credentials-t"><span class="type">gnutls_psk_client_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -10036,8 +10040,8 @@ helper function is provided in order to free (deallocate) it.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-free-server-credentials"></a><h3>gnutls_psk_free_server_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_psk_free_server_credentials (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_psk_free_server_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <div class="refsect3"> @@ -10050,7 +10054,7 @@ helper function is provided in order to free (deallocate) it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -10059,7 +10063,7 @@ helper function is provided in order to free (deallocate) it.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-server-get-username"></a><h3>gnutls_psk_server_get_username ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_psk_server_get_username (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This should only be called in case of PSK authentication and in case of a server.</p> @@ -10080,17 +10084,17 @@ case of a server.</p> </div> <div class="refsect3"> <a name="id-1.2.4.7.195.6"></a><h4>Returns</h4> -<p> the username of the peer, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in case of an error.</p> +<p> the username of the peer, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> in case of an error.</p> <p></p> </div> </div> <hr> <div class="refsect2"> <a name="gnutls-psk-set-client-credentials"></a><h3>gnutls_psk_set_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_psk_set_client_credentials (<em class="parameter"><code><span class="type">gnutls_psk_client_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *username</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *key</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_psk_set_client_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-client-credentials-t"><span class="type">gnutls_psk_client_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *username</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-psk-key-flags" title="enum gnutls_psk_key_flags"><span class="type">gnutls_psk_key_flags</span></a> flags</code></em>);</pre> <p>This function sets the username and password, in a gnutls_psk_client_credentials_t structure. Those will be used in @@ -10110,7 +10114,7 @@ key can be either in raw byte format or in Hex format (without the <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_client_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-client-credentials-t"><span class="type">gnutls_psk_client_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10142,10 +10146,10 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-set-client-credentials-function"></a><h3>gnutls_psk_set_client_credentials_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_psk_set_client_credentials_function - (<em class="parameter"><code><span class="type">gnutls_psk_client_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_psk_client_credentials_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-client-credentials-t"><span class="type">gnutls_psk_client_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-client-credentials-function"><span class="type">gnutls_psk_client_credentials_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function can be used to set a callback to retrieve the username and password for client PSK authentication. The callback's function form is: @@ -10171,7 +10175,7 @@ the "SASLprep" profile of "stringprep".</p> <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10186,9 +10190,9 @@ the "SASLprep" profile of "stringprep".</p> <hr> <div class="refsect2"> <a name="gnutls-psk-set-params-function"></a><h3>gnutls_psk_set_params_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_psk_set_params_function (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> res</code></em>, - <em class="parameter"><code><span class="type">gnutls_params_function</span> *func</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_psk_set_params_function (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-params-function"><span class="type">gnutls_params_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function will set a callback in order for the server to get the Diffie-Hellman or RSA parameters for PSK authentication. The callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" title="GNUTLS_E_SUCCESS"><code class="literal">GNUTLS_E_SUCCESS</code></a> (0) on success.</p> @@ -10218,12 +10222,12 @@ callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS <hr> <div class="refsect2"> <a name="gnutls-psk-set-server-credentials-file"></a><h3>gnutls_psk_set_server_credentials_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_psk_set_server_credentials_file - (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password_file</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password_file</code></em>);</pre> <p>This function sets the password file, in a -<span class="type">gnutls_psk_server_credentials_t</span> structure. This password file +<GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure. This password file holds usernames and keys and will be used for PSK authentication.</p> <div class="refsect3"> <a name="id-1.2.4.7.199.5"></a><h4>Parameters</h4> @@ -10236,7 +10240,7 @@ holds usernames and keys and will be used for PSK authentication.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10257,10 +10261,10 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-set-server-credentials-function"></a><h3>gnutls_psk_set_server_credentials_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_psk_set_server_credentials_function - (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_psk_server_credentials_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-function"><span class="type">gnutls_psk_server_credentials_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function can be used to set a callback to retrieve the user's PSK credentials. The callback's function form is: int (*callback)(gnutls_session_t, const char* username, @@ -10285,7 +10289,7 @@ an error.</p> <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10300,12 +10304,12 @@ an error.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-set-server-credentials-hint"></a><h3>gnutls_psk_set_server_credentials_hint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_psk_set_server_credentials_hint - (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *hint</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *hint</code></em>);</pre> <p>This function sets the identity hint, in a -<span class="type">gnutls_psk_server_credentials_t</span> structure. This hint is sent to +<GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure. This hint is sent to the client to help it chose a good PSK credential (i.e., username and password).</p> <div class="refsect3"> @@ -10319,7 +10323,7 @@ and password).</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_psk_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10341,8 +10345,8 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-set-server-dh-params"></a><h3>gnutls_psk_set_server_dh_params ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_psk_set_server_dh_params (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_psk_set_server_dh_params (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> res</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-dh-params-t" title="gnutls_dh_params_t"><span class="type">gnutls_dh_params_t</span></a> dh_params</code></em>);</pre> <p>This function will set the Diffie-Hellman parameters for an anonymous server to use. These parameters will be used in @@ -10373,9 +10377,9 @@ Diffie-Hellman exchange with PSK cipher suites.</p> <hr> <div class="refsect2"> <a name="gnutls-psk-set-server-params-function"></a><h3>gnutls_psk_set_server_params_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_psk_set_server_params_function (<em class="parameter"><code><span class="type">gnutls_psk_server_credentials_t</span> res</code></em>, - <em class="parameter"><code><span class="type">gnutls_params_function</span> *func</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_psk_set_server_params_function (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-psk-server-credentials-t"><span class="type">gnutls_psk_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-params-function"><span class="type">gnutls_params_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function will set a callback in order for the server to get the Diffie-Hellman parameters for PSK authentication. The callback should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" title="GNUTLS_E_SUCCESS"><code class="literal">GNUTLS_E_SUCCESS</code></a> (0) on success.</p> @@ -10390,7 +10394,7 @@ should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10405,10 +10409,10 @@ should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <hr> <div class="refsect2"> <a name="gnutls-pull-func"></a><h3>gnutls_pull_func ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_pull_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> Param1</code></em>, - <em class="parameter"><code><span class="type">void</span> *Param2</code></em>, - <em class="parameter"><code><span class="type">size_t</span> Param3</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param2</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> Param3</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -10419,9 +10423,9 @@ should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <hr> <div class="refsect2"> <a name="gnutls-pull-timeout-func"></a><h3>gnutls_pull_timeout_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_pull_timeout_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> Param1</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> ms</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> ms</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -10432,10 +10436,10 @@ should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <hr> <div class="refsect2"> <a name="gnutls-push-func"></a><h3>gnutls_push_func ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_push_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> Param1</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *Param2</code></em>, - <em class="parameter"><code><span class="type">size_t</span> Param3</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param2</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> Param3</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -10446,13 +10450,13 @@ should return <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <hr> <div class="refsect2"> <a name="gnutls-random-art"></a><h3>gnutls_random_art ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_random_art (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-random-art-t" title="enum gnutls_random_art_t"><span class="type">gnutls_random_art_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *key_type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> key_size</code></em>, - <em class="parameter"><code><span class="type">void</span> *fpr</code></em>, - <em class="parameter"><code><span class="type">size_t</span> fpr_size</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *art</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *key_type</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> key_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *fpr</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> fpr_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *art</code></em>);</pre> <p>This function will convert a given fingerprint to an "artistic" image. The returned image is allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a></p> <div class="refsect3"> @@ -10507,9 +10511,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-realloc-function"></a><h3>gnutls_realloc_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> * -<span class="c_punctuation">(</span>*gnutls_realloc_function<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *Param1</code></em>, - <em class="parameter"><code><span class="type">size_t</span> Param2</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> * +<span class="c_punctuation">(</span>*gnutls_realloc_function<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *Param1</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> Param2</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -10520,7 +10524,7 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-record-check-pending"></a><h3>gnutls_record_check_pending ()</h3> -<pre class="programlisting"><span class="returnvalue">size_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> gnutls_record_check_pending (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function checks if there are unread data in the gnutls buffers. If the return value is @@ -10550,14 +10554,14 @@ is guaranteed not to block.</p> <hr> <div class="refsect2"> <a name="gnutls-record-disable-padding"></a><h3>gnutls_record_disable_padding ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_record_disable_padding (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Used to disabled padding in TLS 1.0 and above. Normally you do not need to use this function, but there are buggy clients that complain if a server pads the encrypted data. This of course will disable protection against statistical attacks on the data.</p> <p>This functions is defunt since 3.1.7. Random padding is disabled -by default unless requested using <code class="function">gnutls_range_send_message()</code>.</p> +by default unless requested using <GTKDOCLINK HREF="gnutls-range-send-message"><code class="function">gnutls_range_send_message()</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.4.7.210.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -10577,14 +10581,14 @@ by default unless requested using <code class="function">gnutls_range_send_messa <hr> <div class="refsect2"> <a name="gnutls-record-get-direction"></a><h3>gnutls_record_get_direction ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_record_get_direction (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function provides information about the internals of the record protocol and is only useful if a prior gnutls function call (e.g. <a class="link" href="gnutls-gnutls.html#gnutls-handshake" title="gnutls_handshake ()"><code class="function">gnutls_handshake()</code></a>) was interrupted for some reason, that is, if a function returned <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> or -<a class="link" href="gnutls-gnutls.html#GNUTLS-E-AGAIN:CAPS" title="GNUTLS_E_AGAIN"><code class="literal">GNUTLS_E_AGAIN</code></a>. In such a case, you might want to call <code class="function">select()</code> -or <code class="function">poll()</code> before calling the interrupted gnutls function again. To +<a class="link" href="gnutls-gnutls.html#GNUTLS-E-AGAIN:CAPS" title="GNUTLS_E_AGAIN"><code class="literal">GNUTLS_E_AGAIN</code></a>. In such a case, you might want to call <GTKDOCLINK HREF="select"><code class="function">select()</code></GTKDOCLINK> +or <GTKDOCLINK HREF="poll"><code class="function">poll()</code></GTKDOCLINK> before calling the interrupted gnutls function again. To tell you whether a file descriptor should be selected for either reading or writing, <a class="link" href="gnutls-gnutls.html#gnutls-record-get-direction" title="gnutls_record_get_direction ()"><code class="function">gnutls_record_get_direction()</code></a> returns 0 if the interrupted function was trying to read data, and 1 if it was @@ -10613,7 +10617,7 @@ trying to write data.</p> <hr> <div class="refsect2"> <a name="gnutls-record-get-max-size"></a><h3>gnutls_record_get_max_size ()</h3> -<pre class="programlisting"><span class="returnvalue">size_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="size-t"><span class="returnvalue">size_t</span></GTKDOCLINK> gnutls_record_get_max_size (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Get the record size. The maximum record size is negotiated by the client after the first handshake message.</p> @@ -10641,11 +10645,11 @@ client after the first handshake message.</p> <hr> <div class="refsect2"> <a name="gnutls-record-recv"></a><h3>gnutls_record_recv ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> gnutls_record_recv (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> data_size</code></em>);</pre> -<p>This function has the similar semantics with <code class="function">recv()</code>. The only + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> data_size</code></em>);</pre> +<p>This function has the similar semantics with <GTKDOCLINK HREF="recv"><code class="function">recv()</code></GTKDOCLINK>. The only difference is that it accepts a GnuTLS session, and uses different error codes. In the special case that a server requests a renegotiation, the @@ -10653,8 +10657,8 @@ client may receive an error code of <a class="link" href="gnutls-gnutls.html#GNU message may be simply ignored, replied with an alert <a class="link" href="gnutls-gnutls.html#GNUTLS-A-NO-RENEGOTIATION:CAPS"><code class="literal">GNUTLS_A_NO_RENEGOTIATION</code></a>, or replied with a new handshake, depending on the client's will. -If <code class="literal">EINTR</code> is returned by the internal push function (the default -is <code class="function">recv()</code>) then <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> will be returned. If +If <GTKDOCLINK HREF="EINTR:CAPS"><code class="literal">EINTR</code></GTKDOCLINK> is returned by the internal push function (the default +is <GTKDOCLINK HREF="recv"><code class="function">recv()</code></GTKDOCLINK>) then <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> will be returned. If <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> or <a class="link" href="gnutls-gnutls.html#GNUTLS-E-AGAIN:CAPS" title="GNUTLS_E_AGAIN"><code class="literal">GNUTLS_E_AGAIN</code></a> is returned, you must call this function again to get the data. See also <a class="link" href="gnutls-gnutls.html#gnutls-record-get-direction" title="gnutls_record_get_direction ()"><code class="function">gnutls_record_get_direction()</code></a>. @@ -10700,11 +10704,11 @@ The number of bytes received might be less than the requested <em class="paramet <hr> <div class="refsect2"> <a name="gnutls-record-recv-seq"></a><h3>gnutls_record_recv_seq ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> gnutls_record_recv_seq (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> data_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</span> *seq</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> data_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *seq</code></em>);</pre> <p>This function is the same as <a class="link" href="gnutls-gnutls.html#gnutls-record-recv" title="gnutls_record_recv ()"><code class="function">gnutls_record_recv()</code></a>, except that it returns in addition to data, the sequence number of the data. This is useful in DTLS where record packets might be received @@ -10756,22 +10760,22 @@ received might be less than <em class="parameter"><code>data_size</code></em> <hr> <div class="refsect2"> <a name="gnutls-record-send"></a><h3>gnutls_record_send ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> gnutls_record_send (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> data_size</code></em>);</pre> -<p>This function has the similar semantics with <code class="function">send()</code>. The only + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> data_size</code></em>);</pre> +<p>This function has the similar semantics with <GTKDOCLINK HREF="send"><code class="function">send()</code></GTKDOCLINK>. The only difference is that it accepts a GnuTLS session, and uses different error codes. -Note that if the send buffer is full, <code class="function">send()</code> will block this -function. See the <code class="function">send()</code> documentation for more information. </p> -<p>You can replace the default push function which is <code class="function">send()</code>, by using +Note that if the send buffer is full, <GTKDOCLINK HREF="send"><code class="function">send()</code></GTKDOCLINK> will block this +function. See the <GTKDOCLINK HREF="send"><code class="function">send()</code></GTKDOCLINK> documentation for more information. </p> +<p>You can replace the default push function which is <GTKDOCLINK HREF="send"><code class="function">send()</code></GTKDOCLINK>, by using <a class="link" href="gnutls-gnutls.html#gnutls-transport-set-push-function" title="gnutls_transport_set_push_function ()"><code class="function">gnutls_transport_set_push_function()</code></a>.</p> <p>If the EINTR is returned by the internal push function then <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> will be returned. If <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INTERRUPTED:CAPS" title="GNUTLS_E_INTERRUPTED"><code class="literal">GNUTLS_E_INTERRUPTED</code></a> or <a class="link" href="gnutls-gnutls.html#GNUTLS-E-AGAIN:CAPS" title="GNUTLS_E_AGAIN"><code class="literal">GNUTLS_E_AGAIN</code></a> is returned, you must call this function again, with the exact same parameters; alternatively -you could provide a <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> pointer for data, and 0 for +you could provide a <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> pointer for data, and 0 for size. cf. <a class="link" href="gnutls-gnutls.html#gnutls-record-get-direction" title="gnutls_record_get_direction ()"><code class="function">gnutls_record_get_direction()</code></a>. </p> <p>Note that in DTLS this function will return the <a class="link" href="gnutls-gnutls.html#GNUTLS-E-LARGE-PACKET:CAPS" title="GNUTLS_E_LARGE_PACKET"><code class="literal">GNUTLS_E_LARGE_PACKET</code></a> error code if the send data exceed the data MTU value - as returned @@ -10820,9 +10824,9 @@ on the negotiated maximum record size.</p> <hr> <div class="refsect2"> <a name="gnutls-record-set-max-size"></a><h3>gnutls_record_set_max_size ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> gnutls_record_set_max_size (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">size_t</span> size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> size</code></em>);</pre> <p>This function sets the maximum record packet size in this connection. This property can only be set to clients. The server may choose not to accept the requested size.</p> @@ -10864,7 +10868,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-rehandshake"></a><h3>gnutls_rehandshake ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_rehandshake (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will renegotiate security parameters with the client. This should only be called in case of a server.</p> @@ -10908,7 +10912,7 @@ this message.</p> <hr> <div class="refsect2"> <a name="gnutls-safe-renegotiation-status"></a><h3>gnutls_safe_renegotiation_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_safe_renegotiation_status (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Can be used to check whether safe renegotiation is being used in the current session.</p> @@ -10938,7 +10942,7 @@ safe renegotiation is used.</p> <hr> <div class="refsect2"> <a name="gnutls-sec-param-get-name"></a><h3>gnutls_sec_param_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_sec_param_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-sec-param-t" title="enum gnutls_sec_param_t"><span class="type">gnutls_sec_param_t</span></a> param</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-sec-param-t" title="enum gnutls_sec_param_t"><span class="type">gnutls_sec_param_t</span></a> value to a string.</p> <div class="refsect3"> @@ -10959,7 +10963,7 @@ gnutls_sec_param_get_name (<em class="parameter"><code><a class="link" href="gnu <div class="refsect3"> <a name="id-1.2.4.7.219.6"></a><h4>Returns</h4> <p> a pointer to a string that contains the name of the -specified security level, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +specified security level, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> <p class="since">Since 2.12.0</p> @@ -10967,7 +10971,7 @@ specified security level, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard <hr> <div class="refsect2"> <a name="gnutls-sec-param-to-pk-bits"></a><h3>gnutls_sec_param_to_pk_bits ()</h3> -<pre class="programlisting"><span class="returnvalue">return</span> +<pre class="programlisting"><GTKDOCLINK HREF="return"><span class="returnvalue">return</span></GTKDOCLINK> gnutls_sec_param_to_pk_bits (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#GNUTLS-PK-DH:CAPS"><span class="type">GNUTLS_PK_DH</span></a> Param1</code></em>);</pre> <p>When generating private and public key pairs a difficult question is which size of "bits" the modulus will be in RSA and the group size @@ -10984,12 +10988,12 @@ appropriate size for the specific algorithm.</p> <hr> <div class="refsect2"> <a name="gnutls-server-name-get"></a><h3>gnutls_server_name_get ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_server_name_get (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *data_length</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> indx</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *data_length</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *type</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>);</pre> <p>This function will allow you to get the name indication (if any), a client has sent. The name indication may be any of the enumeration gnutls_server_name_type_t.</p> @@ -11054,11 +11058,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-server-name-set"></a><h3>gnutls_server_name_set ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_server_name_set (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-server-name-type-t" title="enum gnutls_server_name_type_t"><span class="type">gnutls_server_name_type_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *name</code></em>, - <em class="parameter"><code><span class="type">size_t</span> name_length</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> name_length</code></em>);</pre> <p>This function is to be used by clients that want to inform (via a TLS extension mechanism) the server of the name they connected to. This should be used by clients that connect to servers that do @@ -11111,10 +11115,10 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-channel-binding"></a><h3>gnutls_session_channel_binding ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_channel_binding (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-channel-binding-t" title="enum gnutls_channel_binding_t"><span class="type">gnutls_channel_binding_t</span></a> cbtype</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *cb</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cb</code></em>);</pre> <p>Extract given channel binding data of the <em class="parameter"><code>cbtype</code></em> (e.g., <a class="link" href="gnutls-gnutls.html#GNUTLS-CB-TLS-UNIQUE:CAPS"><code class="literal">GNUTLS_CB_TLS_UNIQUE</code></a>) type.</p> @@ -11159,7 +11163,7 @@ currently available, or an error code.</p> <hr> <div class="refsect2"> <a name="gnutls-session-enable-compatibility-mode"></a><h3>gnutls_session_enable_compatibility_mode ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_session_enable_compatibility_mode (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function can be used to disable certain (security) features in @@ -11189,10 +11193,10 @@ functions.</p> <hr> <div class="refsect2"> <a name="gnutls-session-get-data"></a><h3>gnutls_session_get_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_get_data (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *session_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *session_data_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *session_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *session_data_size</code></em>);</pre> <p>Returns all session parameters needed to be stored to support resumption. The client should call this, and store the returned session data. A session may be resumed later by calling <a class="link" href="gnutls-gnutls.html#gnutls-session-set-data" title="gnutls_session_set_data ()"><code class="function">gnutls_session_set_data()</code></a>. @@ -11234,9 +11238,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-get-data2"></a><h3>gnutls_session_get_data2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_get_data2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *data</code></em>);</pre> <p>Returns all session parameters needed to be stored to support resumption. The client should call this, and store the returned session data. A session may be resumed later by calling <a class="link" href="gnutls-gnutls.html#gnutls-session-set-data" title="gnutls_session_set_data ()"><code class="function">gnutls_session_set_data()</code></a>. @@ -11275,10 +11279,10 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-get-id"></a><h3>gnutls_session_get_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_get_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *session_id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *session_id_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *session_id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *session_id_size</code></em>);</pre> <p>Returns the current session ID. This can be used if you want to check if the next session you tried to resume was actually resumed. That is because resumed sessions share the same session ID @@ -11324,9 +11328,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-get-id2"></a><h3>gnutls_session_get_id2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_get_id2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *session_id</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *session_id</code></em>);</pre> <p>Returns the current session ID. The returned data should be treated as constant.</p> <div class="refsect3"> @@ -11362,7 +11366,7 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-get-ptr"></a><h3>gnutls_session_get_ptr ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> * +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> * gnutls_session_get_ptr (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Get user pointer for session. Useful in callbacks. This is the pointer set with <a class="link" href="gnutls-gnutls.html#gnutls-session-set-ptr" title="gnutls_session_set_ptr ()"><code class="function">gnutls_session_set_ptr()</code></a>.</p> @@ -11384,17 +11388,17 @@ gnutls_session_get_ptr (<em class="parameter"><code><a class="link" href="gnutls <div class="refsect3"> <a name="id-1.2.4.7.229.6"></a><h4>Returns</h4> <p> the user given pointer from the session structure, or -<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it was never set.</p> +<GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> if it was never set.</p> <p></p> </div> </div> <hr> <div class="refsect2"> <a name="gnutls-session-get-random"></a><h3>gnutls_session_get_random ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_session_get_random (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *client</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *server</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *client</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *server</code></em>);</pre> <p>This function returns pointers to the client and server random fields used in the TLS handshake. The pointers are not to be modified or deallocated.</p> @@ -11432,7 +11436,7 @@ will be garbage.</p> <hr> <div class="refsect2"> <a name="gnutls-session-is-resumed"></a><h3>gnutls_session_is_resumed ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_is_resumed (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Check whether session is resumed or not.</p> <div class="refsect3"> @@ -11460,7 +11464,7 @@ a new session.</p> <hr> <div class="refsect2"> <a name="gnutls-session-resumption-requested"></a><h3>gnutls_session_resumption_requested ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_resumption_requested (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Check whether the client has asked for session resumption. This function is valid only on server side.</p> @@ -11488,10 +11492,10 @@ This function is valid only on server side.</p> <hr> <div class="refsect2"> <a name="gnutls-session-set-data"></a><h3>gnutls_session_set_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_set_data (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *session_data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> session_data_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *session_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> session_data_size</code></em>);</pre> <p>Sets all session parameters, in order to resume a previously established session. The session data given must be the one returned by <a class="link" href="gnutls-gnutls.html#gnutls-session-get-data" title="gnutls_session_get_data ()"><code class="function">gnutls_session_get_data()</code></a>. This function should be @@ -11536,16 +11540,16 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-set-premaster"></a><h3>gnutls_session_set_premaster ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_set_premaster (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> entity</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> entity</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-protocol-t" title="enum gnutls_protocol_t"><span class="type">gnutls_protocol_t</span></a> version</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-kx-algorithm-t" title="enum gnutls_kx_algorithm_t"><span class="type">gnutls_kx_algorithm_t</span></a> kx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-cipher-algorithm-t" title="enum gnutls_cipher_algorithm_t"><span class="type">gnutls_cipher_algorithm_t</span></a> cipher</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-mac-algorithm-t" title="enum gnutls_mac_algorithm_t"><span class="type">gnutls_mac_algorithm_t</span></a> mac</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-compression-method-t" title="enum gnutls_compression_method_t"><span class="type">gnutls_compression_method_t</span></a> comp</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *master</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *session_id</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *master</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *session_id</code></em>);</pre> <p>This function sets the premaster secret in a session. This is a function intended for exceptional uses. Do not use this function unless you are implementing a legacy protocol. @@ -11617,9 +11621,9 @@ an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-session-set-ptr"></a><h3>gnutls_session_set_ptr ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_session_set_ptr (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *ptr</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ptr</code></em>);</pre> <p>This function will set (associate) the user given pointer <em class="parameter"><code>ptr</code></em> to the session structure. This pointer can be accessed with @@ -11650,7 +11654,7 @@ the session structure. This pointer can be accessed with <hr> <div class="refsect2"> <a name="gnutls-session-ticket-enable-client"></a><h3>gnutls_session_ticket_enable_client ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_ticket_enable_client (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Request that the client should attempt session resumption using SessionTicket.</p> @@ -11680,9 +11684,9 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-session-ticket-enable-server"></a><h3>gnutls_session_ticket_enable_server ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_session_ticket_enable_server (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *key</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>);</pre> <p>Request that the server should attempt session resumption using SessionTicket. <em class="parameter"><code>key</code></em> must be initialized with @@ -11720,8 +11724,8 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-session-ticket-key-generate"></a><h3>gnutls_session_ticket_key_generate ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_session_ticket_key_generate (<em class="parameter"><code><span class="type">gnutls_datum_t</span> *key</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_session_ticket_key_generate (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>);</pre> <p>Generate a random key to encrypt security parameters within SessionTicket.</p> <div class="refsect3"> @@ -11734,7 +11738,7 @@ SessionTicket.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>key</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_datum_t</span> which will contain a newly +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> which will contain a newly created key.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> @@ -11751,7 +11755,7 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-set-default-priority"></a><h3>gnutls_set_default_priority ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_set_default_priority (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Sets some default priority on the ciphers, key exchange methods, macs and compression methods.</p> @@ -11786,7 +11790,7 @@ use (which is recommended), you should use <hr> <div class="refsect2"> <a name="gnutls-sign-algorithm-get"></a><h3>gnutls_sign_algorithm_get ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_sign_algorithm_get (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>Returns the signature algorithm that is (or will be) used in this session by the server to sign data.</p> @@ -11815,9 +11819,9 @@ session by the server to sign data.</p> <hr> <div class="refsect2"> <a name="gnutls-sign-algorithm-get-requested"></a><h3>gnutls_sign_algorithm_get_requested ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_sign_algorithm_get_requested (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">size_t</span> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> indx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> *algo</code></em>);</pre> <p>Returns the signature algorithm specified by index that was requested by the peer. If the specified index has no data available @@ -11895,7 +11899,7 @@ the given signature algorithms.</p> <div class="refsect2"> <a name="gnutls-sign-get-id"></a><h3>gnutls_sign_get_id ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="returnvalue">gnutls_sign_algorithm_t</span></a> -gnutls_sign_get_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre> +gnutls_sign_get_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>);</pre> <p>The names are compared in a case insensitive way.</p> <div class="refsect3"> <a name="id-1.2.4.7.243.5"></a><h4>Parameters</h4> @@ -11922,7 +11926,7 @@ the specified algorithm, or <a class="link" href="gnutls-gnutls.html#GNUTLS-SIGN <hr> <div class="refsect2"> <a name="gnutls-sign-get-name"></a><h3>gnutls_sign_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_sign_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> algorithm</code></em>);</pre> <p>Convert a <a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> value to a string.</p> <div class="refsect3"> @@ -11943,7 +11947,7 @@ gnutls_sign_get_name (<em class="parameter"><code><a class="link" href="gnutls-g <div class="refsect3"> <a name="id-1.2.4.7.244.6"></a><h4>Returns</h4> <p> a string that contains the name of the specified sign -algorithm, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +algorithm, or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p></p> </div> </div> @@ -11979,7 +11983,7 @@ the given signature algorithms.</p> <hr> <div class="refsect2"> <a name="gnutls-sign-is-secure"></a><h3>gnutls_sign_is_secure ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_sign_is_secure (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> algorithm</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.4.7.246.4"></a><h4>Parameters</h4> @@ -12018,9 +12022,9 @@ integers indicating the available ciphers.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-allocate-client-credentials"></a><h3>gnutls_srp_allocate_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srp_allocate_client_credentials - (<em class="parameter"><code><span class="type">gnutls_srp_client_credentials_t</span> *sc</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> *sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -12033,7 +12037,7 @@ this helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_srp_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -12048,9 +12052,9 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-allocate-server-credentials"></a><h3>gnutls_srp_allocate_server_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srp_allocate_server_credentials - (<em class="parameter"><code><span class="type">gnutls_srp_server_credentials_t</span> *sc</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> *sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.</p> <div class="refsect3"> @@ -12063,7 +12067,7 @@ helper function is provided in order to allocate it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a pointer to a <span class="type">gnutls_srp_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a pointer to a <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -12078,10 +12082,10 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-base64-decode"></a><h3>gnutls_srp_base64_decode ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srp_base64_decode (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *b64_data</code></em>, - <em class="parameter"><code><span class="type">char</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srp_base64_decode (<em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *b64_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will decode the given encoded data, using the base64 encoding found in libsrp.</p> <p>Note that <em class="parameter"><code>b64_data</code></em> @@ -12125,9 +12129,9 @@ long enough, or 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-base64-decode-alloc"></a><h3>gnutls_srp_base64_decode_alloc ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srp_base64_decode_alloc (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *b64_data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *result</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srp_base64_decode_alloc (<em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *b64_data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *result</code></em>);</pre> <p>This function will decode the given encoded data. The decoded data will be allocated, and stored into result. It will decode using the base64 algorithm as used in libsrp.</p> @@ -12165,10 +12169,10 @@ do not use it for non-SRP purposes.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-base64-encode"></a><h3>gnutls_srp_base64_encode ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srp_base64_encode (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">char</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srp_base64_encode (<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><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will convert the given data to printable data, using the base64 encoding, as used in the libsrp. This is the encoding used in SRP password files. If the provided buffer is not long @@ -12212,9 +12216,9 @@ long enough, or 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-base64-encode-alloc"></a><h3>gnutls_srp_base64_encode_alloc ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srp_base64_encode_alloc (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *result</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srp_base64_encode_alloc (<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><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *result</code></em>);</pre> <p>This function will convert the given data to printable data, using the base64 encoding. This is the encoding used in SRP password files. This function will allocate the required memory to hold @@ -12253,8 +12257,8 @@ do not use it for non-SRP purposes.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-free-client-credentials"></a><h3>gnutls_srp_free_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_srp_free_client_credentials (<em class="parameter"><code><span class="type">gnutls_srp_client_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_srp_free_client_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <div class="refsect3"> @@ -12267,7 +12271,7 @@ this helper function is provided in order to free (deallocate) it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_srp_client_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -12276,8 +12280,8 @@ this helper function is provided in order to free (deallocate) it.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-free-server-credentials"></a><h3>gnutls_srp_free_server_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> -gnutls_srp_free_server_credentials (<em class="parameter"><code><span class="type">gnutls_srp_server_credentials_t</span> sc</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> +gnutls_srp_free_server_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> sc</code></em>);</pre> <p>This structure is complex enough to manipulate directly thus this helper function is provided in order to free (deallocate) it.</p> <div class="refsect3"> @@ -12290,7 +12294,7 @@ this helper function is provided in order to free (deallocate) it.</p> </colgroup> <tbody><tr> <td class="parameter_name"><p>sc</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_srp_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -12299,7 +12303,7 @@ this helper function is provided in order to free (deallocate) it.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-server-get-username"></a><h3>gnutls_srp_server_get_username ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_srp_server_get_username (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>);</pre> <p>This function will return the username of the peer. This should only be called in case of SRP authentication and in case of a @@ -12328,12 +12332,12 @@ server. Returns NULL in case of an error.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-set-client-credentials"></a><h3>gnutls_srp_set_client_credentials ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srp_set_client_credentials (<em class="parameter"><code><span class="type">gnutls_srp_client_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *username</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srp_set_client_credentials (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *username</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>);</pre> <p>This function sets the username and password, in a -<span class="type">gnutls_srp_client_credentials_t</span> structure. Those will be used in +<GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> structure. Those will be used in SRP authentication. <em class="parameter"><code>username</code></em> and <em class="parameter"><code>password</code></em> should be ASCII @@ -12350,7 +12354,7 @@ strings or UTF-8 strings prepared using the "SASLprep" profile of <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_srp_client_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -12376,10 +12380,10 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-set-client-credentials-function"></a><h3>gnutls_srp_set_client_credentials_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_srp_set_client_credentials_function - (<em class="parameter"><code><span class="type">gnutls_srp_client_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_srp_client_credentials_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-client-credentials-t"><span class="type">gnutls_srp_client_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-client-credentials-function"><span class="type">gnutls_srp_client_credentials_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function can be used to set a callback to retrieve the username and password for client SRP authentication. The callback's function form is:</p> @@ -12409,7 +12413,7 @@ time called, since the handshake procedure will be aborted.</p> <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_srp_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -12424,9 +12428,9 @@ time called, since the handshake procedure will be aborted.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-set-prime-bits"></a><h3>gnutls_srp_set_prime_bits ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_srp_set_prime_bits (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> bits</code></em>);</pre> <p>This function sets the minimum accepted number of bits, for use in an SRP key exchange. If zero, the default 2048 bits will be used.</p> <p>In the client side it sets the minimum accepted number of bits. If @@ -12461,13 +12465,13 @@ handshake.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-set-server-credentials-file"></a><h3>gnutls_srp_set_server_credentials_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srp_set_server_credentials_file - (<em class="parameter"><code><span class="type">gnutls_srp_server_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password_file</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password_conf_file</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password_file</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password_conf_file</code></em>);</pre> <p>This function sets the password files, in a -<span class="type">gnutls_srp_server_credentials_t</span> structure. Those password files +<GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure. Those password files hold usernames and verifiers and will be used for SRP authentication.</p> <div class="refsect3"> @@ -12481,7 +12485,7 @@ authentication.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_srp_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -12507,10 +12511,10 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-srp-set-server-credentials-function"></a><h3>gnutls_srp_set_server_credentials_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_srp_set_server_credentials_function - (<em class="parameter"><code><span class="type">gnutls_srp_server_credentials_t</span> cred</code></em>, - <em class="parameter"><code><span class="type">gnutls_srp_server_credentials_function</span> *func</code></em>);</pre> + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> cred</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-srp-server-credentials-function"><span class="type">gnutls_srp_server_credentials_function</span></GTKDOCLINK> *func</code></em>);</pre> <p>This function can be used to set a callback to retrieve the user's SRP credentials. The callback's function form is:</p> <p>int (*callback)(gnutls_session_t, const char* username, @@ -12531,7 +12535,7 @@ may also be one of the static parameters defined in gnutls.h.</p> if a user does not exist, g and n values should be filled in using a random user's parameters. In that case the callback must return the special value (1). -See <span class="type">gnutls_srp_set_server_fake_salt_seed</span> too. +See <GTKDOCLINK HREF="gnutls-srp-set-server-fake-salt-seed"><span class="type">gnutls_srp_set_server_fake_salt_seed</span></GTKDOCLINK> too. If this is not required for your application, return a negative number from the callback to abort the handshake.</p> <p>The callback function will only be called once per handshake. @@ -12548,7 +12552,7 @@ The callback function should return 0 on success, while <tbody> <tr> <td class="parameter_name"><p>cred</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_srp_server_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-srp-server-credentials-t"><span class="type">gnutls_srp_server_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -12563,13 +12567,13 @@ The callback function should return 0 on success, while <hr> <div class="refsect2"> <a name="gnutls-srp-verifier"></a><h3>gnutls_srp_verifier ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srp_verifier (<em class="parameter"><code>const <span class="type">char</span> *username</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *salt</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *generator</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *prime</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *res</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srp_verifier (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *username</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *salt</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *generator</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *prime</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *res</code></em>);</pre> <p>This function will create an SRP verifier, as specified in RFC2945. The <em class="parameter"><code>prime</code></em> and <em class="parameter"><code>generator</code></em> @@ -12631,14 +12635,14 @@ error code.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-get-keys"></a><h3>gnutls_srtp_get_keys ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srtp_get_keys (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">void</span> *key_material</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> key_material_size</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *client_key</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *client_salt</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *server_key</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *server_salt</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *key_material</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> key_material_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *client_key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *client_salt</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *server_key</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *server_salt</code></em>);</pre> <p>This is a helper function to generate the keying material for SRTP. It requires the space of the key material to be pre-allocated (should be at least 2x the maximum key size and salt size). The <em class="parameter"><code>client_key</code></em> @@ -12647,7 +12651,7 @@ It requires the space of the key material to be pre-allocated (should be at leas and <em class="parameter"><code>server_salt</code></em> are convenience datums that point inside the key material. They may -be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.4.7.263.5"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -12707,9 +12711,9 @@ sufficient, or a negative error code.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-get-mki"></a><h3>gnutls_srtp_get_mki ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srtp_get_mki (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *mki</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *mki</code></em>);</pre> <p>This function exports the negotiated Master Key Identifier, received by the peer if any. The returned value in <em class="parameter"><code>mki</code></em> should be @@ -12747,8 +12751,8 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-get-profile-id"></a><h3>gnutls_srtp_get_profile_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_srtp_get_profile_id (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_srtp_get_profile_id (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-srtp-profile-t" title="enum gnutls_srtp_profile_t"><span class="type">gnutls_srtp_profile_t</span></a> *profile</code></em>);</pre> <p>This function allows you to look up a profile based on a string.</p> <div class="refsect3"> @@ -12784,7 +12788,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-get-profile-name"></a><h3>gnutls_srtp_get_profile_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_srtp_get_profile_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-srtp-profile-t" title="enum gnutls_srtp_profile_t"><span class="type">gnutls_srtp_profile_t</span></a> profile</code></em>);</pre> <p>This function allows you to get the corresponding name for a SRTP protection profile.</p> @@ -12814,7 +12818,7 @@ otherwise NULL.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-get-selected-profile"></a><h3>gnutls_srtp_get_selected_profile ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srtp_get_selected_profile (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-srtp-profile-t" title="enum gnutls_srtp_profile_t"><span class="type">gnutls_srtp_profile_t</span></a> *profile</code></em>);</pre> <p>This function allows you to get the negotiated SRTP profile.</p> @@ -12851,9 +12855,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-set-mki"></a><h3>gnutls_srtp_set_mki ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srtp_set_mki (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *mki</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *mki</code></em>);</pre> <p>This function sets the Master Key Identifier, to be used by this session (if any).</p> <div class="refsect3"> @@ -12889,7 +12893,7 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-set-profile"></a><h3>gnutls_srtp_set_profile ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srtp_set_profile (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-srtp-profile-t" title="enum gnutls_srtp_profile_t"><span class="type">gnutls_srtp_profile_t</span></a> profile</code></em>);</pre> <p>This function is to be used by both clients and servers, to declare @@ -12927,10 +12931,10 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-srtp-set-profile-direct"></a><h3>gnutls_srtp_set_profile_direct ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_srtp_set_profile_direct (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *profiles</code></em>, - <em class="parameter"><code>const <span class="type">char</span> **err_pos</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *profiles</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **err_pos</code></em>);</pre> <p>This function is to be used by both clients and servers, to declare what SRTP profiles they support, to negotiate with the peer.</p> <div class="refsect3"> @@ -12972,15 +12976,15 @@ separated by colons.</p></td> <hr> <div class="refsect2"> <a name="gnutls-store-commitment"></a><h3>gnutls_store_commitment ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_store_commitment (<em class="parameter"><code>const <span class="type">char</span> *db_name</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_store_commitment (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *db_name</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *host</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *service</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *host</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *service</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> hash_algo</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *hash</code></em>, - <em class="parameter"><code><span class="type">time_t</span> expiration</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *hash</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> expiration</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will store the provided hash commitment to the list of stored public keys. The key with the given hash will be considered valid until the provided expiration time.</p> @@ -13052,15 +13056,15 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-store-pubkey"></a><h3>gnutls_store_pubkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_store_pubkey (<em class="parameter"><code>const <span class="type">char</span> *db_name</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_store_pubkey (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *db_name</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *host</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *service</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *host</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *service</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-t" title="enum gnutls_certificate_type_t"><span class="type">gnutls_certificate_type_t</span></a> cert_type</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, - <em class="parameter"><code><span class="type">time_t</span> expiration</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> expiration</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will store the provided (raw or DER-encoded) certificate to the list of stored public keys. The key will be considered valid until the provided expiration time.</p> @@ -13131,8 +13135,8 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-strdup"></a><h3>gnutls_strdup ()</h3> -<pre class="programlisting"><span class="returnvalue">char</span> * -<span class="c_punctuation">(</span>*gnutls_strdup<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">char</span> *Param1</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * +<span class="c_punctuation">(</span>*gnutls_strdup<span class="c_punctuation">)</span> (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *Param1</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13143,11 +13147,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-strerror"></a><h3>gnutls_strerror ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -gnutls_strerror (<em class="parameter"><code><span class="type">int</span> error</code></em>);</pre> +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * +gnutls_strerror (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> error</code></em>);</pre> <p>This function is similar to strerror. The difference is that it accepts an error number returned by a gnutls function; In case of -an unknown error a descriptive string is sent instead of <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> +an unknown error a descriptive string is sent instead of <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p> <p>Error codes are always a negative error code.</p> <div class="refsect3"> <a name="id-1.2.4.7.274.6"></a><h4>Parameters</h4> @@ -13173,8 +13177,8 @@ an unknown error a descriptive string is sent instead of <a href="/usr/share/gtk <hr> <div class="refsect2"> <a name="gnutls-strerror-name"></a><h3>gnutls_strerror_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -gnutls_strerror_name (<em class="parameter"><code><span class="type">int</span> error</code></em>);</pre> +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * +gnutls_strerror_name (<em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> error</code></em>);</pre> <p>Return the GnuTLS error code define as a string. For example, gnutls_strerror_name (GNUTLS_E_DH_PRIME_UNACCEPTABLE) will return the string "GNUTLS_E_DH_PRIME_UNACCEPTABLE".</p> @@ -13204,7 +13208,7 @@ code.</p> <hr> <div class="refsect2"> <a name="gnutls-tdb-deinit"></a><h3>gnutls_tdb_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_tdb_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>);</pre> <p>This function will deinitialize a public key trust storage structure.</p> <div class="refsect3"> @@ -13226,7 +13230,7 @@ gnutls_tdb_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnut <hr> <div class="refsect2"> <a name="gnutls-tdb-init"></a><h3>gnutls_tdb_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_tdb_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> *tdb</code></em>);</pre> <p>This function will initialize a public key trust storage structure.</p> <div class="refsect3"> @@ -13254,7 +13258,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-tdb-set-store-commitment-func"></a><h3>gnutls_tdb_set_store_commitment_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_tdb_set_store_commitment_func (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-store-commitment-func" title="gnutls_tdb_store_commitment_func ()"><span class="type">gnutls_tdb_store_commitment_func</span></a> cstore</code></em>);</pre> <p> @@ -13263,7 +13267,7 @@ gnutls_tdb_set_store_commitment_func (<em class="parameter"><code><a class="link <hr> <div class="refsect2"> <a name="gnutls-tdb-set-store-func"></a><h3>gnutls_tdb_set_store_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_tdb_set_store_func (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-store-func" title="gnutls_tdb_store_func ()"><span class="type">gnutls_tdb_store_func</span></a> store</code></em>);</pre> <p> @@ -13272,7 +13276,7 @@ gnutls_tdb_set_store_func (<em class="parameter"><code><a class="link" href="gnu <hr> <div class="refsect2"> <a name="gnutls-tdb-set-verify-func"></a><h3>gnutls_tdb_set_verify_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_tdb_set_verify_func (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-verify-func" title="gnutls_tdb_verify_func ()"><span class="type">gnutls_tdb_verify_func</span></a> verify</code></em>);</pre> <p> @@ -13281,13 +13285,13 @@ gnutls_tdb_set_verify_func (<em class="parameter"><code><a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-tdb-store-commitment-func"></a><h3>gnutls_tdb_store_commitment_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_tdb_store_commitment_func<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">char</span> *db_name</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *host</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *service</code></em>, - <em class="parameter"><code><span class="type">time_t</span> expiration</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_tdb_store_commitment_func<span class="c_punctuation">)</span> (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *db_name</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *host</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *service</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> expiration</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> hash_algo</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *hash</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *hash</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13298,12 +13302,12 @@ gnutls_tdb_set_verify_func (<em class="parameter"><code><a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-tdb-store-func"></a><h3>gnutls_tdb_store_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_tdb_store_func<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">char</span> *db_name</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *host</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *service</code></em>, - <em class="parameter"><code><span class="type">time_t</span> expiration</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *pubkey</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_tdb_store_func<span class="c_punctuation">)</span> (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *db_name</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *host</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *service</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> expiration</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *pubkey</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13314,11 +13318,11 @@ gnutls_tdb_set_verify_func (<em class="parameter"><code><a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-tdb-verify-func"></a><h3>gnutls_tdb_verify_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_tdb_verify_func<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">char</span> *db_name</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *host</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *service</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *pubkey</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_tdb_verify_func<span class="c_punctuation">)</span> (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *db_name</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *host</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *service</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *pubkey</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13329,9 +13333,9 @@ gnutls_tdb_set_verify_func (<em class="parameter"><code><a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-time-func"></a><h3>gnutls_time_func ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> -<span class="c_punctuation">(</span>*gnutls_time_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">time_t</span> *t</code></em>);</pre> -<p>Function prototype for <code class="function">time()</code>-like function. Set with +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_time_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *t</code></em>);</pre> +<p>Function prototype for <GTKDOCLINK HREF="time"><code class="function">time()</code></GTKDOCLINK>-like function. Set with <a class="link" href="gnutls-gnutls.html#gnutls-global-set-time-function" title="gnutls_global_set_time_function ()"><code class="function">gnutls_global_set_time_function()</code></a>.</p> <div class="refsect3"> <a name="id-1.2.4.7.284.5"></a><h4>Parameters</h4> @@ -13386,7 +13390,7 @@ PUSH and PULL). This must have been set using <hr> <div class="refsect2"> <a name="gnutls-transport-get-ptr2"></a><h3>gnutls_transport_get_ptr2 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_get_ptr2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> *recv_ptr</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> *send_ptr</code></em>);</pre> @@ -13424,9 +13428,9 @@ and PULL). These should have been set using <hr> <div class="refsect2"> <a name="gnutls-transport-set-errno"></a><h3>gnutls_transport_set_errno ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_errno (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code><span class="type">int</span> err</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> err</code></em>);</pre> <p>Store <em class="parameter"><code>err</code></em> in the session-specific errno variable. Useful values for <em class="parameter"><code>err</code></em> @@ -13465,7 +13469,7 @@ msvcr71.dll and gnutls is linked to msvcrt.dll).</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-errno-function"></a><h3>gnutls_transport_set_errno_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_errno_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-errno-func" title="gnutls_errno_func ()"><span class="type">gnutls_errno_func</span></a> errno_func</code></em>);</pre> <p>This is the function where you set a function to retrieve errno @@ -13490,7 +13494,7 @@ and should return the errno.</p> </tr> <tr> <td class="parameter_name"><p>errno_func</p></td> -<td class="parameter_description"><p>a callback function similar to <code class="function">write()</code></p></td> +<td class="parameter_description"><p>a callback function similar to <GTKDOCLINK HREF="write"><code class="function">write()</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -13501,7 +13505,7 @@ and should return the errno.</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-ptr"></a><h3>gnutls_transport_set_ptr ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_ptr (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> ptr</code></em>);</pre> <p>Used to set the first argument of the transport function (for push @@ -13533,7 +13537,7 @@ connection descriptor.</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-ptr2"></a><h3>gnutls_transport_set_ptr2 ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_ptr2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> recv_ptr</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> send_ptr</code></em>);</pre> @@ -13572,7 +13576,7 @@ pointers for receiving and sending.</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-pull-function"></a><h3>gnutls_transport_set_pull_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_pull_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pull-func" title="gnutls_pull_func ()"><span class="type">gnutls_pull_func</span></a> pull_func</code></em>);</pre> <p>This is the function where you set a function for gnutls to receive @@ -13599,7 +13603,7 @@ ssize_t (*gnutls_pull_func)(gnutls_transport_ptr_t, void*, size_t);</p> </tr> <tr> <td class="parameter_name"><p>pull_func</p></td> -<td class="parameter_description"><p>a callback function similar to <code class="function">read()</code></p></td> +<td class="parameter_description"><p>a callback function similar to <GTKDOCLINK HREF="read"><code class="function">read()</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -13609,7 +13613,7 @@ ssize_t (*gnutls_pull_func)(gnutls_transport_ptr_t, void*, size_t);</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-pull-timeout-function"></a><h3>gnutls_transport_set_pull_timeout_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_pull_timeout_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pull-timeout-func" title="gnutls_pull_timeout_func ()"><span class="type">gnutls_pull_timeout_func</span></a> func</code></em>);</pre> @@ -13617,9 +13621,9 @@ gnutls_transport_set_pull_timeout_function whether data are ready to be received. It should wait for data a given time frame in milliseconds. The callback should return 0 on timeout, a positive number if data can be received, and -1 on error. -You'll need to override this function if <code class="function">select()</code> is not suitable +You'll need to override this function if <GTKDOCLINK HREF="select"><code class="function">select()</code></GTKDOCLINK> is not suitable for the provided transport calls.</p> -<p>As with <code class="function">select()</code>, if the timeout value is zero the callback should return +<p>As with <GTKDOCLINK HREF="select"><code class="function">select()</code></GTKDOCLINK>, if the timeout value is zero the callback should return zero if no data are immediately available.</p> <p><em class="parameter"><code>gnutls_pull_timeout_func</code></em> is of the form, @@ -13651,7 +13655,7 @@ int (*gnutls_pull_timeout_func)(gnutls_transport_ptr_t, unsigned int ms);</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-push-function"></a><h3>gnutls_transport_set_push_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_push_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-push-func" title="gnutls_push_func ()"><span class="type">gnutls_push_func</span></a> push_func</code></em>);</pre> <p>This is the function where you set a push function for gnutls to @@ -13680,7 +13684,7 @@ ssize_t (*gnutls_push_func)(gnutls_transport_ptr_t, const void*, size_t);</p> </tr> <tr> <td class="parameter_name"><p>push_func</p></td> -<td class="parameter_description"><p>a callback function similar to <code class="function">write()</code></p></td> +<td class="parameter_description"><p>a callback function similar to <GTKDOCLINK HREF="write"><code class="function">write()</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -13690,7 +13694,7 @@ ssize_t (*gnutls_push_func)(gnutls_transport_ptr_t, const void*, size_t);</p> <hr> <div class="refsect2"> <a name="gnutls-transport-set-vec-push-function"></a><h3>gnutls_transport_set_vec_push_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_transport_set_vec_push_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-vec-push-func" title="gnutls_vec_push_func ()"><span class="type">gnutls_vec_push_func</span></a> vec_func</code></em>);</pre> @@ -13717,7 +13721,7 @@ ssize_t (*gnutls_vec_push_func) (gnutls_transport_ptr_t, const giovec_t * iov, i </tr> <tr> <td class="parameter_name"><p>vec_func</p></td> -<td class="parameter_description"><p>a callback function similar to <code class="function">writev()</code></p></td> +<td class="parameter_description"><p>a callback function similar to <GTKDOCLINK HREF="writev"><code class="function">writev()</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -13728,8 +13732,8 @@ ssize_t (*gnutls_vec_push_func) (gnutls_transport_ptr_t, const giovec_t * iov, i <hr> <div class="refsect2"> <a name="gnutls-url-is-supported"></a><h3>gnutls_url_is_supported ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_url_is_supported (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_url_is_supported (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>);</pre> <p>Check whether url is supported. Depending on the system libraries GnuTLS may support pkcs11 or tpmkey URLs.</p> <div class="refsect3"> @@ -13758,10 +13762,10 @@ it is not known.</p> <hr> <div class="refsect2"> <a name="gnutls-vec-push-func"></a><h3>gnutls_vec_push_func ()</h3> -<pre class="programlisting"><span class="returnvalue">ssize_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="ssize-t"><span class="returnvalue">ssize_t</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_vec_push_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-transport-ptr-t" title="gnutls_transport_ptr_t"><span class="type">gnutls_transport_ptr_t</span></a> Param1</code></em>, - <em class="parameter"><code>const <span class="type">giovec_t</span> *iov</code></em>, - <em class="parameter"><code><span class="type">int</span> iovcnt</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="giovec-t"><span class="type">giovec_t</span></GTKDOCLINK> *iov</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> iovcnt</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13772,14 +13776,14 @@ it is not known.</p> <hr> <div class="refsect2"> <a name="gnutls-verify-stored-pubkey"></a><h3>gnutls_verify_stored_pubkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_verify_stored_pubkey (<em class="parameter"><code>const <span class="type">char</span> *db_name</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_verify_stored_pubkey (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *db_name</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-tdb-t" title="gnutls_tdb_t"><span class="type">gnutls_tdb_t</span></a> tdb</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *host</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *service</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *host</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *service</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-type-t" title="enum gnutls_certificate_type_t"><span class="type">gnutls_certificate_type_t</span></a> cert_type</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will try to verify the provided (raw or DER-encoded) certificate using a list of stored public keys. The <em class="parameter"><code>service</code></em> field if non-NULL should @@ -13856,8 +13860,8 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="mutex-deinit-func"></a><h3>mutex_deinit_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*mutex_deinit_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> **mutex</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*mutex_deinit_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> **mutex</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13868,8 +13872,8 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="mutex-init-func"></a><h3>mutex_init_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*mutex_init_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> **mutex</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*mutex_init_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> **mutex</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13880,8 +13884,8 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="mutex-lock-func"></a><h3>mutex_lock_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*mutex_lock_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> **mutex</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*mutex_lock_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> **mutex</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -13892,8 +13896,8 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="mutex-unlock-func"></a><h3>mutex_unlock_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*mutex_unlock_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> **mutex</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*mutex_unlock_func<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> **mutex</code></em>);</pre> <p> </p> <div class="refsect3"> @@ -15354,7 +15358,7 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="GNUTLS-VERSION:CAPS"></a><h3>GNUTLS_VERSION</h3> -<pre class="programlisting">#define GNUTLS_VERSION "3.3.2" +<pre class="programlisting">#define GNUTLS_VERSION "3.3.4" </pre> <p> </p> @@ -15378,7 +15382,7 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="GNUTLS-VERSION-NUMBER:CAPS"></a><h3>GNUTLS_VERSION_NUMBER</h3> -<pre class="programlisting">#define GNUTLS_VERSION_NUMBER 0x030302 +<pre class="programlisting">#define GNUTLS_VERSION_NUMBER 0x030304 </pre> <p> </p> @@ -15386,7 +15390,7 @@ or a negative error value on other errors.</p> <hr> <div class="refsect2"> <a name="GNUTLS-VERSION-PATCH:CAPS"></a><h3>GNUTLS_VERSION_PATCH</h3> -<pre class="programlisting">#define GNUTLS_VERSION_PATCH 2 +<pre class="programlisting">#define GNUTLS_VERSION_PATCH 4 </pre> <p> </p> @@ -17400,7 +17404,7 @@ to be used by callbacks.</p> <tr> <td class="enum_member_name"><p><a name="GNUTLS-SEC-PARAM-MEDIUM:CAPS"></a>GNUTLS_SEC_PARAM_MEDIUM</p></td> <td class="enum_member_description"> -<p>112 bits of security (used to be <code class="literal">GNUTLS_SEC_PARAM_NORMAL</code>)</p> +<p>112 bits of security (used to be <GTKDOCLINK HREF="GNUTLS-SEC-PARAM-NORMAL:CAPS"><code class="literal">GNUTLS_SEC_PARAM_NORMAL</code></GTKDOCLINK>)</p> </td> <td class="enum_member_annotations"> </td> </tr> @@ -17810,6 +17814,10 @@ to be used by callbacks.</p> <a name="gnutls-x509-crl-int"></a><h3>gnutls_x509_crl_int</h3> <pre class="programlisting">typedef struct { ASN1_TYPE crl; + + /* This is used to optimize reads by gnutls_x509_crl_get_crt_serial2() */ + ASN1_TYPE rcache; + unsigned rcache_idx; int use_extensions; gnutls_datum_t raw_issuer_dn; } gnutls_x509_crl_int; @@ -17999,4 +18007,4 @@ to be used by callbacks.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-ocsp.html b/reference/gnutls-ocsp.html index 6d354ebc25..8236837315 100644 --- a/reference/gnutls-ocsp.html +++ b/reference/gnutls-ocsp.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-ocsp.html#gnutls-ocsp-req-add-cert" title="gnutls_ocsp_req_add_cert ()">gnutls_ocsp_req_add_cert</a> <span class="c_punctuation">()</span> @@ -50,7 +50,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-ocsp.html#gnutls-ocsp-req-add-cert-id" title="gnutls_ocsp_req_add_cert_id ()">gnutls_ocsp_req_add_cert_id</a> <span class="c_punctuation">()</span> @@ -58,7 +58,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-ocsp.html#gnutls-ocsp-req-deinit" title="gnutls_ocsp_req_deinit ()">gnutls_ocsp_req_deinit</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-ocsp.html#gnutls-ocsp-req-export" title="gnutls_ocsp_req_export ()">gnutls_ocsp_req_export</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-ocsp.html#gnutls-ocsp-req-get-cert-id" title="gnutls_ocsp_req_get_cert_id ()">gnutls_ocsp_req_get_cert_id</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-ocsp.html#gnutls-ocsp-req-get-extension" title="gnutls_ocsp_req_get_extension ()">gnutls_ocsp_req_get_extension</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-ocsp.html#gnutls-ocsp-req-get-nonce" title="gnutls_ocsp_req_get_nonce ()">gnutls_ocsp_req_get_nonce</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-ocsp.html#gnutls-ocsp-req-get-version" title="gnutls_ocsp_req_get_version ()">gnutls_ocsp_req_get_version</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-ocsp.html#gnutls-ocsp-req-import" title="gnutls_ocsp_req_import ()">gnutls_ocsp_req_import</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-ocsp.html#gnutls-ocsp-req-init" title="gnutls_ocsp_req_init ()">gnutls_ocsp_req_init</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-ocsp.html#gnutls-ocsp-req-print" title="gnutls_ocsp_req_print ()">gnutls_ocsp_req_print</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-ocsp.html#gnutls-ocsp-req-randomize-nonce" title="gnutls_ocsp_req_randomize_nonce ()">gnutls_ocsp_req_randomize_nonce</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-ocsp.html#gnutls-ocsp-req-set-extension" title="gnutls_ocsp_req_set_extension ()">gnutls_ocsp_req_set_extension</a> <span class="c_punctuation">()</span> @@ -146,7 +146,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-ocsp.html#gnutls-ocsp-req-set-nonce" title="gnutls_ocsp_req_set_nonce ()">gnutls_ocsp_req_set_nonce</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-ocsp.html#gnutls-ocsp-resp-check-crt" title="gnutls_ocsp_resp_check_crt ()">gnutls_ocsp_resp_check_crt</a> <span class="c_punctuation">()</span> @@ -162,7 +162,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-ocsp.html#gnutls-ocsp-resp-deinit" title="gnutls_ocsp_resp_deinit ()">gnutls_ocsp_resp_deinit</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-ocsp.html#gnutls-ocsp-resp-export" title="gnutls_ocsp_resp_export ()">gnutls_ocsp_resp_export</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-ocsp.html#gnutls-ocsp-resp-get-certs" title="gnutls_ocsp_resp_get_certs ()">gnutls_ocsp_resp_get_certs</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-ocsp.html#gnutls-ocsp-resp-get-extension" title="gnutls_ocsp_resp_get_extension ()">gnutls_ocsp_resp_get_extension</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-ocsp.html#gnutls-ocsp-resp-get-nonce" title="gnutls_ocsp_resp_get_nonce ()">gnutls_ocsp_resp_get_nonce</a> <span class="c_punctuation">()</span> @@ -202,7 +202,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-get-produced" title="gnutls_ocsp_resp_get_produced ()">gnutls_ocsp_resp_get_produced</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-ocsp.html#gnutls-ocsp-resp-get-responder" title="gnutls_ocsp_resp_get_responder ()">gnutls_ocsp_resp_get_responder</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-ocsp.html#gnutls-ocsp-resp-get-response" title="gnutls_ocsp_resp_get_response ()">gnutls_ocsp_resp_get_response</a> <span class="c_punctuation">()</span> @@ -226,7 +226,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-ocsp.html#gnutls-ocsp-resp-get-signature" title="gnutls_ocsp_resp_get_signature ()">gnutls_ocsp_resp_get_signature</a> <span class="c_punctuation">()</span> @@ -234,7 +234,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-ocsp.html#gnutls-ocsp-resp-get-signature-algorithm" title="gnutls_ocsp_resp_get_signature_algorithm ()">gnutls_ocsp_resp_get_signature_algorithm</a> <span class="c_punctuation">()</span> @@ -242,7 +242,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-ocsp.html#gnutls-ocsp-resp-get-single" title="gnutls_ocsp_resp_get_single ()">gnutls_ocsp_resp_get_single</a> <span class="c_punctuation">()</span> @@ -250,7 +250,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-ocsp.html#gnutls-ocsp-resp-get-status" title="gnutls_ocsp_resp_get_status ()">gnutls_ocsp_resp_get_status</a> <span class="c_punctuation">()</span> @@ -258,7 +258,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-ocsp.html#gnutls-ocsp-resp-get-version" title="gnutls_ocsp_resp_get_version ()">gnutls_ocsp_resp_get_version</a> <span class="c_punctuation">()</span> @@ -266,7 +266,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-ocsp.html#gnutls-ocsp-resp-import" title="gnutls_ocsp_resp_import ()">gnutls_ocsp_resp_import</a> <span class="c_punctuation">()</span> @@ -274,7 +274,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-ocsp.html#gnutls-ocsp-resp-init" title="gnutls_ocsp_resp_init ()">gnutls_ocsp_resp_init</a> <span class="c_punctuation">()</span> @@ -282,7 +282,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-ocsp.html#gnutls-ocsp-resp-print" title="gnutls_ocsp_resp_print ()">gnutls_ocsp_resp_print</a> <span class="c_punctuation">()</span> @@ -290,7 +290,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-ocsp.html#gnutls-ocsp-resp-verify" title="gnutls_ocsp_resp_verify ()">gnutls_ocsp_resp_verify</a> <span class="c_punctuation">()</span> @@ -298,7 +298,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-ocsp.html#gnutls-ocsp-resp-verify-direct" title="gnutls_ocsp_resp_verify_direct ()">gnutls_ocsp_resp_verify_direct</a> <span class="c_punctuation">()</span> @@ -372,7 +372,7 @@ <a name="gnutls-ocsp.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-ocsp-req-add-cert"></a><h3>gnutls_ocsp_req_add_cert ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_add_cert (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> digest</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> issuer</code></em>, @@ -429,12 +429,12 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-add-cert-id"></a><h3>gnutls_ocsp_req_add_cert_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_add_cert_id (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> digest</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *issuer_name_hash</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *issuer_key_hash</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *serial_number</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *issuer_name_hash</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *issuer_key_hash</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *serial_number</code></em>);</pre> <p>This function will add another request to the OCSP request for a particular certificate having the issuer name hash of <em class="parameter"><code>issuer_name_hash</code></em> @@ -444,25 +444,13 @@ hashed using <em class="parameter"><code>digest</code></em> ) and serial number <em class="parameter"><code>serial_number</code></em> .</p> <p>The information needed corresponds to the CertID structure:</p> -<div class="informalexample"> - <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> - <tbody> - <tr> - <td class="listing_lines" align="right"><pre>1 -2 -3 -4 -5</pre></td> - <td class="listing_code"><pre class="programlisting">CertID <span class="gtkdoc opt">::=</span> SEQUENCE <span class="gtkdoc opt">{</span> - hashAlgorithm AlgorithmIdentifier<span class="gtkdoc opt">,</span> - issuerNameHash OCTET STRING<span class="gtkdoc opt">, --</span> Hash of Issuer<span class="string">'s DN</span> -<span class="string"> issuerKeyHash OCTET STRING, -- Hash of Issuers public key</span> -<span class="string"> serialNumber CertificateSerialNumber }</span></pre></td> - </tr> - </tbody> - </table> -</div> - +<div class="informalexample"><pre class="programlisting"> + CertID ::= SEQUENCE { + hashAlgorithm AlgorithmIdentifier, + issuerNameHash OCTET STRING, -- Hash of Issuer's DN + issuerKeyHash OCTET STRING, -- Hash of Issuers public key + serialNumber CertificateSerialNumber } +</pre></div> <div class="refsect3"> <a name="id-1.2.11.7.3.7"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -510,7 +498,7 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-deinit"></a><h3>gnutls_ocsp_req_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_ocsp_req_deinit (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>);</pre> <p>This function will deinitialize a OCSP request structure.</p> <div class="refsect3"> @@ -532,9 +520,9 @@ gnutls_ocsp_req_deinit (<em class="parameter"><code><a class="link" href="gnutls <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-export"></a><h3>gnutls_ocsp_req_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_export (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <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 export the OCSP request to DER format.</p> <div class="refsect3"> <a name="id-1.2.11.7.5.5"></a><h4>Parameters</h4> @@ -568,36 +556,24 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-get-cert-id"></a><h3>gnutls_ocsp_req_get_cert_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_get_cert_id (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="unsigned"><span class="type">unsigned </span></GTKDOCLINK> indx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> *digest</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *issuer_name_hash</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *issuer_key_hash</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *serial_number</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *issuer_name_hash</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *issuer_key_hash</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *serial_number</code></em>);</pre> <p>This function will return the certificate information of the <em class="parameter"><code>indx</code></em> 'ed request in the OCSP request. The information returned corresponds to the CertID structure:</p> -<div class="informalexample"> - <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> - <tbody> - <tr> - <td class="listing_lines" align="right"><pre>1 -2 -3 -4 -5</pre></td> - <td class="listing_code"><pre class="programlisting">CertID <span class="gtkdoc opt">::=</span> SEQUENCE <span class="gtkdoc opt">{</span> - hashAlgorithm AlgorithmIdentifier<span class="gtkdoc opt">,</span> - issuerNameHash OCTET STRING<span class="gtkdoc opt">, --</span> Hash of Issuer<span class="string">'s DN</span> -<span class="string"> issuerKeyHash OCTET STRING, -- Hash of Issuers public key</span> -<span class="string"> serialNumber CertificateSerialNumber }</span></pre></td> - </tr> - </tbody> - </table> -</div> - +<div class="informalexample"><pre class="programlisting"> + CertID ::= SEQUENCE { + hashAlgorithm AlgorithmIdentifier, + issuerNameHash OCTET STRING, -- Hash of Issuer's DN + issuerKeyHash OCTET STRING, -- Hash of Issuers public key + serialNumber CertificateSerialNumber } +</pre></div> <p>Each of the pointers to output variables may be NULL to indicate that the caller is not interested in that value.</p> <div class="refsect3"> @@ -654,12 +630,12 @@ returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-get-extension"></a><h3>gnutls_ocsp_req_get_extension ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_get_extension (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> indx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="unsigned"><span class="type">unsigned </span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</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 all information about the requested extension in the OCSP request. The information returned is the OID, the critical flag, and the data itself. The extension OID @@ -722,10 +698,10 @@ be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-get-nonce"></a><h3>gnutls_ocsp_req_get_nonce ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_get_nonce (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *nonce</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *nonce</code></em>);</pre> <p>This function will return the OCSP request nonce extension data.</p> <p>The caller needs to deallocate memory by calling <a class="link" href="gnutls-gnutls.html#gnutls-free" title="gnutls_free"><code class="function">gnutls_free()</code></a> on <em class="parameter"><code>nonce->data</code></em> @@ -767,7 +743,7 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-get-version"></a><h3>gnutls_ocsp_req_get_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_get_version (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>);</pre> <p>This function will return the version of the OCSP request. Typically this is always 1 indicating version 1.</p> @@ -795,9 +771,9 @@ Typically this is always 1 indicating version 1.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-import"></a><h3>gnutls_ocsp_req_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_import (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</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 convert the given DER encoded OCSP request to the native <a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> format. The output will be stored in <em class="parameter"><code>req</code></em> @@ -834,7 +810,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-init"></a><h3>gnutls_ocsp_req_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_init (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> *req</code></em>);</pre> <p>This function will initialize an OCSP request structure.</p> <div class="refsect3"> @@ -862,10 +838,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-print"></a><h3>gnutls_ocsp_req_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_print (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, <em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-print-formats-t" title="enum gnutls_ocsp_print_formats_t"><span class="type">gnutls_ocsp_print_formats_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 pretty print a OCSP request, suitable for display to a human.</p> <p>If the format is <a class="link" href="gnutls-ocsp.html#GNUTLS-OCSP-PRINT-FULL:CAPS"><code class="literal">GNUTLS_OCSP_PRINT_FULL</code></a> then all fields of the @@ -909,7 +885,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-randomize-nonce"></a><h3>gnutls_ocsp_req_randomize_nonce ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_randomize_nonce (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>);</pre> <p>This function will add or update an nonce extension to the OCSP request with a newly generated random value.</p> @@ -938,11 +914,11 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-set-extension"></a><h3>gnutls_ocsp_req_set_extension ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_set_extension (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> critical</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="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> critical</code></em>, + <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 add an extension to the OCSP request. Calling this function multiple times for the same OID will overwrite values from earlier calls.</p> @@ -988,10 +964,10 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-req-set-nonce"></a><h3>gnutls_ocsp_req_set_nonce ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_req_set_nonce (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-req-t" title="gnutls_ocsp_req_t"><span class="type">gnutls_ocsp_req_t</span></a> req</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> critical</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *nonce</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> critical</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *nonce</code></em>);</pre> <p>This function will add an nonce extension to the OCSP request. Calling this function multiple times will overwrite values from earlier calls.</p> @@ -1032,9 +1008,9 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-check-crt"></a><h3>gnutls_ocsp_resp_check_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_check_crt (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</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 check whether the OCSP response is about the provided certificate.</p> @@ -1076,7 +1052,7 @@ negative error code is returned. </p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-deinit"></a><h3>gnutls_ocsp_resp_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_ocsp_resp_deinit (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>);</pre> <p>This function will deinitialize a OCSP response structure.</p> <div class="refsect3"> @@ -1098,9 +1074,9 @@ gnutls_ocsp_resp_deinit (<em class="parameter"><code><a class="link" href="gnutl <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-export"></a><h3>gnutls_ocsp_resp_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_export (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <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 export the OCSP response to DER format.</p> <div class="refsect3"> <a name="id-1.2.11.7.18.5"></a><h4>Parameters</h4> @@ -1134,10 +1110,10 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-certs"></a><h3>gnutls_ocsp_resp_get_certs ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_certs (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</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> **certs</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ncerts</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ncerts</code></em>);</pre> <p>This function will extract the X.509 certificates found in the Basic OCSP Response. The <em class="parameter"><code>certs</code></em> output variable will hold a newly @@ -1188,12 +1164,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-extension"></a><h3>gnutls_ocsp_resp_get_extension ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_extension (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> indx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="unsigned"><span class="type">unsigned </span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</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 all information about the requested extension in the OCSP response. The information returned is the OID, the critical flag, and the data itself. The extension OID @@ -1256,10 +1232,10 @@ be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-nonce"></a><h3>gnutls_ocsp_resp_get_nonce ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_nonce (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *nonce</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *nonce</code></em>);</pre> <p>This function will return the Basic OCSP Response nonce extension data.</p> <p>The caller needs to deallocate memory by calling <a class="link" href="gnutls-gnutls.html#gnutls-free" title="gnutls_free"><code class="function">gnutls_free()</code></a> on @@ -1302,7 +1278,7 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-produced"></a><h3>gnutls_ocsp_resp_get_produced ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_ocsp_resp_get_produced (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>);</pre> <p>This function will return the time when the OCSP response was signed.</p> @@ -1330,9 +1306,9 @@ signed.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-responder"></a><h3>gnutls_ocsp_resp_get_responder ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_responder (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *dn</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *dn</code></em>);</pre> <p>This function will extract the name of the Basic OCSP Response in the provided buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC2253. The output string @@ -1372,10 +1348,10 @@ negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-response"></a><h3>gnutls_ocsp_resp_get_response ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_response (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *response_type_oid</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *response</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *response_type_oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *response</code></em>);</pre> <p>This function will extract the response type OID in and the response data from an OCSP response. Normally the <em class="parameter"><code>response_type_oid</code></em> @@ -1424,9 +1400,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-signature"></a><h3>gnutls_ocsp_resp_get_signature ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_signature (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *sig</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *sig</code></em>);</pre> <p>This function will extract the signature field of a OCSP response.</p> <div class="refsect3"> <a name="id-1.2.11.7.25.5"></a><h4>Parameters</h4> @@ -1460,7 +1436,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-signature-algorithm"></a><h3>gnutls_ocsp_resp_get_signature_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_signature_algorithm (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>);</pre> <p>This function will return a value of the <a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> @@ -1491,18 +1467,18 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-single"></a><h3>gnutls_ocsp_resp_get_single ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_single (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="unsigned"><span class="type">unsigned </span></GTKDOCLINK> indx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> *digest</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *issuer_name_hash</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *issuer_key_hash</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *serial_number</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *cert_status</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *this_update</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *next_update</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *revocation_time</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *revocation_reason</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *issuer_name_hash</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *issuer_key_hash</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *serial_number</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *cert_status</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *this_update</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *next_update</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *revocation_time</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *revocation_reason</code></em>);</pre> <p>This function will return the certificate information of the <em class="parameter"><code>indx</code></em> 'ed response in the Basic OCSP Response <em class="parameter"><code>resp</code></em> @@ -1591,7 +1567,7 @@ returned.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-status"></a><h3>gnutls_ocsp_resp_get_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_status (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>);</pre> <p>This function will return the status of a OCSP response, an <a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-status-t" title="enum gnutls_ocsp_resp_status_t"><span class="type">gnutls_ocsp_resp_status_t</span></a> enumeration.</p> @@ -1620,7 +1596,7 @@ a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-get-version"></a><h3>gnutls_ocsp_resp_get_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_get_version (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>);</pre> <p>This function will return the version of the Basic OCSP Response. Typically this is always 1 indicating version 1.</p> @@ -1649,9 +1625,9 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-import"></a><h3>gnutls_ocsp_resp_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_import (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</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 convert the given DER encoded OCSP response to the native <a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> format. It also decodes the Basic OCSP Response part, if any. The output will be stored in <em class="parameter"><code>resp</code></em> @@ -1688,7 +1664,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-init"></a><h3>gnutls_ocsp_resp_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_init (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> *resp</code></em>);</pre> <p>This function will initialize an OCSP response structure.</p> <div class="refsect3"> @@ -1716,10 +1692,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-print"></a><h3>gnutls_ocsp_resp_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_print (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, <em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-print-formats-t" title="enum gnutls_ocsp_print_formats_t"><span class="type">gnutls_ocsp_print_formats_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 pretty print a OCSP response, suitable for display to a human.</p> <p>If the format is <a class="link" href="gnutls-ocsp.html#GNUTLS-OCSP-PRINT-FULL:CAPS"><code class="literal">GNUTLS_OCSP_PRINT_FULL</code></a> then all fields of the @@ -1763,11 +1739,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-verify"></a><h3>gnutls_ocsp_resp_verify ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_verify (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</code></em>, <em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> trustlist</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</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> *verify</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>Verify signature of the Basic OCSP Response against the public key in the certificate of a trusted signer. The <em class="parameter"><code>trustlist</code></em> should be @@ -1833,11 +1809,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-ocsp-resp-verify-direct"></a><h3>gnutls_ocsp_resp_verify_direct ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_ocsp_resp_verify_direct (<em class="parameter"><code><a class="link" href="gnutls-ocsp.html#gnutls-ocsp-resp-t" title="gnutls_ocsp_resp_t"><span class="type">gnutls_ocsp_resp_t</span></a> resp</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> issuer</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</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> *verify</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>Verify signature of the Basic OCSP Response against the public key in the <em class="parameter"><code>issuer</code></em> certificate.</p> @@ -2222,4 +2198,4 @@ ReasonFlags ASN.1 bit string.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-openpgp.html b/reference/gnutls-openpgp.html index 256fb6aa44..af2c09d6be 100644 --- a/reference/gnutls-openpgp.html +++ b/reference/gnutls-openpgp.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-openpgp.html#gnutls-certificate-set-openpgp-key" title="gnutls_certificate_set_openpgp_key ()">gnutls_certificate_set_openpgp_key</a> <span class="c_punctuation">()</span> @@ -50,7 +50,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-openpgp.html#gnutls-certificate-set-openpgp-key-file" title="gnutls_certificate_set_openpgp_key_file ()">gnutls_certificate_set_openpgp_key_file</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-openpgp.html#gnutls-certificate-set-openpgp-key-file2" title="gnutls_certificate_set_openpgp_key_file2 ()">gnutls_certificate_set_openpgp_key_file2</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-openpgp.html#gnutls-certificate-set-openpgp-key-mem" title="gnutls_certificate_set_openpgp_key_mem ()">gnutls_certificate_set_openpgp_key_mem</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-openpgp.html#gnutls-certificate-set-openpgp-key-mem2" title="gnutls_certificate_set_openpgp_key_mem2 ()">gnutls_certificate_set_openpgp_key_mem2</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-openpgp.html#gnutls-certificate-set-openpgp-keyring-file" title="gnutls_certificate_set_openpgp_keyring_file ()">gnutls_certificate_set_openpgp_keyring_file</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-openpgp.html#gnutls-certificate-set-openpgp-keyring-mem" title="gnutls_certificate_set_openpgp_keyring_mem ()">gnutls_certificate_set_openpgp_keyring_mem</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-openpgp.html#gnutls-openpgp-crt-check-hostname" title="gnutls_openpgp_crt_check_hostname ()">gnutls_openpgp_crt_check_hostname</a> <span class="c_punctuation">()</span> @@ -106,7 +106,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-openpgp.html#gnutls-openpgp-crt-deinit" title="gnutls_openpgp_crt_deinit ()">gnutls_openpgp_crt_deinit</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-openpgp.html#gnutls-openpgp-crt-export" title="gnutls_openpgp_crt_export ()">gnutls_openpgp_crt_export</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-openpgp.html#gnutls-openpgp-crt-export2" title="gnutls_openpgp_crt_export2 ()">gnutls_openpgp_crt_export2</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-openpgp.html#gnutls-openpgp-crt-get-auth-subkey" title="gnutls_openpgp_crt_get_auth_subkey ()">gnutls_openpgp_crt_get_auth_subkey</a> <span class="c_punctuation">()</span> @@ -138,7 +138,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-get-creation-time" title="gnutls_openpgp_crt_get_creation_time ()">gnutls_openpgp_crt_get_creation_time</a> <span class="c_punctuation">()</span> @@ -146,7 +146,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-get-expiration-time" title="gnutls_openpgp_crt_get_expiration_time ()">gnutls_openpgp_crt_get_expiration_time</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-openpgp.html#gnutls-openpgp-crt-get-fingerprint" title="gnutls_openpgp_crt_get_fingerprint ()">gnutls_openpgp_crt_get_fingerprint</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-openpgp.html#gnutls-openpgp-crt-get-key-id" title="gnutls_openpgp_crt_get_key_id ()">gnutls_openpgp_crt_get_key_id</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-openpgp.html#gnutls-openpgp-crt-get-key-usage" title="gnutls_openpgp_crt_get_key_usage ()">gnutls_openpgp_crt_get_key_usage</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-openpgp.html#gnutls-openpgp-crt-get-name" title="gnutls_openpgp_crt_get_name ()">gnutls_openpgp_crt_get_name</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-openpgp.html#gnutls-openpgp-crt-get-pk-dsa-raw" title="gnutls_openpgp_crt_get_pk_dsa_raw ()">gnutls_openpgp_crt_get_pk_dsa_raw</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-openpgp.html#gnutls-openpgp-crt-get-pk-rsa-raw" title="gnutls_openpgp_crt_get_pk_rsa_raw ()">gnutls_openpgp_crt_get_pk_rsa_raw</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-openpgp.html#gnutls-openpgp-crt-get-preferred-key-id" title="gnutls_openpgp_crt_get_preferred_key_id ()">gnutls_openpgp_crt_get_preferred_key_id</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-openpgp.html#gnutls-openpgp-crt-get-revoked-status" title="gnutls_openpgp_crt_get_revoked_status ()">gnutls_openpgp_crt_get_revoked_status</a> <span class="c_punctuation">()</span> @@ -226,7 +226,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-openpgp.html#gnutls-openpgp-crt-get-subkey-count" title="gnutls_openpgp_crt_get_subkey_count ()">gnutls_openpgp_crt_get_subkey_count</a> <span class="c_punctuation">()</span> @@ -234,7 +234,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-get-subkey-creation-time" title="gnutls_openpgp_crt_get_subkey_creation_time ()">gnutls_openpgp_crt_get_subkey_creation_time</a> <span class="c_punctuation">()</span> @@ -242,7 +242,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-get-subkey-expiration-time" title="gnutls_openpgp_crt_get_subkey_expiration_time ()">gnutls_openpgp_crt_get_subkey_expiration_time</a> <span class="c_punctuation">()</span> @@ -250,7 +250,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-openpgp.html#gnutls-openpgp-crt-get-subkey-fingerprint" title="gnutls_openpgp_crt_get_subkey_fingerprint ()">gnutls_openpgp_crt_get_subkey_fingerprint</a> <span class="c_punctuation">()</span> @@ -258,7 +258,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-openpgp.html#gnutls-openpgp-crt-get-subkey-id" title="gnutls_openpgp_crt_get_subkey_id ()">gnutls_openpgp_crt_get_subkey_id</a> <span class="c_punctuation">()</span> @@ -266,7 +266,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-openpgp.html#gnutls-openpgp-crt-get-subkey-idx" title="gnutls_openpgp_crt_get_subkey_idx ()">gnutls_openpgp_crt_get_subkey_idx</a> <span class="c_punctuation">()</span> @@ -282,7 +282,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-openpgp.html#gnutls-openpgp-crt-get-subkey-pk-dsa-raw" title="gnutls_openpgp_crt_get_subkey_pk_dsa_raw ()">gnutls_openpgp_crt_get_subkey_pk_dsa_raw</a> <span class="c_punctuation">()</span> @@ -290,7 +290,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-openpgp.html#gnutls-openpgp-crt-get-subkey-pk-rsa-raw" title="gnutls_openpgp_crt_get_subkey_pk_rsa_raw ()">gnutls_openpgp_crt_get_subkey_pk_rsa_raw</a> <span class="c_punctuation">()</span> @@ -298,7 +298,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-openpgp.html#gnutls-openpgp-crt-get-subkey-revoked-status" title="gnutls_openpgp_crt_get_subkey_revoked_status ()">gnutls_openpgp_crt_get_subkey_revoked_status</a> <span class="c_punctuation">()</span> @@ -306,7 +306,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-openpgp.html#gnutls-openpgp-crt-get-subkey-usage" title="gnutls_openpgp_crt_get_subkey_usage ()">gnutls_openpgp_crt_get_subkey_usage</a> <span class="c_punctuation">()</span> @@ -314,7 +314,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-openpgp.html#gnutls-openpgp-crt-get-version" title="gnutls_openpgp_crt_get_version ()">gnutls_openpgp_crt_get_version</a> <span class="c_punctuation">()</span> @@ -322,7 +322,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-openpgp.html#gnutls-openpgp-crt-import" title="gnutls_openpgp_crt_import ()">gnutls_openpgp_crt_import</a> <span class="c_punctuation">()</span> @@ -330,7 +330,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-openpgp.html#gnutls-openpgp-crt-init" title="gnutls_openpgp_crt_init ()">gnutls_openpgp_crt_init</a> <span class="c_punctuation">()</span> @@ -338,7 +338,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-openpgp.html#gnutls-openpgp-crt-print" title="gnutls_openpgp_crt_print ()">gnutls_openpgp_crt_print</a> <span class="c_punctuation">()</span> @@ -346,7 +346,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-openpgp.html#gnutls-openpgp-crt-set-preferred-key-id" title="gnutls_openpgp_crt_set_preferred_key_id ()">gnutls_openpgp_crt_set_preferred_key_id</a> <span class="c_punctuation">()</span> @@ -354,7 +354,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-openpgp.html#gnutls-openpgp-crt-verify-ring" title="gnutls_openpgp_crt_verify_ring ()">gnutls_openpgp_crt_verify_ring</a> <span class="c_punctuation">()</span> @@ -362,7 +362,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-openpgp.html#gnutls-openpgp-crt-verify-self" title="gnutls_openpgp_crt_verify_self ()">gnutls_openpgp_crt_verify_self</a> <span class="c_punctuation">()</span> @@ -370,7 +370,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-openpgp.html#gnutls-openpgp-keyring-check-id" title="gnutls_openpgp_keyring_check_id ()">gnutls_openpgp_keyring_check_id</a> <span class="c_punctuation">()</span> @@ -378,7 +378,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-openpgp.html#gnutls-openpgp-keyring-deinit" title="gnutls_openpgp_keyring_deinit ()">gnutls_openpgp_keyring_deinit</a> <span class="c_punctuation">()</span> @@ -386,7 +386,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-openpgp.html#gnutls-openpgp-keyring-get-crt" title="gnutls_openpgp_keyring_get_crt ()">gnutls_openpgp_keyring_get_crt</a> <span class="c_punctuation">()</span> @@ -394,7 +394,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-openpgp.html#gnutls-openpgp-keyring-get-crt-count" title="gnutls_openpgp_keyring_get_crt_count ()">gnutls_openpgp_keyring_get_crt_count</a> <span class="c_punctuation">()</span> @@ -402,7 +402,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-openpgp.html#gnutls-openpgp-keyring-import" title="gnutls_openpgp_keyring_import ()">gnutls_openpgp_keyring_import</a> <span class="c_punctuation">()</span> @@ -410,7 +410,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-openpgp.html#gnutls-openpgp-keyring-init" title="gnutls_openpgp_keyring_init ()">gnutls_openpgp_keyring_init</a> <span class="c_punctuation">()</span> @@ -418,7 +418,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-openpgp.html#gnutls-openpgp-privkey-deinit" title="gnutls_openpgp_privkey_deinit ()">gnutls_openpgp_privkey_deinit</a> <span class="c_punctuation">()</span> @@ -426,7 +426,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-openpgp.html#gnutls-openpgp-privkey-export" title="gnutls_openpgp_privkey_export ()">gnutls_openpgp_privkey_export</a> <span class="c_punctuation">()</span> @@ -434,7 +434,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-openpgp.html#gnutls-openpgp-privkey-export2" title="gnutls_openpgp_privkey_export2 ()">gnutls_openpgp_privkey_export2</a> <span class="c_punctuation">()</span> @@ -442,7 +442,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-openpgp.html#gnutls-openpgp-privkey-export-dsa-raw" title="gnutls_openpgp_privkey_export_dsa_raw ()">gnutls_openpgp_privkey_export_dsa_raw</a> <span class="c_punctuation">()</span> @@ -450,7 +450,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-openpgp.html#gnutls-openpgp-privkey-export-rsa-raw" title="gnutls_openpgp_privkey_export_rsa_raw ()">gnutls_openpgp_privkey_export_rsa_raw</a> <span class="c_punctuation">()</span> @@ -458,7 +458,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-openpgp.html#gnutls-openpgp-privkey-export-subkey-dsa-raw" title="gnutls_openpgp_privkey_export_subkey_dsa_raw ()">gnutls_openpgp_privkey_export_subkey_dsa_raw</a> <span class="c_punctuation">()</span> @@ -466,7 +466,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-openpgp.html#gnutls-openpgp-privkey-export-subkey-rsa-raw" title="gnutls_openpgp_privkey_export_subkey_rsa_raw ()">gnutls_openpgp_privkey_export_subkey_rsa_raw</a> <span class="c_punctuation">()</span> @@ -474,7 +474,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-openpgp.html#gnutls-openpgp-privkey-get-fingerprint" title="gnutls_openpgp_privkey_get_fingerprint ()">gnutls_openpgp_privkey_get_fingerprint</a> <span class="c_punctuation">()</span> @@ -482,7 +482,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-openpgp.html#gnutls-openpgp-privkey-get-key-id" title="gnutls_openpgp_privkey_get_key_id ()">gnutls_openpgp_privkey_get_key_id</a> <span class="c_punctuation">()</span> @@ -498,7 +498,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-openpgp.html#gnutls-openpgp-privkey-get-preferred-key-id" title="gnutls_openpgp_privkey_get_preferred_key_id ()">gnutls_openpgp_privkey_get_preferred_key_id</a> <span class="c_punctuation">()</span> @@ -506,7 +506,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-openpgp.html#gnutls-openpgp-privkey-get-revoked-status" title="gnutls_openpgp_privkey_get_revoked_status ()">gnutls_openpgp_privkey_get_revoked_status</a> <span class="c_punctuation">()</span> @@ -514,7 +514,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-openpgp.html#gnutls-openpgp-privkey-get-subkey-count" title="gnutls_openpgp_privkey_get_subkey_count ()">gnutls_openpgp_privkey_get_subkey_count</a> <span class="c_punctuation">()</span> @@ -522,7 +522,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-openpgp.html#gnutls-openpgp-privkey-get-subkey-creation-time" title="gnutls_openpgp_privkey_get_subkey_creation_time ()">gnutls_openpgp_privkey_get_subkey_creation_time</a> <span class="c_punctuation">()</span> @@ -530,7 +530,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-openpgp.html#gnutls-openpgp-privkey-get-subkey-expiration-time" title="gnutls_openpgp_privkey_get_subkey_expiration_time ()">gnutls_openpgp_privkey_get_subkey_expiration_time</a> <span class="c_punctuation">()</span> @@ -538,7 +538,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-openpgp.html#gnutls-openpgp-privkey-get-subkey-fingerprint" title="gnutls_openpgp_privkey_get_subkey_fingerprint ()">gnutls_openpgp_privkey_get_subkey_fingerprint</a> <span class="c_punctuation">()</span> @@ -546,7 +546,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-openpgp.html#gnutls-openpgp-privkey-get-subkey-id" title="gnutls_openpgp_privkey_get_subkey_id ()">gnutls_openpgp_privkey_get_subkey_id</a> <span class="c_punctuation">()</span> @@ -554,7 +554,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-openpgp.html#gnutls-openpgp-privkey-get-subkey-idx" title="gnutls_openpgp_privkey_get_subkey_idx ()">gnutls_openpgp_privkey_get_subkey_idx</a> <span class="c_punctuation">()</span> @@ -570,7 +570,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-openpgp.html#gnutls-openpgp-privkey-get-subkey-revoked-status" title="gnutls_openpgp_privkey_get_subkey_revoked_status ()">gnutls_openpgp_privkey_get_subkey_revoked_status</a> <span class="c_punctuation">()</span> @@ -578,7 +578,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-openpgp.html#gnutls-openpgp-privkey-import" title="gnutls_openpgp_privkey_import ()">gnutls_openpgp_privkey_import</a> <span class="c_punctuation">()</span> @@ -586,7 +586,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-openpgp.html#gnutls-openpgp-privkey-init" title="gnutls_openpgp_privkey_init ()">gnutls_openpgp_privkey_init</a> <span class="c_punctuation">()</span> @@ -602,7 +602,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-openpgp.html#gnutls-openpgp-privkey-set-preferred-key-id" title="gnutls_openpgp_privkey_set_preferred_key_id ()">gnutls_openpgp_privkey_set_preferred_key_id</a> <span class="c_punctuation">()</span> @@ -610,7 +610,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-recv-key-func" title="gnutls_openpgp_recv_key_func ()">*gnutls_openpgp_recv_key_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -618,7 +618,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-openpgp.html#gnutls-openpgp-set-recv-key-function" title="gnutls_openpgp_set_recv_key_function ()">gnutls_openpgp_set_recv_key_function</a> <span class="c_punctuation">()</span> @@ -664,8 +664,8 @@ <a name="gnutls-openpgp.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-key"></a><h3>gnutls_certificate_set_openpgp_key ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_certificate_set_openpgp_key (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_certificate_set_openpgp_key (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> pkey</code></em>);</pre> <p>This function sets a certificate/private key pair in the @@ -686,7 +686,7 @@ Otherwise the master key will be used.</p> <tbody> <tr> <td class="parameter_name"><p>res</p></td> -<td class="parameter_description"><p>is a <span class="type">gnutls_certificate_credentials_t</span> structure.</p></td> +<td class="parameter_description"><p>is a <GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> structure.</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -712,11 +712,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-key-file"></a><h3>gnutls_certificate_set_openpgp_key_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_openpgp_key_file - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *certfile</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *keyfile</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *certfile</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *keyfile</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>This funtion is used to load OpenPGP keys into the GnuTLS credentials structure. The file should contain at least one valid non encrypted subkey.</p> @@ -762,12 +762,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-key-file2"></a><h3>gnutls_certificate_set_openpgp_key_file2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_openpgp_key_file2 - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *certfile</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *keyfile</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *subkey_id</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *certfile</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *keyfile</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *subkey_id</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>This funtion is used to load OpenPGP keys into the GnuTLS credential structure. The file should contain at least one valid non encrypted subkey.</p> @@ -823,11 +823,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-key-mem"></a><h3>gnutls_certificate_set_openpgp_key_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_openpgp_key_mem - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *key</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>This funtion is used to load OpenPGP keys into the GnuTLS credential structure. The datum should contain at least one valid non encrypted subkey.</p> @@ -873,12 +873,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-key-mem2"></a><h3>gnutls_certificate_set_openpgp_key_mem2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_openpgp_key_mem2 - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> res</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cert</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *subkey_id</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> res</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cert</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *subkey_id</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>This funtion is used to load OpenPGP keys into the GnuTLS credentials structure. The datum should contain at least one valid non encrypted subkey.</p> @@ -934,10 +934,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-keyring-file"></a><h3>gnutls_certificate_set_openpgp_keyring_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_openpgp_keyring_file - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> c</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *file</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> c</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *file</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>The function is used to set keyrings that will be used internally by various OpenPGP functions. For example to find a key when it @@ -980,11 +980,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-certificate-set-openpgp-keyring-mem"></a><h3>gnutls_certificate_set_openpgp_keyring_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_certificate_set_openpgp_keyring_mem - (<em class="parameter"><code><span class="type">gnutls_certificate_credentials_t</span> c</code></em>, - <em class="parameter"><code>const unsigned <span class="type">char</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> dlen</code></em>, + (<em class="parameter"><code><GTKDOCLINK HREF="gnutls-certificate-credentials-t"><span class="type">gnutls_certificate_credentials_t</span></GTKDOCLINK> c</code></em>, + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> dlen</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>The function is used to set keyrings that will be used internally by various OpenPGP functions. For example to find a key when it @@ -1032,9 +1032,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-check-hostname"></a><h3>gnutls_openpgp_crt_check_hostname ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_check_hostname (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *hostname</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *hostname</code></em>);</pre> <p>This function will check if the given key's owner matches the given hostname. This is a basic implementation of the matching described in RFC2818 (HTTPS), which takes into account wildcards.</p> @@ -1069,7 +1069,7 @@ described in RFC2818 (HTTPS), which takes into account wildcards.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-deinit"></a><h3>gnutls_openpgp_crt_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_openpgp_crt_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>);</pre> <p>This function will deinitialize a key structure.</p> <div class="refsect3"> @@ -1091,11 +1091,11 @@ gnutls_openpgp_crt_deinit (<em class="parameter"><code><a class="link" href="gnu <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-export"></a><h3>gnutls_openpgp_crt_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_export (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_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 convert the given key to RAW or Base64 format. If the buffer provided is not long enough to hold the output, then <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SHORT-MEMORY-BUFFER:CAPS" title="GNUTLS_E_SHORT_MEMORY_BUFFER"><code class="literal">GNUTLS_E_SHORT_MEMORY_BUFFER</code></a> will be returned.</p> @@ -1141,10 +1141,10 @@ be replaced by the actual size of parameters)</p></td> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-export2"></a><h3>gnutls_openpgp_crt_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_export2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_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 convert the given key to RAW or Base64 format. 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> <div class="refsect3"> @@ -1184,10 +1184,10 @@ The output buffer is allocated using <a class="link" href="gnutls-gnutls.html#gn <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-auth-subkey"></a><h3>gnutls_openpgp_crt_get_auth_subkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_auth_subkey (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flag</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flag</code></em>);</pre> <p>Returns the 64-bit keyID of the first valid OpenPGP subkey marked for authentication. If flag is non-zero and no authentication subkey exists, then a valid subkey will be returned even if it is @@ -1228,7 +1228,7 @@ not marked for authentication.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-creation-time"></a><h3>gnutls_openpgp_crt_get_creation_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_openpgp_crt_get_creation_time (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>);</pre> <p>Get key creation time.</p> <div class="refsect3"> @@ -1255,7 +1255,7 @@ gnutls_openpgp_crt_get_creation_time (<em class="parameter"><code><a class="link <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-expiration-time"></a><h3>gnutls_openpgp_crt_get_expiration_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_openpgp_crt_get_expiration_time (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>);</pre> <p>Get key expiration time. A value of '0' means that the key doesn't @@ -1284,10 +1284,10 @@ expire at all.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-fingerprint"></a><h3>gnutls_openpgp_crt_get_fingerprint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_fingerprint (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">void</span> *fpr</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *fprlen</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *fpr</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *fprlen</code></em>);</pre> <p>Get key fingerprint. Depending on the algorithm, the fingerprint can be 16 or 20 bytes.</p> <div class="refsect3"> @@ -1326,9 +1326,9 @@ can be 16 or 20 bytes.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-key-id"></a><h3>gnutls_openpgp_crt_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_openpgp_crt_get_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get key id string.</p> <div class="refsect3"> <a name="id-1.2.7.7.17.5"></a><h4>Parameters</h4> @@ -1362,9 +1362,9 @@ gnutls_openpgp_crt_get_key_id (<em class="parameter"><code><a class="link" href= <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-key-usage"></a><h3>gnutls_openpgp_crt_get_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_key_usage (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *key_usage</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *key_usage</code></em>);</pre> <p>This function will return certificate's key usage, by checking the key algorithm. The key usage value will ORed values of the: <a class="link" href="gnutls-gnutls.html#GNUTLS-KEY-DIGITAL-SIGNATURE:CAPS" title="GNUTLS_KEY_DIGITAL_SIGNATURE"><code class="literal">GNUTLS_KEY_DIGITAL_SIGNATURE</code></a>, <a class="link" href="gnutls-gnutls.html#GNUTLS-KEY-KEY-ENCIPHERMENT:CAPS" title="GNUTLS_KEY_KEY_ENCIPHERMENT"><code class="literal">GNUTLS_KEY_KEY_ENCIPHERMENT</code></a>.</p> @@ -1399,11 +1399,11 @@ key algorithm. The key usage value will ORed values of the: <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-name"></a><h3>gnutls_openpgp_crt_get_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>Extracts the userID from the parsed OpenPGP key.</p> <div class="refsect3"> <a name="id-1.2.7.7.19.5"></a><h4>Parameters</h4> @@ -1426,7 +1426,7 @@ gnutls_openpgp_crt_get_name (<em class="parameter"><code><a class="link" href="g </tr> <tr> <td class="parameter_name"><p>buf</p></td> -<td class="parameter_description"><p>a pointer to a structure to hold the name, may be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> +<td class="parameter_description"><p>a pointer to a structure to hold the name, may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> to only get the <em class="parameter"><code>sizeof_buf</code></em> .</p></td> <td class="parameter_annotations"> </td> @@ -1455,7 +1455,7 @@ error code.</p> <a name="gnutls-openpgp-crt-get-pk-algorithm"></a><h3>gnutls_openpgp_crt_get_pk_algorithm ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="returnvalue">gnutls_pk_algorithm_t</span></a> gnutls_openpgp_crt_get_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of an OpenPGP certificate.</p> <p>If bits is non null, it should have enough size to hold the parameters @@ -1493,12 +1493,12 @@ success, or GNUTLS_PK_UNKNOWN on error.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-pk-dsa-raw"></a><h3>gnutls_openpgp_crt_get_pk_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_pk_dsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>);</pre> <p>This function will export the DSA public key's parameters found in the given certificate. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -1549,10 +1549,10 @@ the given certificate. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-pk-rsa-raw"></a><h3>gnutls_openpgp_crt_get_pk_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_pk_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>);</pre> <p>This function will export the RSA public key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -1593,10 +1593,10 @@ the given structure. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-preferred-key-id"></a><h3>gnutls_openpgp_crt_get_preferred_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_preferred_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get preferred key id. If it hasn't been set it returns <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INVALID-REQUEST:CAPS" title="GNUTLS_E_INVALID_REQUEST"><code class="literal">GNUTLS_E_INVALID_REQUEST</code></a>.</p> <div class="refsect3"> @@ -1630,7 +1630,7 @@ gnutls_openpgp_crt_get_preferred_key_id <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-revoked-status"></a><h3>gnutls_openpgp_crt_get_revoked_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_revoked_status (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>);</pre> <p>Get revocation status of key.</p> <div class="refsect3"> @@ -1659,7 +1659,7 @@ has not.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-count"></a><h3>gnutls_openpgp_crt_get_subkey_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_count (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>);</pre> <p>This function will return the number of subkeys present in the given OpenPGP certificate.</p> @@ -1688,10 +1688,10 @@ given OpenPGP certificate.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-creation-time"></a><h3>gnutls_openpgp_crt_get_subkey_creation_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_creation_time (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>);</pre> <p>Get subkey creation time.</p> <div class="refsect3"> <a name="id-1.2.7.7.26.5"></a><h4>Parameters</h4> @@ -1725,10 +1725,10 @@ gnutls_openpgp_crt_get_subkey_creation_time <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-expiration-time"></a><h3>gnutls_openpgp_crt_get_subkey_expiration_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_expiration_time (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>);</pre> <p>Get subkey expiration time. A value of '0' means that the key doesn't expire at all.</p> <div class="refsect3"> @@ -1763,12 +1763,12 @@ doesn't expire at all.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-fingerprint"></a><h3>gnutls_openpgp_crt_get_subkey_fingerprint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_fingerprint (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">void</span> *fpr</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *fprlen</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *fpr</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *fprlen</code></em>);</pre> <p>Get key fingerprint of a subkey. Depending on the algorithm, the fingerprint can be 16 or 20 bytes.</p> <div class="refsect3"> @@ -1813,10 +1813,10 @@ fingerprint can be 16 or 20 bytes.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-id"></a><h3>gnutls_openpgp_crt_get_subkey_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get the subkey's key-id.</p> <div class="refsect3"> <a name="id-1.2.7.7.29.5"></a><h4>Parameters</h4> @@ -1854,9 +1854,9 @@ gnutls_openpgp_crt_get_subkey_id (<em class="parameter"><code><a class="link" hr <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-idx"></a><h3>gnutls_openpgp_crt_get_subkey_idx ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_idx (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get subkey's index.</p> <div class="refsect3"> <a name="id-1.2.7.7.30.5"></a><h4>Parameters</h4> @@ -1893,8 +1893,8 @@ gnutls_openpgp_crt_get_subkey_idx (<em class="parameter"><code><a class="link" h <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="returnvalue">gnutls_pk_algorithm_t</span></a> gnutls_openpgp_crt_get_subkey_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of a subkey of an OpenPGP certificate.</p> <p>If bits is non null, it should have enough size to hold the @@ -1938,14 +1938,14 @@ success, or GNUTLS_PK_UNKNOWN on error.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-pk-dsa-raw"></a><h3>gnutls_openpgp_crt_get_subkey_pk_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_pk_dsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>);</pre> <p>This function will export the DSA public key's parameters found in the given certificate. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -2001,12 +2001,12 @@ the given certificate. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-pk-rsa-raw"></a><h3>gnutls_openpgp_crt_get_subkey_pk_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_pk_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> crt</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>);</pre> <p>This function will export the RSA public key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -2052,10 +2052,10 @@ the given structure. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-revoked-status"></a><h3>gnutls_openpgp_crt_get_subkey_revoked_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_revoked_status (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>);</pre> <p>Get subkey revocation status. A negative error code indicates an error.</p> <div class="refsect3"> <a name="id-1.2.7.7.34.5"></a><h4>Parameters</h4> @@ -2090,10 +2090,10 @@ has not.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-subkey-usage"></a><h3>gnutls_openpgp_crt_get_subkey_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_subkey_usage (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *key_usage</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *key_usage</code></em>);</pre> <p>This function will return certificate's key usage, by checking the key algorithm. The key usage value will ORed values of <a class="link" href="gnutls-gnutls.html#GNUTLS-KEY-DIGITAL-SIGNATURE:CAPS" title="GNUTLS_KEY_DIGITAL_SIGNATURE"><code class="literal">GNUTLS_KEY_DIGITAL_SIGNATURE</code></a> or <a class="link" href="gnutls-gnutls.html#GNUTLS-KEY-KEY-ENCIPHERMENT:CAPS" title="GNUTLS_KEY_KEY_ENCIPHERMENT"><code class="literal">GNUTLS_KEY_KEY_ENCIPHERMENT</code></a>.</p> @@ -2135,7 +2135,7 @@ key algorithm. The key usage value will ORed values of <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-get-version"></a><h3>gnutls_openpgp_crt_get_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_get_version (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>);</pre> <p>Extract the version of the OpenPGP key.</p> <div class="refsect3"> @@ -2162,9 +2162,9 @@ gnutls_openpgp_crt_get_version (<em class="parameter"><code><a class="link" href <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-import"></a><h3>gnutls_openpgp_crt_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_import (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</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-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>This function will convert the given RAW or Base64 encoded key to the native <a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> format. The output will be stored @@ -2205,7 +2205,7 @@ in 'key'.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-init"></a><h3>gnutls_openpgp_crt_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> *key</code></em>);</pre> <p>This function will initialize an OpenPGP key structure.</p> <div class="refsect3"> @@ -2232,10 +2232,10 @@ gnutls_openpgp_crt_init (<em class="parameter"><code><a class="link" href="gnutl <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-print"></a><h3>gnutls_openpgp_crt_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_print (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> cert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-print-formats-t" title="enum gnutls_certificate_print_formats_t"><span class="type">gnutls_certificate_print_formats_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 pretty print an OpenPGP certificate, suitable for display to a human.</p> <p>The format should be (0) for future compatibility.</p> @@ -2277,14 +2277,14 @@ for display to a human.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-set-preferred-key-id"></a><h3>gnutls_openpgp_crt_set_preferred_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_set_preferred_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>This allows setting a preferred key id for the given certificate. This key will be used by functions that involve key handling.</p> <p>If the provided <em class="parameter"><code>keyid</code></em> - is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the master key is + is <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> then the master key is set as preferred.</p> <div class="refsect3"> <a name="id-1.2.7.7.40.6"></a><h4>Parameters</h4> @@ -2318,11 +2318,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-verify-ring"></a><h3>gnutls_openpgp_crt_verify_ring ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_verify_ring (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> keyring</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>);</pre> <p>Verify all signatures in the key, using the given set of keys (keyring).</p> <p>The key verification output will be put in <em class="parameter"><code>verify</code></em> @@ -2373,10 +2373,10 @@ application.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-crt-verify-self"></a><h3>gnutls_openpgp_crt_verify_self ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_crt_verify_self (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>);</pre> <p>Verifies the self signature in the key. The key verification output will be put in <em class="parameter"><code>verify</code></em> and will be one or more of the @@ -2417,10 +2417,10 @@ gnutls_certificate_status_t enumerated elements bitwise or'd.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-keyring-check-id"></a><h3>gnutls_openpgp_keyring_check_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_keyring_check_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> ring</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>Check if a given key ID exists in the keyring.</p> <div class="refsect3"> <a name="id-1.2.7.7.43.5"></a><h4>Parameters</h4> @@ -2459,7 +2459,7 @@ negative error code on failure.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-keyring-deinit"></a><h3>gnutls_openpgp_keyring_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_openpgp_keyring_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> keyring</code></em>);</pre> <p>This function will deinitialize a keyring structure.</p> <div class="refsect3"> @@ -2481,9 +2481,9 @@ gnutls_openpgp_keyring_deinit (<em class="parameter"><code><a class="link" href= <hr> <div class="refsect2"> <a name="gnutls-openpgp-keyring-get-crt"></a><h3>gnutls_openpgp_keyring_get_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_keyring_get_crt (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> ring</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-crt-t" title="gnutls_openpgp_crt_t"><span class="type">gnutls_openpgp_crt_t</span></a> *cert</code></em>);</pre> <p>This function will extract an OpenPGP certificate from the given keyring. If the index given is out of range @@ -2525,7 +2525,7 @@ returned structure needs to be deinited.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-keyring-get-crt-count"></a><h3>gnutls_openpgp_keyring_get_crt_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_keyring_get_crt_count (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> ring</code></em>);</pre> <p>This function will return the number of OpenPGP certificates present in the given keyring.</p> @@ -2553,9 +2553,9 @@ present in the given keyring.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-keyring-import"></a><h3>gnutls_openpgp_keyring_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_keyring_import (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> keyring</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-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>);</pre> <p>This function will convert the given RAW or Base64 encoded keyring to the native <a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> format. The output will be @@ -2581,7 +2581,7 @@ stored in 'keyring'.</p> </tr> <tr> <td class="parameter_name"><p>format</p></td> -<td class="parameter_description"><p>One of <span class="type">gnutls_openpgp_keyring_fmt</span> elements.</p></td> +<td class="parameter_description"><p>One of <GTKDOCLINK HREF="gnutls-openpgp-keyring-fmt"><span class="type">gnutls_openpgp_keyring_fmt</span></GTKDOCLINK> elements.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -2596,7 +2596,7 @@ stored in 'keyring'.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-keyring-init"></a><h3>gnutls_openpgp_keyring_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_keyring_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-keyring-t" title="gnutls_openpgp_keyring_t"><span class="type">gnutls_openpgp_keyring_t</span></a> *keyring</code></em>);</pre> <p>This function will initialize an keyring structure.</p> <div class="refsect3"> @@ -2623,7 +2623,7 @@ gnutls_openpgp_keyring_init (<em class="parameter"><code><a class="link" href="g <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-deinit"></a><h3>gnutls_openpgp_privkey_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_openpgp_privkey_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>);</pre> <p>This function will deinitialize a key structure.</p> <div class="refsect3"> @@ -2645,13 +2645,13 @@ gnutls_openpgp_privkey_deinit (<em class="parameter"><code><a class="link" href= <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-export"></a><h3>gnutls_openpgp_privkey_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_export (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</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>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <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 convert the given key to RAW or Base64 format. If the buffer provided is not long enough to hold the output, then GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.</p> @@ -2708,12 +2708,12 @@ replaced by the actual size of parameters)</p></td> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-export2"></a><h3>gnutls_openpgp_privkey_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_export2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *out</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <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 convert the given key to RAW or Base64 format. 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> <div class="refsect3"> @@ -2763,13 +2763,13 @@ The output buffer is allocated using <a class="link" href="gnutls-gnutls.html#gn <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-export-dsa-raw"></a><h3>gnutls_openpgp_privkey_export_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_export_dsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *x</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>);</pre> <p>This function will export the DSA private key's parameters found in the given certificate. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -2825,14 +2825,14 @@ the given certificate. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-export-rsa-raw"></a><h3>gnutls_openpgp_privkey_export_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_export_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *d</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *u</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *d</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *u</code></em>);</pre> <p>This function will export the RSA private key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -2893,15 +2893,15 @@ the given structure. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-export-subkey-dsa-raw"></a><h3>gnutls_openpgp_privkey_export_subkey_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_export_subkey_dsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *x</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>);</pre> <p>This function will export the DSA private key's parameters found in the given certificate. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -2962,16 +2962,16 @@ using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_mall <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-export-subkey-rsa-raw"></a><h3>gnutls_openpgp_privkey_export_subkey_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_export_subkey_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *d</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *u</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *d</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *u</code></em>);</pre> <p>This function will export the RSA private key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -3037,11 +3037,11 @@ the given structure. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-fingerprint"></a><h3>gnutls_openpgp_privkey_get_fingerprint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_fingerprint (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">void</span> *fpr</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *fprlen</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *fpr</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *fprlen</code></em>);</pre> <p>Get the fingerprint of the OpenPGP key. Depends on the algorithm, the fingerprint can be 16 or 20 bytes.</p> <div class="refsect3"> @@ -3081,9 +3081,9 @@ algorithm, the fingerprint can be 16 or 20 bytes.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-key-id"></a><h3>gnutls_openpgp_privkey_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_openpgp_privkey_get_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get key-id.</p> <div class="refsect3"> <a name="id-1.2.7.7.57.5"></a><h4>Parameters</h4> @@ -3120,7 +3120,7 @@ gnutls_openpgp_privkey_get_key_id (<em class="parameter"><code><a class="link" h <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="returnvalue">gnutls_pk_algorithm_t</span></a> gnutls_openpgp_privkey_get_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of an OpenPGP certificate.</p> <p>If bits is non null, it should have enough size to hold the parameters @@ -3159,10 +3159,10 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-preferred-key-id"></a><h3>gnutls_openpgp_privkey_get_preferred_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_preferred_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get the preferred key-id for the key.</p> <div class="refsect3"> <a name="id-1.2.7.7.59.5"></a><h4>Parameters</h4> @@ -3196,7 +3196,7 @@ hasn't been set it returns <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INV <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-revoked-status"></a><h3>gnutls_openpgp_privkey_get_revoked_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_revoked_status (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>);</pre> <p>Get revocation status of key.</p> @@ -3226,7 +3226,7 @@ has not, or a negative error code indicates an error.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-count"></a><h3>gnutls_openpgp_privkey_get_subkey_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_count (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>);</pre> <p>This function will return the number of subkeys present in the @@ -3256,10 +3256,10 @@ given OpenPGP certificate.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-creation-time"></a><h3>gnutls_openpgp_privkey_get_subkey_creation_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_creation_time (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>);</pre> <p>Get subkey creation time.</p> <div class="refsect3"> <a name="id-1.2.7.7.62.5"></a><h4>Parameters</h4> @@ -3293,10 +3293,10 @@ gnutls_openpgp_privkey_get_subkey_creation_time <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-expiration-time"></a><h3>gnutls_openpgp_privkey_get_subkey_expiration_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_expiration_time (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>);</pre> <p>Get subkey expiration time. A value of '0' means that the key doesn't expire at all.</p> <div class="refsect3"> @@ -3331,12 +3331,12 @@ doesn't expire at all.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-fingerprint"></a><h3>gnutls_openpgp_privkey_get_subkey_fingerprint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_fingerprint (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">void</span> *fpr</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *fprlen</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *fpr</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *fprlen</code></em>);</pre> <p>Get the fingerprint of an OpenPGP subkey. Depends on the algorithm, the fingerprint can be 16 or 20 bytes.</p> <div class="refsect3"> @@ -3381,10 +3381,10 @@ algorithm, the fingerprint can be 16 or 20 bytes.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-id"></a><h3>gnutls_openpgp_privkey_get_subkey_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get the key-id for the subkey.</p> <div class="refsect3"> <a name="id-1.2.7.7.65.5"></a><h4>Parameters</h4> @@ -3423,9 +3423,9 @@ gnutls_openpgp_privkey_get_subkey_id (<em class="parameter"><code><a class="link <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-idx"></a><h3>gnutls_openpgp_privkey_get_subkey_idx ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_idx (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>Get index of subkey.</p> <div class="refsect3"> <a name="id-1.2.7.7.66.5"></a><h4>Parameters</h4> @@ -3462,8 +3462,8 @@ gnutls_openpgp_privkey_get_subkey_idx (<em class="parameter"><code><a class="lin <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="returnvalue">gnutls_pk_algorithm_t</span></a> gnutls_openpgp_privkey_get_subkey_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of a subkey of an OpenPGP certificate.</p> <p>If bits is non null, it should have enough size to hold the parameters @@ -3507,10 +3507,10 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-get-subkey-revoked-status"></a><h3>gnutls_openpgp_privkey_get_subkey_revoked_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_get_subkey_revoked_status (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>);</pre> <p>Get revocation status of key.</p> <div class="refsect3"> <a name="id-1.2.7.7.68.5"></a><h4>Parameters</h4> @@ -3545,12 +3545,12 @@ has not, or a negative error code indicates an error.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-import"></a><h3>gnutls_openpgp_privkey_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_import (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</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-openpgp.html#gnutls-openpgp-crt-fmt-t" title="enum gnutls_openpgp_crt_fmt_t"><span class="type">gnutls_openpgp_crt_fmt_t</span></a> format</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</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> *password</code></em>, + <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 RAW or Base64 encoded key to the native gnutls_openpgp_privkey_t format. The output will be stored in 'key'.</p> @@ -3600,7 +3600,7 @@ stored in 'key'.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-init"></a><h3>gnutls_openpgp_privkey_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> *key</code></em>);</pre> <p>This function will initialize an OpenPGP key structure.</p> <div class="refsect3"> @@ -3657,14 +3657,14 @@ this private key.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-privkey-set-preferred-key-id"></a><h3>gnutls_openpgp_privkey_set_preferred_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_openpgp_privkey_set_preferred_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-openpgp-privkey-t" title="gnutls_openpgp_privkey_t"><span class="type">gnutls_openpgp_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_openpgp_keyid_t</span> keyid</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-openpgp-keyid-t"><span class="type">gnutls_openpgp_keyid_t</span></GTKDOCLINK> keyid</code></em>);</pre> <p>This allows setting a preferred key id for the given certificate. This key will be used by functions that involve key handling.</p> <p>If the provided <em class="parameter"><code>keyid</code></em> - is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then the master key is + is <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> then the master key is set as preferred.</p> <div class="refsect3"> <a name="id-1.2.7.7.72.6"></a><h4>Parameters</h4> @@ -3698,11 +3698,11 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-recv-key-func"></a><h3>gnutls_openpgp_recv_key_func ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> <span class="c_punctuation">(</span>*gnutls_openpgp_recv_key_func<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, - <em class="parameter"><code>const unsigned <span class="type">char</span> *keyfpr</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> keyfpr_length</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *key</code></em>);</pre> + <em class="parameter"><code>const unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *keyfpr</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> keyfpr_length</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>);</pre> <p>A callback of this type is used to retrieve OpenPGP keys. Only useful on the server, and will only be used if the peer send a key fingerprint instead of a full key. See also @@ -3751,7 +3751,7 @@ otherwise an error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-openpgp-set-recv-key-function"></a><h3>gnutls_openpgp_set_recv_key_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_openpgp_set_recv_key_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-session-t" title="gnutls_session_t"><span class="type">gnutls_session_t</span></a> session</code></em>, <em class="parameter"><code><a class="link" href="gnutls-openpgp.html#gnutls-openpgp-recv-key-func" title="gnutls_openpgp_recv_key_func ()"><span class="type">gnutls_openpgp_recv_key_func</span></a> func</code></em>);</pre> <p>This funtion will set a key retrieval function for OpenPGP keys. This @@ -3836,4 +3836,4 @@ sent a key fingerprint instead of a full key.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-pkcs11.html b/reference/gnutls-pkcs11.html index b246168a2c..492f6d5427 100644 --- a/reference/gnutls-pkcs11.html +++ b/reference/gnutls-pkcs11.html @@ -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-pkcs11.html#gnutls-pkcs11-add-provider" title="gnutls_pkcs11_add_provider ()">gnutls_pkcs11_add_provider</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-pkcs11.html#gnutls-pkcs11-copy-secret-key" title="gnutls_pkcs11_copy_secret_key ()">gnutls_pkcs11_copy_secret_key</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-pkcs11.html#gnutls-pkcs11-copy-x509-crt" title="gnutls_pkcs11_copy_x509_crt ()">gnutls_pkcs11_copy_x509_crt</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-pkcs11.html#gnutls-pkcs11-copy-x509-privkey" title="gnutls_pkcs11_copy_x509_privkey ()">gnutls_pkcs11_copy_x509_privkey</a> <span class="c_punctuation">()</span> @@ -98,7 +98,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-pkcs11.html#gnutls-pkcs11-deinit" title="gnutls_pkcs11_deinit ()">gnutls_pkcs11_deinit</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-pkcs11.html#gnutls-pkcs11-delete-url" title="gnutls_pkcs11_delete_url ()">gnutls_pkcs11_delete_url</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-pkcs11.html#gnutls-pkcs11-init" title="gnutls_pkcs11_init ()">gnutls_pkcs11_init</a> <span class="c_punctuation">()</span> @@ -130,7 +130,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-pkcs11.html#gnutls-pkcs11-obj-deinit" title="gnutls_pkcs11_obj_deinit ()">gnutls_pkcs11_obj_deinit</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-pkcs11.html#gnutls-pkcs11-obj-export" title="gnutls_pkcs11_obj_export ()">gnutls_pkcs11_obj_export</a> <span class="c_punctuation">()</span> @@ -146,7 +146,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-pkcs11.html#gnutls-pkcs11-obj-export2" title="gnutls_pkcs11_obj_export2 ()">gnutls_pkcs11_obj_export2</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-pkcs11.html#gnutls-pkcs11-obj-export-url" title="gnutls_pkcs11_obj_export_url ()">gnutls_pkcs11_obj_export_url</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-pkcs11.html#gnutls-pkcs11-obj-get-info" title="gnutls_pkcs11_obj_get_info ()">gnutls_pkcs11_obj_get_info</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-pkcs11.html#gnutls-pkcs11-obj-import-url" title="gnutls_pkcs11_obj_import_url ()">gnutls_pkcs11_obj_import_url</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-pkcs11.html#gnutls-pkcs11-obj-init" title="gnutls_pkcs11_obj_init ()">gnutls_pkcs11_obj_init</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-pkcs11.html#gnutls-pkcs11-obj-list-import-url" title="gnutls_pkcs11_obj_list_import_url ()">gnutls_pkcs11_obj_list_import_url</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-pkcs11.html#gnutls-pkcs11-obj-list-import-url2" title="gnutls_pkcs11_obj_list_import_url2 ()">gnutls_pkcs11_obj_list_import_url2</a> <span class="c_punctuation">()</span> @@ -202,7 +202,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-pkcs11.html#gnutls-pkcs11-obj-set-pin-function" title="gnutls_pkcs11_obj_set_pin_function ()">gnutls_pkcs11_obj_set_pin_function</a> <span class="c_punctuation">()</span> @@ -210,7 +210,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-pkcs11.html#gnutls-pkcs11-privkey-deinit" title="gnutls_pkcs11_privkey_deinit ()">gnutls_pkcs11_privkey_deinit</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-pkcs11.html#gnutls-pkcs11-privkey-export-url" title="gnutls_pkcs11_privkey_export_url ()">gnutls_pkcs11_privkey_export_url</a> <span class="c_punctuation">()</span> @@ -226,7 +226,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-pkcs11.html#gnutls-pkcs11-privkey-generate" title="gnutls_pkcs11_privkey_generate ()">gnutls_pkcs11_privkey_generate</a> <span class="c_punctuation">()</span> @@ -234,7 +234,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-pkcs11.html#gnutls-pkcs11-privkey-generate2" title="gnutls_pkcs11_privkey_generate2 ()">gnutls_pkcs11_privkey_generate2</a> <span class="c_punctuation">()</span> @@ -242,7 +242,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-pkcs11.html#gnutls-pkcs11-privkey-get-info" title="gnutls_pkcs11_privkey_get_info ()">gnutls_pkcs11_privkey_get_info</a> <span class="c_punctuation">()</span> @@ -250,7 +250,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-pkcs11.html#gnutls-pkcs11-privkey-get-pk-algorithm" title="gnutls_pkcs11_privkey_get_pk_algorithm ()">gnutls_pkcs11_privkey_get_pk_algorithm</a> <span class="c_punctuation">()</span> @@ -258,7 +258,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-pkcs11.html#gnutls-pkcs11-privkey-import-url" title="gnutls_pkcs11_privkey_import_url ()">gnutls_pkcs11_privkey_import_url</a> <span class="c_punctuation">()</span> @@ -266,7 +266,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-pkcs11.html#gnutls-pkcs11-privkey-init" title="gnutls_pkcs11_privkey_init ()">gnutls_pkcs11_privkey_init</a> <span class="c_punctuation">()</span> @@ -274,7 +274,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-pkcs11.html#gnutls-pkcs11-privkey-set-pin-function" title="gnutls_pkcs11_privkey_set_pin_function ()">gnutls_pkcs11_privkey_set_pin_function</a> <span class="c_punctuation">()</span> @@ -282,7 +282,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-pkcs11.html#gnutls-pkcs11-reinit" title="gnutls_pkcs11_reinit ()">gnutls_pkcs11_reinit</a> <span class="c_punctuation">()</span> @@ -290,7 +290,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-pkcs11.html#gnutls-pkcs11-set-pin-function" title="gnutls_pkcs11_set_pin_function ()">gnutls_pkcs11_set_pin_function</a> <span class="c_punctuation">()</span> @@ -298,7 +298,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-pkcs11.html#gnutls-pkcs11-set-token-function" title="gnutls_pkcs11_set_token_function ()">gnutls_pkcs11_set_token_function</a> <span class="c_punctuation">()</span> @@ -306,7 +306,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"> <span class="c_punctuation">(</span><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-token-callback-t" title="gnutls_pkcs11_token_callback_t ()">*gnutls_pkcs11_token_callback_t</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span> @@ -314,7 +314,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-pkcs11.html#gnutls-pkcs11-token-get-flags" title="gnutls_pkcs11_token_get_flags ()">gnutls_pkcs11_token_get_flags</a> <span class="c_punctuation">()</span> @@ -322,7 +322,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-pkcs11.html#gnutls-pkcs11-token-get-info" title="gnutls_pkcs11_token_get_info ()">gnutls_pkcs11_token_get_info</a> <span class="c_punctuation">()</span> @@ -330,7 +330,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-pkcs11.html#gnutls-pkcs11-token-get-mechanism" title="gnutls_pkcs11_token_get_mechanism ()">gnutls_pkcs11_token_get_mechanism</a> <span class="c_punctuation">()</span> @@ -338,7 +338,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-pkcs11.html#gnutls-pkcs11-token-get-url" title="gnutls_pkcs11_token_get_url ()">gnutls_pkcs11_token_get_url</a> <span class="c_punctuation">()</span> @@ -346,7 +346,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-pkcs11.html#gnutls-pkcs11-token-init" title="gnutls_pkcs11_token_init ()">gnutls_pkcs11_token_init</a> <span class="c_punctuation">()</span> @@ -354,14 +354,14 @@ </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-pkcs11.html#gnutls-pkcs11-token-set-pin" title="gnutls_pkcs11_token_set_pin ()">gnutls_pkcs11_token_set_pin</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-type-get-name" title="gnutls_pkcs11_type_get_name ()">gnutls_pkcs11_type_get_name</a> <span class="c_punctuation">()</span> @@ -369,7 +369,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-pkcs11.html#gnutls-x509-crt-import-pkcs11" title="gnutls_x509_crt_import_pkcs11 ()">gnutls_x509_crt_import_pkcs11</a> <span class="c_punctuation">()</span> @@ -377,7 +377,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-pkcs11.html#gnutls-x509-crt-import-pkcs11-url" title="gnutls_x509_crt_import_pkcs11_url ()">gnutls_x509_crt_import_pkcs11_url</a> <span class="c_punctuation">()</span> @@ -385,7 +385,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-pkcs11.html#gnutls-x509-crt-list-import-pkcs11" title="gnutls_x509_crt_list_import_pkcs11 ()">gnutls_x509_crt_list_import_pkcs11</a> <span class="c_punctuation">()</span> @@ -511,9 +511,9 @@ <hr> <div class="refsect2"> <a name="gnutls-pkcs11-add-provider"></a><h3>gnutls_pkcs11_add_provider ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_add_provider (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *params</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_add_provider (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *params</code></em>);</pre> <p>This function will load and add a PKCS 11 module to the module list used in gnutls. After this function is called the module will be used for PKCS 11 operations.</p> @@ -554,13 +554,13 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-copy-secret-key"></a><h3>gnutls_pkcs11_copy_secret_key ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_copy_secret_key (<em class="parameter"><code>const <span class="type">char</span> *token_url</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *key</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *label</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> key_usage</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> -<p>This function will copy a raw secret (symmetric) key into a PKCS <span class="type">11</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_copy_secret_key (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_url</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *key</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> key_usage</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> +<p>This function will copy a raw secret (symmetric) key into a PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> token specified by a URL. The key can be marked as sensitive or not.</p> <div class="refsect3"> <a name="id-1.2.9.7.9.5"></a><h4>Parameters</h4> @@ -573,7 +573,7 @@ token specified by a URL. The key can be marked as sensitive or not.</p> <tbody> <tr> <td class="parameter_name"><p>token_url</p></td> -<td class="parameter_description"><p>A PKCS <span class="type">11</span> URL specifying a token</p></td> +<td class="parameter_description"><p>A PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> URL specifying a token</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -610,12 +610,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-copy-x509-crt"></a><h3>gnutls_pkcs11_copy_x509_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_copy_x509_crt (<em class="parameter"><code>const <span class="type">char</span> *token_url</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_copy_x509_crt (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_url</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>, - <em class="parameter"><code>const <span class="type">char</span> *label</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> -<p>This function will copy a certificate into a PKCS <span class="type">11</span> token specified by + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> +<p>This function will copy a certificate into a PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> token specified by a URL. The certificate can be marked as trusted or not.</p> <div class="refsect3"> <a name="id-1.2.9.7.10.5"></a><h4>Parameters</h4> @@ -628,7 +628,7 @@ a URL. The certificate can be marked as trusted or not.</p> <tbody> <tr> <td class="parameter_name"><p>token_url</p></td> -<td class="parameter_description"><p>A PKCS <span class="type">11</span> URL specifying a token</p></td> +<td class="parameter_description"><p>A PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> URL specifying a token</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -660,13 +660,13 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-copy-x509-privkey"></a><h3>gnutls_pkcs11_copy_x509_privkey ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_copy_x509_privkey (<em class="parameter"><code>const <span class="type">char</span> *token_url</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_copy_x509_privkey (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_url</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>const <span class="type">char</span> *label</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> key_usage</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> -<p>This function will copy a private key into a PKCS <span class="type">11</span> token specified by + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> key_usage</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> +<p>This function will copy a private key into a PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> token specified by a URL. It is highly recommended flags to contain <a class="link" href="gnutls-pkcs11.html#GNUTLS-PKCS11-OBJ-FLAG-MARK-SENSITIVE:CAPS" title="GNUTLS_PKCS11_OBJ_FLAG_MARK_SENSITIVE"><code class="literal">GNUTLS_PKCS11_OBJ_FLAG_MARK_SENSITIVE</code></a> unless there is a strong reason not to.</p> <div class="refsect3"> @@ -680,7 +680,7 @@ unless there is a strong reason not to.</p> <tbody> <tr> <td class="parameter_name"><p>token_url</p></td> -<td class="parameter_description"><p>A PKCS <span class="type">11</span> URL specifying a token</p></td> +<td class="parameter_description"><p>A PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> URL specifying a token</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -717,7 +717,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-deinit"></a><h3>gnutls_pkcs11_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_deinit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>This function will deinitialize the PKCS 11 subsystem in gnutls. This function is only needed if you need to deinitialize the @@ -727,9 +727,9 @@ subsystem without calling <a class="link" href="gnutls-gnutls.html#gnutls-global <hr> <div class="refsect2"> <a name="gnutls-pkcs11-delete-url"></a><h3>gnutls_pkcs11_delete_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_delete_url (<em class="parameter"><code>const <span class="type">char</span> *object_url</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_delete_url (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *object_url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will delete objects matching the given URL. Note that not all tokens support the delete operation.</p> <div class="refsect3"> @@ -766,7 +766,7 @@ negative error value.</p> <div class="refsect2"> <a name="gnutls-pkcs11-get-pin-function"></a><h3>gnutls_pkcs11_get_pin_function ()</h3> <pre class="programlisting"><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="returnvalue">gnutls_pin_callback_t</span></a> -gnutls_pkcs11_get_pin_function (<em class="parameter"><code><span class="type">void</span> **userdata</code></em>);</pre> +gnutls_pkcs11_get_pin_function (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> **userdata</code></em>);</pre> <p>This function will return the callback function set using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-function" title="gnutls_pkcs11_set_pin_function ()"><code class="function">gnutls_pkcs11_set_pin_function()</code></a>.</p> <div class="refsect3"> @@ -794,9 +794,9 @@ gnutls_pkcs11_get_pin_function (<em class="parameter"><code><span class="type">v <hr> <div class="refsect2"> <a name="gnutls-pkcs11-init"></a><h3>gnutls_pkcs11_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_init (<em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *deprecated_config_file</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_init (<em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *deprecated_config_file</code></em>);</pre> <p>This function will initialize the PKCS 11 subsystem in gnutls. It will read configuration files if <a class="link" href="gnutls-pkcs11.html#GNUTLS-PKCS11-FLAG-AUTO:CAPS" title="GNUTLS_PKCS11_FLAG_AUTO"><code class="literal">GNUTLS_PKCS11_FLAG_AUTO</code></a> is used or allow you to independently load PKCS 11 modules using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-add-provider" title="gnutls_pkcs11_add_provider ()"><code class="function">gnutls_pkcs11_add_provider()</code></a> @@ -816,7 +816,7 @@ prior to any PKCS 11 operation.</p> <tbody> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>An ORed sequence of <code class="literal">GNUTLS_PKCS11_FLAG_</code>*</p></td> +<td class="parameter_description"><p>An ORed sequence of <GTKDOCLINK HREF="GNUTLS-PKCS11-FLAG-:CAPS"><code class="literal">GNUTLS_PKCS11_FLAG_</code></GTKDOCLINK>*</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -839,7 +839,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-deinit"></a><h3>gnutls_pkcs11_obj_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_obj_deinit (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</code></em>);</pre> <p>This function will deinitialize a certificate structure.</p> <div class="refsect3"> @@ -862,10 +862,10 @@ gnutls_pkcs11_obj_deinit (<em class="parameter"><code><a class="link" href="gnut <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-export"></a><h3>gnutls_pkcs11_obj_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_export (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</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 PKCS11 object data. It is normal for data to be inaccesible and in that case <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INVALID-REQUEST:CAPS" title="GNUTLS_E_INVALID_REQUEST"><code class="literal">GNUTLS_E_INVALID_REQUEST</code></a> will be returned.</p> @@ -911,9 +911,9 @@ returned, and <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-export2"></a><h3>gnutls_pkcs11_obj_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_export2 (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</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 PKCS11 object data. It is normal for data to be inaccesible and in that case <a class="link" href="gnutls-gnutls.html#GNUTLS-E-INVALID-REQUEST:CAPS" title="GNUTLS_E_INVALID_REQUEST"><code class="literal">GNUTLS_E_INVALID_REQUEST</code></a> will be returned.</p> @@ -951,10 +951,10 @@ returned, and <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" ti <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-export-url"></a><h3>gnutls_pkcs11_obj_export_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_export_url (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-url-type-t" title="enum gnutls_pkcs11_url_type_t"><span class="type">gnutls_pkcs11_url_type_t</span></a> detailed</code></em>, - <em class="parameter"><code><span class="type">char</span> **url</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **url</code></em>);</pre> <p>This function will export a URL identifying the given certificate.</p> <div class="refsect3"> <a name="id-1.2.9.7.19.5"></a><h4>Parameters</h4> @@ -994,11 +994,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-get-info"></a><h3>gnutls_pkcs11_obj_get_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_get_info (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> crt</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-info-t" title="enum gnutls_pkcs11_obj_info_t"><span class="type">gnutls_pkcs11_obj_info_t</span></a> itype</code></em>, - <em class="parameter"><code><span class="type">void</span> *output</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *output_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *output</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *output_size</code></em>);</pre> <p>This function will return information about the PKCS11 certificate such as the label, id as well as token information where the key is stored. When output is text it returns null terminated string @@ -1046,10 +1046,10 @@ although <em class="parameter"><code>output_size</code></em> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-import-url"></a><h3>gnutls_pkcs11_obj_import_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_import_url (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</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> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will "import" a PKCS 11 URL identifying an object (e.g. certificate) to the <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> structure. This does not involve any parsing (such as X.509 or OpenPGP) since the <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> is @@ -1092,7 +1092,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-init"></a><h3>gnutls_pkcs11_obj_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_init (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> *obj</code></em>);</pre> <p>This function will initialize a pkcs11 certificate structure.</p> <div class="refsect3"> @@ -1121,12 +1121,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-list-import-url"></a><h3>gnutls_pkcs11_obj_list_import_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_list_import_url (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> *p_list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *const n_list</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *const n_list</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-attr-t" title="enum gnutls_pkcs11_obj_attr_t"><span class="type">gnutls_pkcs11_obj_attr_t</span></a> attrs</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 initialize and set values to an object list by using all objects identified by a PKCS 11 URL.</p> <div class="refsect3"> @@ -1177,12 +1177,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-list-import-url2"></a><h3>gnutls_pkcs11_obj_list_import_url2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_obj_list_import_url2 (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> **p_list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *n_list</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *n_list</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-attr-t" title="enum gnutls_pkcs11_obj_attr_t"><span class="type">gnutls_pkcs11_obj_attr_t</span></a> attrs</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 initialize and set values to an object list by using all objects identified by the PKCS 11 URL. The output is stored in <em class="parameter"><code>p_list</code></em> @@ -1235,10 +1235,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-obj-set-pin-function"></a><h3>gnutls_pkcs11_obj_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_obj_set_pin_function (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> obj</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when required to access the object. This function overrides the global set using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-function" title="gnutls_pkcs11_set_pin_function ()"><code class="function">gnutls_pkcs11_set_pin_function()</code></a>.</p> @@ -1274,7 +1274,7 @@ set using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-functio <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-deinit"></a><h3>gnutls_pkcs11_privkey_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_privkey_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> key</code></em>);</pre> <p>This function will deinitialize a private key structure.</p> <div class="refsect3"> @@ -1296,10 +1296,10 @@ gnutls_pkcs11_privkey_deinit (<em class="parameter"><code><a class="link" href=" <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-export-url"></a><h3>gnutls_pkcs11_privkey_export_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_privkey_export_url (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-url-type-t" title="enum gnutls_pkcs11_url_type_t"><span class="type">gnutls_pkcs11_url_type_t</span></a> detailed</code></em>, - <em class="parameter"><code><span class="type">char</span> **url</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **url</code></em>);</pre> <p>This function will export a URL identifying the given key.</p> <div class="refsect3"> <a name="id-1.2.9.7.27.5"></a><h4>Parameters</h4> @@ -1338,12 +1338,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-generate"></a><h3>gnutls_pkcs11_privkey_generate ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_privkey_generate (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_privkey_generate (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> pk</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *label</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> bits</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will generate a private key in the specified by the <em class="parameter"><code>url</code></em> token. The private key will be generate within @@ -1396,14 +1396,14 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-generate2"></a><h3>gnutls_pkcs11_privkey_generate2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_privkey_generate2 (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_privkey_generate2 (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> pk</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *label</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> bits</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</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> fmt</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *pubkey</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *pubkey</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will generate a private key in the specified by the <em class="parameter"><code>url</code></em> token. The private key will be generate within @@ -1448,7 +1448,7 @@ in <em class="parameter"><code>pubkey</code></em> </tr> <tr> <td class="parameter_name"><p>pubkey</p></td> -<td class="parameter_description"><p>will hold the public key (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 hold the public key (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -1470,14 +1470,14 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-get-info"></a><h3>gnutls_pkcs11_privkey_get_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_privkey_get_info (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> pkey</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-info-t" title="enum gnutls_pkcs11_obj_info_t"><span class="type">gnutls_pkcs11_obj_info_t</span></a> itype</code></em>, - <em class="parameter"><code><span class="type">void</span> *output</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *output_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *output</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *output_size</code></em>);</pre> <p>This function will return information about the PKCS 11 private key such as the label, id as well as token information where the key is stored. When -output is text it returns null terminated string although <span class="type">output_size</span> contains +output is text it returns null terminated string although <GTKDOCLINK HREF="output-size"><span class="type">output_size</span></GTKDOCLINK> contains the size of the actual data only.</p> <div class="refsect3"> <a name="id-1.2.9.7.30.5"></a><h4>Parameters</h4> @@ -1520,10 +1520,10 @@ the size of the actual data only.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-get-pk-algorithm"></a><h3>gnutls_pkcs11_privkey_get_pk_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_privkey_get_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> key</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of a private key.</p> <div class="refsect3"> @@ -1558,10 +1558,10 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-import-url"></a><h3>gnutls_pkcs11_privkey_import_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_privkey_import_url (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> pkey</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *url</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> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will "import" a PKCS 11 URL identifying a private key to the <a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> structure. In reality since in most cases keys cannot be exported, the private key structure @@ -1603,7 +1603,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-init"></a><h3>gnutls_pkcs11_privkey_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_privkey_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> *key</code></em>);</pre> <p>This function will initialize an private key structure.</p> <div class="refsect3"> @@ -1631,11 +1631,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-privkey-set-pin-function"></a><h3>gnutls_pkcs11_privkey_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_privkey_set_pin_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pkcs11-privkey-t" title="gnutls_pkcs11_privkey_t"><span class="type">gnutls_pkcs11_privkey_t</span></a> key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when required to access the object. This function overrides the global set using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-function" title="gnutls_pkcs11_set_pin_function ()"><code class="function">gnutls_pkcs11_set_pin_function()</code></a>.</p> @@ -1671,12 +1671,12 @@ set using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-functio <hr> <div class="refsect2"> <a name="gnutls-pkcs11-reinit"></a><h3>gnutls_pkcs11_reinit ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs11_reinit (<em class="parameter"><code><span class="type">void</span></code></em>);</pre> <p>This function will reinitialize the PKCS 11 subsystem in gnutls. -This is required by PKCS 11 when an application uses <code class="function">fork()</code>. The +This is required by PKCS 11 when an application uses <GTKDOCLINK HREF="fork"><code class="function">fork()</code></GTKDOCLINK>. The reinitialization function must be called on the child.</p> -<p>Note that since GnuTLS 3.3.0, the reinitialization of the PKCS <span class="type">11</span> +<p>Note that since GnuTLS 3.3.0, the reinitialization of the PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> subsystem occurs automatically after fork.</p> <div class="refsect3"> <a name="id-1.2.9.7.35.6"></a><h4>Returns</h4> @@ -1689,9 +1689,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-set-pin-function"></a><h3>gnutls_pkcs11_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_set_pin_function (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when a PIN is required for PKCS 11 operations. See <a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><code class="function">gnutls_pin_callback_t()</code></a> on how the callback should behave.</p> @@ -1722,9 +1722,9 @@ required for PKCS 11 operations. See <hr> <div class="refsect2"> <a name="gnutls-pkcs11-set-token-function"></a><h3>gnutls_pkcs11_set_token_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs11_set_token_function (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-token-callback-t" title="gnutls_pkcs11_token_callback_t ()"><span class="type">gnutls_pkcs11_token_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when a token needs to be inserted to continue PKCS 11 operations.</p> <div class="refsect3"> @@ -1754,10 +1754,10 @@ needs to be inserted to continue PKCS 11 operations.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-callback-t"></a><h3>gnutls_pkcs11_token_callback_t ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -<span class="c_punctuation">(</span>*gnutls_pkcs11_token_callback_t<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *const userdata</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *const label</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> retry</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +<span class="c_punctuation">(</span>*gnutls_pkcs11_token_callback_t<span class="c_punctuation">)</span> (<em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *const userdata</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *const label</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="unsigned"><span class="type">unsigned </span></GTKDOCLINK> retry</code></em>);</pre> <p>Token callback function. The callback will be used to ask the user to re-insert the token with given (null terminated) label. The callback should return zero if token has been inserted by user and @@ -1802,11 +1802,11 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-get-flags"></a><h3>gnutls_pkcs11_token_get_flags ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_token_get_flags (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *flags</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_token_get_flags (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *flags</code></em>);</pre> <p>This function will return information about the PKCS 11 token flags.</p> -<p>The supported flags are: <a class="link" href="gnutls-pkcs11.html#GNUTLS-PKCS11-TOKEN-HW:CAPS" title="GNUTLS_PKCS11_TOKEN_HW"><code class="literal">GNUTLS_PKCS11_TOKEN_HW</code></a> and <code class="literal">GNUTLS_PKCS11_TOKEN_TRUSTED</code>.</p> +<p>The supported flags are: <a class="link" href="gnutls-pkcs11.html#GNUTLS-PKCS11-TOKEN-HW:CAPS" title="GNUTLS_PKCS11_TOKEN_HW"><code class="literal">GNUTLS_PKCS11_TOKEN_HW</code></a> and <GTKDOCLINK HREF="GNUTLS-PKCS11-TOKEN-TRUSTED:CAPS"><code class="literal">GNUTLS_PKCS11_TOKEN_TRUSTED</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.9.7.39.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -1839,11 +1839,11 @@ gnutls_pkcs11_token_get_flags (<em class="parameter"><code>const <span class="ty <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-get-info"></a><h3>gnutls_pkcs11_token_get_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_token_get_info (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_token_get_info (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-token-info-t" title="enum gnutls_pkcs11_token_info_t"><span class="type">gnutls_pkcs11_token_info_t</span></a> ttype</code></em>, - <em class="parameter"><code><span class="type">void</span> *output</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *output_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *output</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *output_size</code></em>);</pre> <p>This function will return information about the PKCS 11 token such as the label, id, etc.</p> <div class="refsect3"> @@ -1889,10 +1889,10 @@ on error.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-get-mechanism"></a><h3>gnutls_pkcs11_token_get_mechanism ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_token_get_mechanism (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code>unsigned <span class="type">long</span> *mechanism</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_token_get_mechanism (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> idx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="long"><span class="type">long</span></GTKDOCLINK> *mechanism</code></em>);</pre> <p>This function will return the names of the supported mechanisms by the token. It should be called with an increasing index until it return GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE.</p> @@ -1917,7 +1917,7 @@ it return GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE.</p> </tr> <tr> <td class="parameter_name"><p>mechanism</p></td> -<td class="parameter_description"><p>The PKCS <span class="type">11</span> mechanism ID</p></td> +<td class="parameter_description"><p>The PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> mechanism ID</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -1933,10 +1933,10 @@ it return GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-get-url"></a><h3>gnutls_pkcs11_token_get_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_token_get_url (<em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_token_get_url (<em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-url-type-t" title="enum gnutls_pkcs11_url_type_t"><span class="type">gnutls_pkcs11_url_type_t</span></a> detailed</code></em>, - <em class="parameter"><code><span class="type">char</span> **url</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **url</code></em>);</pre> <p>This function will return the URL for each token available in system. The url has to be released using <a class="link" href="gnutls-gnutls.html#gnutls-free" title="gnutls_free"><code class="function">gnutls_free()</code></a></p> <div class="refsect3"> @@ -1978,10 +1978,10 @@ exceeds the available tokens, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-init"></a><h3>gnutls_pkcs11_token_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_token_init (<em class="parameter"><code>const <span class="type">char</span> *token_url</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *so_pin</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *label</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_token_init (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_url</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *so_pin</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *label</code></em>);</pre> <p>This function will initialize (format) a token. If the token is at a factory defaults state the security officer's PIN given will be set to be the default. Otherwise it should match the officer's PIN.</p> @@ -1996,7 +1996,7 @@ set to be the default. Otherwise it should match the officer's PIN.</p> <tbody> <tr> <td class="parameter_name"><p>token_url</p></td> -<td class="parameter_description"><p>A PKCS <span class="type">11</span> URL specifying a token</p></td> +<td class="parameter_description"><p>A PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> URL specifying a token</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -2022,11 +2022,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-token-set-pin"></a><h3>gnutls_pkcs11_token_set_pin ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_pkcs11_token_set_pin (<em class="parameter"><code>const <span class="type">char</span> *token_url</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oldpin</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *newpin</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_pkcs11_token_set_pin (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *token_url</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oldpin</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *newpin</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will modify or set a user's PIN for the given token. If it is called to set a user pin for first time the oldpin must be NULL.</p> @@ -2041,7 +2041,7 @@ be NULL.</p> <tbody> <tr> <td class="parameter_name"><p>token_url</p></td> -<td class="parameter_description"><p>A PKCS <span class="type">11</span> URL specifying a token</p></td> +<td class="parameter_description"><p>A PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> URL specifying a token</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -2072,7 +2072,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs11-type-get-name"></a><h3>gnutls_pkcs11_type_get_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * gnutls_pkcs11_type_get_name (<em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-type-t" title="enum gnutls_pkcs11_obj_type_t"><span class="type">gnutls_pkcs11_obj_type_t</span></a> type</code></em>);</pre> <p>This function will return a human readable description of the PKCS11 object type <em class="parameter"><code>obj</code></em> @@ -2105,7 +2105,7 @@ types.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-import-pkcs11"></a><h3>gnutls_x509_crt_import_pkcs11 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_import_pkcs11 (<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>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> pkcs11_crt</code></em>);</pre> <p>This function will import a PKCS 11 certificate to a <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> @@ -2143,10 +2143,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-import-pkcs11-url"></a><h3>gnutls_x509_crt_import_pkcs11_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_import_pkcs11_url (<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>, - <em class="parameter"><code>const <span class="type">char</span> *url</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> *url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import a PKCS 11 certificate directly from a token without involving the <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> structure. This function will fail if the certificate stored is not of X.509 type.</p> @@ -2188,11 +2188,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-list-import-pkcs11"></a><h3>gnutls_x509_crt_list_import_pkcs11 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_list_import_pkcs11 (<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> *certs</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> cert_max</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> cert_max</code></em>, <em class="parameter"><code><a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-obj-t" title="gnutls_pkcs11_obj_t"><span class="type">gnutls_pkcs11_obj_t</span></a> * const objs</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 import a PKCS 11 certificate list to a list of <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> structure. These must not be initialized.</p> <div class="refsect3"> @@ -2585,4 +2585,4 @@ negative error value.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> 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> diff --git a/reference/gnutls-tpm.html b/reference/gnutls-tpm.html index c2cb98f84e..1b0894fa5e 100644 --- a/reference/gnutls-tpm.html +++ b/reference/gnutls-tpm.html @@ -54,7 +54,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-tpm.html#gnutls-tpm-get-registered" title="gnutls_tpm_get_registered ()">gnutls_tpm_get_registered</a> <span class="c_punctuation">()</span> @@ -62,7 +62,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-tpm.html#gnutls-tpm-key-list-deinit" title="gnutls_tpm_key_list_deinit ()">gnutls_tpm_key_list_deinit</a> <span class="c_punctuation">()</span> @@ -70,7 +70,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-tpm.html#gnutls-tpm-key-list-get-url" title="gnutls_tpm_key_list_get_url ()">gnutls_tpm_key_list_get_url</a> <span class="c_punctuation">()</span> @@ -78,7 +78,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-tpm.html#gnutls-tpm-privkey-delete" title="gnutls_tpm_privkey_delete ()">gnutls_tpm_privkey_delete</a> <span class="c_punctuation">()</span> @@ -86,7 +86,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-tpm.html#gnutls-tpm-privkey-generate" title="gnutls_tpm_privkey_generate ()">gnutls_tpm_privkey_generate</a> <span class="c_punctuation">()</span> @@ -156,7 +156,7 @@ <hr> <div class="refsect2"> <a name="gnutls-tpm-get-registered"></a><h3>gnutls_tpm_get_registered ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_tpm_get_registered (<em class="parameter"><code><a class="link" href="gnutls-tpm.html#gnutls-tpm-key-list-t" title="gnutls_tpm_key_list_t"><span class="type">gnutls_tpm_key_list_t</span></a> *list</code></em>);</pre> <p>This function will get a list of stored keys in the TPM. The uuid of those keys</p> @@ -186,7 +186,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-tpm-key-list-deinit"></a><h3>gnutls_tpm_key_list_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_tpm_key_list_deinit (<em class="parameter"><code><a class="link" href="gnutls-tpm.html#gnutls-tpm-key-list-t" title="gnutls_tpm_key_list_t"><span class="type">gnutls_tpm_key_list_t</span></a> list</code></em>);</pre> <p>This function will deinitialize the list of stored keys in the TPM.</p> <div class="refsect3"> @@ -209,11 +209,11 @@ gnutls_tpm_key_list_deinit (<em class="parameter"><code><a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-tpm-key-list-get-url"></a><h3>gnutls_tpm_key_list_get_url ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_tpm_key_list_get_url (<em class="parameter"><code><a class="link" href="gnutls-tpm.html#gnutls-tpm-key-list-t" title="gnutls_tpm_key_list_t"><span class="type">gnutls_tpm_key_list_t</span></a> list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> idx</code></em>, - <em class="parameter"><code><span class="type">char</span> **url</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> idx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **url</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will return for each given index a URL of the corresponding key. If the provided index is out of bounds then <a class="link" href="gnutls-gnutls.html#GNUTLS-E-REQUESTED-DATA-NOT-AVAILABLE:CAPS" title="GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE"><code class="literal">GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE</code></a> @@ -261,9 +261,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-tpm-privkey-delete"></a><h3>gnutls_tpm_privkey_delete ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_tpm_privkey_delete (<em class="parameter"><code>const <span class="type">char</span> *url</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *srk_password</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_tpm_privkey_delete (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *url</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *srk_password</code></em>);</pre> <p>This function will unregister the private key from the TPM chip.</p> <div class="refsect3"> @@ -299,16 +299,16 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-tpm-privkey-generate"></a><h3>gnutls_tpm_privkey_generate ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_tpm_privkey_generate (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> pk</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *srk_password</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *key_password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> bits</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *srk_password</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *key_password</code></em>, <em class="parameter"><code><a class="link" href="gnutls-tpm.html#gnutls-tpmkey-fmt-t" title="enum gnutls_tpmkey_fmt_t"><span class="type">gnutls_tpmkey_fmt_t</span></a> format</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> pub_format</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *privkey</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *pubkey</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *privkey</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *pubkey</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will generate a private key in the TPM chip. The private key will be generated within the chip and will be exported in a wrapped with TPM's master key @@ -449,4 +449,4 @@ negative error value.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/gnutls-x509.html b/reference/gnutls-x509.html index e4b6d65e40..1871c69f82 100644 --- a/reference/gnutls-x509.html +++ b/reference/gnutls-x509.html @@ -42,7 +42,7 @@ <tbody> <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-x509.html#gnutls-pkcs7-deinit" title="gnutls_pkcs7_deinit ()">gnutls_pkcs7_deinit</a> <span class="c_punctuation">()</span> @@ -50,7 +50,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-x509.html#gnutls-pkcs7-delete-crl" title="gnutls_pkcs7_delete_crl ()">gnutls_pkcs7_delete_crl</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-x509.html#gnutls-pkcs7-delete-crt" title="gnutls_pkcs7_delete_crt ()">gnutls_pkcs7_delete_crt</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-x509.html#gnutls-pkcs7-export" title="gnutls_pkcs7_export ()">gnutls_pkcs7_export</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-x509.html#gnutls-pkcs7-export2" title="gnutls_pkcs7_export2 ()">gnutls_pkcs7_export2</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-x509.html#gnutls-pkcs7-get-crl-count" title="gnutls_pkcs7_get_crl_count ()">gnutls_pkcs7_get_crl_count</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-x509.html#gnutls-pkcs7-get-crl-raw" title="gnutls_pkcs7_get_crl_raw ()">gnutls_pkcs7_get_crl_raw</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-x509.html#gnutls-pkcs7-get-crt-count" title="gnutls_pkcs7_get_crt_count ()">gnutls_pkcs7_get_crt_count</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-x509.html#gnutls-pkcs7-get-crt-raw" title="gnutls_pkcs7_get_crt_raw ()">gnutls_pkcs7_get_crt_raw</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-x509.html#gnutls-pkcs7-import" title="gnutls_pkcs7_import ()">gnutls_pkcs7_import</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-x509.html#gnutls-pkcs7-init" title="gnutls_pkcs7_init ()">gnutls_pkcs7_init</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-x509.html#gnutls-pkcs7-set-crl" title="gnutls_pkcs7_set_crl ()">gnutls_pkcs7_set_crl</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-x509.html#gnutls-pkcs7-set-crl-raw" title="gnutls_pkcs7_set_crl_raw ()">gnutls_pkcs7_set_crl_raw</a> <span class="c_punctuation">()</span> @@ -146,7 +146,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-x509.html#gnutls-pkcs7-set-crt" title="gnutls_pkcs7_set_crt ()">gnutls_pkcs7_set_crt</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-x509.html#gnutls-pkcs7-set-crt-raw" title="gnutls_pkcs7_set_crt_raw ()">gnutls_pkcs7_set_crt_raw</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-x509.html#gnutls-x509-crl-check-issuer" title="gnutls_x509_crl_check_issuer ()">gnutls_x509_crl_check_issuer</a> <span class="c_punctuation">()</span> @@ -170,7 +170,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-x509.html#gnutls-x509-crl-deinit" title="gnutls_x509_crl_deinit ()">gnutls_x509_crl_deinit</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-x509.html#gnutls-x509-crl-export" title="gnutls_x509_crl_export ()">gnutls_x509_crl_export</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-x509.html#gnutls-x509-crl-export2" title="gnutls_x509_crl_export2 ()">gnutls_x509_crl_export2</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-x509.html#gnutls-x509-crl-get-authority-key-gn-serial" title="gnutls_x509_crl_get_authority_key_gn_serial ()">gnutls_x509_crl_get_authority_key_gn_serial</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-x509.html#gnutls-x509-crl-get-authority-key-id" title="gnutls_x509_crl_get_authority_key_id ()">gnutls_x509_crl_get_authority_key_id</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-x509.html#gnutls-x509-crl-get-crt-count" title="gnutls_x509_crl_get_crt_count ()">gnutls_x509_crl_get_crt_count</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-x509.html#gnutls-x509-crl-get-crt-serial" title="gnutls_x509_crl_get_crt_serial ()">gnutls_x509_crl_get_crt_serial</a> <span class="c_punctuation">()</span> @@ -226,7 +226,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-x509.html#gnutls-x509-crl-get-dn-oid" title="gnutls_x509_crl_get_dn_oid ()">gnutls_x509_crl_get_dn_oid</a> <span class="c_punctuation">()</span> @@ -234,7 +234,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-x509.html#gnutls-x509-crl-get-extension-data" title="gnutls_x509_crl_get_extension_data ()">gnutls_x509_crl_get_extension_data</a> <span class="c_punctuation">()</span> @@ -242,7 +242,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-x509.html#gnutls-x509-crl-get-extension-info" title="gnutls_x509_crl_get_extension_info ()">gnutls_x509_crl_get_extension_info</a> <span class="c_punctuation">()</span> @@ -250,7 +250,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-x509.html#gnutls-x509-crl-get-extension-oid" title="gnutls_x509_crl_get_extension_oid ()">gnutls_x509_crl_get_extension_oid</a> <span class="c_punctuation">()</span> @@ -258,7 +258,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-x509.html#gnutls-x509-crl-get-issuer-dn" title="gnutls_x509_crl_get_issuer_dn ()">gnutls_x509_crl_get_issuer_dn</a> <span class="c_punctuation">()</span> @@ -266,7 +266,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-x509.html#gnutls-x509-crl-get-issuer-dn-by-oid" title="gnutls_x509_crl_get_issuer_dn_by_oid ()">gnutls_x509_crl_get_issuer_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -274,7 +274,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-x509.html#gnutls-x509-crl-get-next-update" title="gnutls_x509_crl_get_next_update ()">gnutls_x509_crl_get_next_update</a> <span class="c_punctuation">()</span> @@ -282,7 +282,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-x509.html#gnutls-x509-crl-get-number" title="gnutls_x509_crl_get_number ()">gnutls_x509_crl_get_number</a> <span class="c_punctuation">()</span> @@ -290,7 +290,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-x509.html#gnutls-x509-crl-get-raw-issuer-dn" title="gnutls_x509_crl_get_raw_issuer_dn ()">gnutls_x509_crl_get_raw_issuer_dn</a> <span class="c_punctuation">()</span> @@ -298,7 +298,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-x509.html#gnutls-x509-crl-get-signature" title="gnutls_x509_crl_get_signature ()">gnutls_x509_crl_get_signature</a> <span class="c_punctuation">()</span> @@ -306,7 +306,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-x509.html#gnutls-x509-crl-get-signature-algorithm" title="gnutls_x509_crl_get_signature_algorithm ()">gnutls_x509_crl_get_signature_algorithm</a> <span class="c_punctuation">()</span> @@ -314,7 +314,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-x509.html#gnutls-x509-crl-get-this-update" title="gnutls_x509_crl_get_this_update ()">gnutls_x509_crl_get_this_update</a> <span class="c_punctuation">()</span> @@ -322,7 +322,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-x509.html#gnutls-x509-crl-get-version" title="gnutls_x509_crl_get_version ()">gnutls_x509_crl_get_version</a> <span class="c_punctuation">()</span> @@ -330,7 +330,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-x509.html#gnutls-x509-crl-import" title="gnutls_x509_crl_import ()">gnutls_x509_crl_import</a> <span class="c_punctuation">()</span> @@ -338,7 +338,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-x509.html#gnutls-x509-crl-init" title="gnutls_x509_crl_init ()">gnutls_x509_crl_init</a> <span class="c_punctuation">()</span> @@ -346,7 +346,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-x509.html#gnutls-x509-crl-list-import" title="gnutls_x509_crl_list_import ()">gnutls_x509_crl_list_import</a> <span class="c_punctuation">()</span> @@ -354,7 +354,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-x509.html#gnutls-x509-crl-list-import2" title="gnutls_x509_crl_list_import2 ()">gnutls_x509_crl_list_import2</a> <span class="c_punctuation">()</span> @@ -362,7 +362,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-x509.html#gnutls-x509-crl-print" title="gnutls_x509_crl_print ()">gnutls_x509_crl_print</a> <span class="c_punctuation">()</span> @@ -370,7 +370,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-x509.html#gnutls-x509-crl-set-authority-key-id" title="gnutls_x509_crl_set_authority_key_id ()">gnutls_x509_crl_set_authority_key_id</a> <span class="c_punctuation">()</span> @@ -378,7 +378,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-x509.html#gnutls-x509-crl-set-crt" title="gnutls_x509_crl_set_crt ()">gnutls_x509_crl_set_crt</a> <span class="c_punctuation">()</span> @@ -386,7 +386,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-x509.html#gnutls-x509-crl-set-crt-serial" title="gnutls_x509_crl_set_crt_serial ()">gnutls_x509_crl_set_crt_serial</a> <span class="c_punctuation">()</span> @@ -394,7 +394,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-x509.html#gnutls-x509-crl-set-next-update" title="gnutls_x509_crl_set_next_update ()">gnutls_x509_crl_set_next_update</a> <span class="c_punctuation">()</span> @@ -402,7 +402,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-x509.html#gnutls-x509-crl-set-number" title="gnutls_x509_crl_set_number ()">gnutls_x509_crl_set_number</a> <span class="c_punctuation">()</span> @@ -410,7 +410,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-x509.html#gnutls-x509-crl-set-this-update" title="gnutls_x509_crl_set_this_update ()">gnutls_x509_crl_set_this_update</a> <span class="c_punctuation">()</span> @@ -418,7 +418,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-x509.html#gnutls-x509-crl-set-version" title="gnutls_x509_crl_set_version ()">gnutls_x509_crl_set_version</a> <span class="c_punctuation">()</span> @@ -426,7 +426,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-x509.html#gnutls-x509-crl-sign2" title="gnutls_x509_crl_sign2 ()">gnutls_x509_crl_sign2</a> <span class="c_punctuation">()</span> @@ -434,7 +434,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-x509.html#gnutls-x509-crl-verify" title="gnutls_x509_crl_verify ()">gnutls_x509_crl_verify</a> <span class="c_punctuation">()</span> @@ -442,7 +442,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-x509.html#gnutls-x509-crq-deinit" title="gnutls_x509_crq_deinit ()">gnutls_x509_crq_deinit</a> <span class="c_punctuation">()</span> @@ -450,7 +450,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-x509.html#gnutls-x509-crq-export" title="gnutls_x509_crq_export ()">gnutls_x509_crq_export</a> <span class="c_punctuation">()</span> @@ -458,7 +458,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-x509.html#gnutls-x509-crq-export2" title="gnutls_x509_crq_export2 ()">gnutls_x509_crq_export2</a> <span class="c_punctuation">()</span> @@ -466,7 +466,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-x509.html#gnutls-x509-crq-get-attribute-by-oid" title="gnutls_x509_crq_get_attribute_by_oid ()">gnutls_x509_crq_get_attribute_by_oid</a> <span class="c_punctuation">()</span> @@ -474,7 +474,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-x509.html#gnutls-x509-crq-get-attribute-data" title="gnutls_x509_crq_get_attribute_data ()">gnutls_x509_crq_get_attribute_data</a> <span class="c_punctuation">()</span> @@ -482,7 +482,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-x509.html#gnutls-x509-crq-get-attribute-info" title="gnutls_x509_crq_get_attribute_info ()">gnutls_x509_crq_get_attribute_info</a> <span class="c_punctuation">()</span> @@ -490,7 +490,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-x509.html#gnutls-x509-crq-get-basic-constraints" title="gnutls_x509_crq_get_basic_constraints ()">gnutls_x509_crq_get_basic_constraints</a> <span class="c_punctuation">()</span> @@ -498,7 +498,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-x509.html#gnutls-x509-crq-get-challenge-password" title="gnutls_x509_crq_get_challenge_password ()">gnutls_x509_crq_get_challenge_password</a> <span class="c_punctuation">()</span> @@ -506,7 +506,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-x509.html#gnutls-x509-crq-get-dn" title="gnutls_x509_crq_get_dn ()">gnutls_x509_crq_get_dn</a> <span class="c_punctuation">()</span> @@ -514,7 +514,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-x509.html#gnutls-x509-crq-get-dn-by-oid" title="gnutls_x509_crq_get_dn_by_oid ()">gnutls_x509_crq_get_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -522,7 +522,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-x509.html#gnutls-x509-crq-get-dn-oid" title="gnutls_x509_crq_get_dn_oid ()">gnutls_x509_crq_get_dn_oid</a> <span class="c_punctuation">()</span> @@ -530,7 +530,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-x509.html#gnutls-x509-crq-get-extension-by-oid" title="gnutls_x509_crq_get_extension_by_oid ()">gnutls_x509_crq_get_extension_by_oid</a> <span class="c_punctuation">()</span> @@ -538,7 +538,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-x509.html#gnutls-x509-crq-get-extension-data" title="gnutls_x509_crq_get_extension_data ()">gnutls_x509_crq_get_extension_data</a> <span class="c_punctuation">()</span> @@ -546,7 +546,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-x509.html#gnutls-x509-crq-get-extension-info" title="gnutls_x509_crq_get_extension_info ()">gnutls_x509_crq_get_extension_info</a> <span class="c_punctuation">()</span> @@ -554,7 +554,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-x509.html#gnutls-x509-crq-get-key-id" title="gnutls_x509_crq_get_key_id ()">gnutls_x509_crq_get_key_id</a> <span class="c_punctuation">()</span> @@ -562,7 +562,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-x509.html#gnutls-x509-crq-get-key-purpose-oid" title="gnutls_x509_crq_get_key_purpose_oid ()">gnutls_x509_crq_get_key_purpose_oid</a> <span class="c_punctuation">()</span> @@ -570,7 +570,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-x509.html#gnutls-x509-crq-get-key-rsa-raw" title="gnutls_x509_crq_get_key_rsa_raw ()">gnutls_x509_crq_get_key_rsa_raw</a> <span class="c_punctuation">()</span> @@ -578,7 +578,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-x509.html#gnutls-x509-crq-get-key-usage" title="gnutls_x509_crq_get_key_usage ()">gnutls_x509_crq_get_key_usage</a> <span class="c_punctuation">()</span> @@ -586,7 +586,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-x509.html#gnutls-x509-crq-get-pk-algorithm" title="gnutls_x509_crq_get_pk_algorithm ()">gnutls_x509_crq_get_pk_algorithm</a> <span class="c_punctuation">()</span> @@ -594,7 +594,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-x509.html#gnutls-x509-crq-get-private-key-usage-period" title="gnutls_x509_crq_get_private_key_usage_period ()">gnutls_x509_crq_get_private_key_usage_period</a> <span class="c_punctuation">()</span> @@ -602,7 +602,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-x509.html#gnutls-x509-crq-get-subject-alt-name" title="gnutls_x509_crq_get_subject_alt_name ()">gnutls_x509_crq_get_subject_alt_name</a> <span class="c_punctuation">()</span> @@ -610,7 +610,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-x509.html#gnutls-x509-crq-get-subject-alt-othername-oid" title="gnutls_x509_crq_get_subject_alt_othername_oid ()">gnutls_x509_crq_get_subject_alt_othername_oid</a> <span class="c_punctuation">()</span> @@ -618,7 +618,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-x509.html#gnutls-x509-crq-get-version" title="gnutls_x509_crq_get_version ()">gnutls_x509_crq_get_version</a> <span class="c_punctuation">()</span> @@ -626,7 +626,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-x509.html#gnutls-x509-crq-import" title="gnutls_x509_crq_import ()">gnutls_x509_crq_import</a> <span class="c_punctuation">()</span> @@ -634,7 +634,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-x509.html#gnutls-x509-crq-init" title="gnutls_x509_crq_init ()">gnutls_x509_crq_init</a> <span class="c_punctuation">()</span> @@ -642,7 +642,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-x509.html#gnutls-x509-crq-print" title="gnutls_x509_crq_print ()">gnutls_x509_crq_print</a> <span class="c_punctuation">()</span> @@ -650,7 +650,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-x509.html#gnutls-x509-crq-set-attribute-by-oid" title="gnutls_x509_crq_set_attribute_by_oid ()">gnutls_x509_crq_set_attribute_by_oid</a> <span class="c_punctuation">()</span> @@ -658,7 +658,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-x509.html#gnutls-x509-crq-set-basic-constraints" title="gnutls_x509_crq_set_basic_constraints ()">gnutls_x509_crq_set_basic_constraints</a> <span class="c_punctuation">()</span> @@ -666,7 +666,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-x509.html#gnutls-x509-crq-set-challenge-password" title="gnutls_x509_crq_set_challenge_password ()">gnutls_x509_crq_set_challenge_password</a> <span class="c_punctuation">()</span> @@ -674,7 +674,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-x509.html#gnutls-x509-crq-set-dn-by-oid" title="gnutls_x509_crq_set_dn_by_oid ()">gnutls_x509_crq_set_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -682,7 +682,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-x509.html#gnutls-x509-crq-set-key" title="gnutls_x509_crq_set_key ()">gnutls_x509_crq_set_key</a> <span class="c_punctuation">()</span> @@ -690,7 +690,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-x509.html#gnutls-x509-crq-set-key-purpose-oid" title="gnutls_x509_crq_set_key_purpose_oid ()">gnutls_x509_crq_set_key_purpose_oid</a> <span class="c_punctuation">()</span> @@ -698,7 +698,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-x509.html#gnutls-x509-crq-set-key-rsa-raw" title="gnutls_x509_crq_set_key_rsa_raw ()">gnutls_x509_crq_set_key_rsa_raw</a> <span class="c_punctuation">()</span> @@ -706,7 +706,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-x509.html#gnutls-x509-crq-set-key-usage" title="gnutls_x509_crq_set_key_usage ()">gnutls_x509_crq_set_key_usage</a> <span class="c_punctuation">()</span> @@ -714,7 +714,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-x509.html#gnutls-x509-crq-set-private-key-usage-period" title="gnutls_x509_crq_set_private_key_usage_period ()">gnutls_x509_crq_set_private_key_usage_period</a> <span class="c_punctuation">()</span> @@ -722,7 +722,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-x509.html#gnutls-x509-crq-set-subject-alt-name" title="gnutls_x509_crq_set_subject_alt_name ()">gnutls_x509_crq_set_subject_alt_name</a> <span class="c_punctuation">()</span> @@ -730,7 +730,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-x509.html#gnutls-x509-crq-set-version" title="gnutls_x509_crq_set_version ()">gnutls_x509_crq_set_version</a> <span class="c_punctuation">()</span> @@ -738,7 +738,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-x509.html#gnutls-x509-crq-sign2" title="gnutls_x509_crq_sign2 ()">gnutls_x509_crq_sign2</a> <span class="c_punctuation">()</span> @@ -746,7 +746,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-x509.html#gnutls-x509-crq-verify" title="gnutls_x509_crq_verify ()">gnutls_x509_crq_verify</a> <span class="c_punctuation">()</span> @@ -754,7 +754,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-x509.html#gnutls-x509-crt-check-hostname" title="gnutls_x509_crt_check_hostname ()">gnutls_x509_crt_check_hostname</a> <span class="c_punctuation">()</span> @@ -762,7 +762,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-x509.html#gnutls-x509-crt-check-issuer" title="gnutls_x509_crt_check_issuer ()">gnutls_x509_crt_check_issuer</a> <span class="c_punctuation">()</span> @@ -770,7 +770,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-x509.html#gnutls-x509-crt-check-revocation" title="gnutls_x509_crt_check_revocation ()">gnutls_x509_crt_check_revocation</a> <span class="c_punctuation">()</span> @@ -778,7 +778,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-x509.html#gnutls-x509-crt-cpy-crl-dist-points" title="gnutls_x509_crt_cpy_crl_dist_points ()">gnutls_x509_crt_cpy_crl_dist_points</a> <span class="c_punctuation">()</span> @@ -786,7 +786,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-x509.html#gnutls-x509-crt-deinit" title="gnutls_x509_crt_deinit ()">gnutls_x509_crt_deinit</a> <span class="c_punctuation">()</span> @@ -794,7 +794,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-x509.html#gnutls-x509-crt-export" title="gnutls_x509_crt_export ()">gnutls_x509_crt_export</a> <span class="c_punctuation">()</span> @@ -802,7 +802,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-x509.html#gnutls-x509-crt-export2" title="gnutls_x509_crt_export2 ()">gnutls_x509_crt_export2</a> <span class="c_punctuation">()</span> @@ -810,7 +810,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-x509.html#gnutls-x509-crt-get-activation-time" title="gnutls_x509_crt_get_activation_time ()">gnutls_x509_crt_get_activation_time</a> <span class="c_punctuation">()</span> @@ -818,7 +818,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-x509.html#gnutls-x509-crt-get-authority-info-access" title="gnutls_x509_crt_get_authority_info_access ()">gnutls_x509_crt_get_authority_info_access</a> <span class="c_punctuation">()</span> @@ -826,7 +826,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-x509.html#gnutls-x509-crt-get-authority-key-gn-serial" title="gnutls_x509_crt_get_authority_key_gn_serial ()">gnutls_x509_crt_get_authority_key_gn_serial</a> <span class="c_punctuation">()</span> @@ -834,7 +834,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-x509.html#gnutls-x509-crt-get-authority-key-id" title="gnutls_x509_crt_get_authority_key_id ()">gnutls_x509_crt_get_authority_key_id</a> <span class="c_punctuation">()</span> @@ -842,7 +842,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-x509.html#gnutls-x509-crt-get-basic-constraints" title="gnutls_x509_crt_get_basic_constraints ()">gnutls_x509_crt_get_basic_constraints</a> <span class="c_punctuation">()</span> @@ -850,7 +850,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-x509.html#gnutls-x509-crt-get-ca-status" title="gnutls_x509_crt_get_ca_status ()">gnutls_x509_crt_get_ca_status</a> <span class="c_punctuation">()</span> @@ -858,7 +858,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-x509.html#gnutls-x509-crt-get-crl-dist-points" title="gnutls_x509_crt_get_crl_dist_points ()">gnutls_x509_crt_get_crl_dist_points</a> <span class="c_punctuation">()</span> @@ -866,7 +866,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-x509.html#gnutls-x509-crt-get-dn" title="gnutls_x509_crt_get_dn ()">gnutls_x509_crt_get_dn</a> <span class="c_punctuation">()</span> @@ -874,7 +874,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-x509.html#gnutls-x509-crt-get-dn-by-oid" title="gnutls_x509_crt_get_dn_by_oid ()">gnutls_x509_crt_get_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -882,7 +882,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-x509.html#gnutls-x509-crt-get-dn-oid" title="gnutls_x509_crt_get_dn_oid ()">gnutls_x509_crt_get_dn_oid</a> <span class="c_punctuation">()</span> @@ -890,7 +890,7 @@ </tr> <tr> <td class="function_type"> -<span class="returnvalue">time_t</span> +<GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> </td> <td class="function_name"> <a class="link" href="gnutls-x509.html#gnutls-x509-crt-get-expiration-time" title="gnutls_x509_crt_get_expiration_time ()">gnutls_x509_crt_get_expiration_time</a> <span class="c_punctuation">()</span> @@ -898,7 +898,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-x509.html#gnutls-x509-crt-get-extension-by-oid" title="gnutls_x509_crt_get_extension_by_oid ()">gnutls_x509_crt_get_extension_by_oid</a> <span class="c_punctuation">()</span> @@ -906,7 +906,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-x509.html#gnutls-x509-crt-get-extension-data" title="gnutls_x509_crt_get_extension_data ()">gnutls_x509_crt_get_extension_data</a> <span class="c_punctuation">()</span> @@ -914,7 +914,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-x509.html#gnutls-x509-crt-get-extension-info" title="gnutls_x509_crt_get_extension_info ()">gnutls_x509_crt_get_extension_info</a> <span class="c_punctuation">()</span> @@ -922,7 +922,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-x509.html#gnutls-x509-crt-get-extension-oid" title="gnutls_x509_crt_get_extension_oid ()">gnutls_x509_crt_get_extension_oid</a> <span class="c_punctuation">()</span> @@ -930,7 +930,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-x509.html#gnutls-x509-crt-get-fingerprint" title="gnutls_x509_crt_get_fingerprint ()">gnutls_x509_crt_get_fingerprint</a> <span class="c_punctuation">()</span> @@ -938,7 +938,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-x509.html#gnutls-x509-crt-get-issuer" title="gnutls_x509_crt_get_issuer ()">gnutls_x509_crt_get_issuer</a> <span class="c_punctuation">()</span> @@ -946,7 +946,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-x509.html#gnutls-x509-crt-get-issuer-alt-name" title="gnutls_x509_crt_get_issuer_alt_name ()">gnutls_x509_crt_get_issuer_alt_name</a> <span class="c_punctuation">()</span> @@ -954,7 +954,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-x509.html#gnutls-x509-crt-get-issuer-alt-name2" title="gnutls_x509_crt_get_issuer_alt_name2 ()">gnutls_x509_crt_get_issuer_alt_name2</a> <span class="c_punctuation">()</span> @@ -962,7 +962,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-x509.html#gnutls-x509-crt-get-issuer-alt-othername-oid" title="gnutls_x509_crt_get_issuer_alt_othername_oid ()">gnutls_x509_crt_get_issuer_alt_othername_oid</a> <span class="c_punctuation">()</span> @@ -970,7 +970,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-x509.html#gnutls-x509-crt-get-issuer-dn" title="gnutls_x509_crt_get_issuer_dn ()">gnutls_x509_crt_get_issuer_dn</a> <span class="c_punctuation">()</span> @@ -978,7 +978,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-x509.html#gnutls-x509-crt-get-issuer-dn-by-oid" title="gnutls_x509_crt_get_issuer_dn_by_oid ()">gnutls_x509_crt_get_issuer_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -986,7 +986,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-x509.html#gnutls-x509-crt-get-issuer-dn-oid" title="gnutls_x509_crt_get_issuer_dn_oid ()">gnutls_x509_crt_get_issuer_dn_oid</a> <span class="c_punctuation">()</span> @@ -994,7 +994,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-x509.html#gnutls-x509-crt-get-issuer-unique-id" title="gnutls_x509_crt_get_issuer_unique_id ()">gnutls_x509_crt_get_issuer_unique_id</a> <span class="c_punctuation">()</span> @@ -1002,7 +1002,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-x509.html#gnutls-x509-crt-get-key-id" title="gnutls_x509_crt_get_key_id ()">gnutls_x509_crt_get_key_id</a> <span class="c_punctuation">()</span> @@ -1010,7 +1010,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-x509.html#gnutls-x509-crt-get-key-purpose-oid" title="gnutls_x509_crt_get_key_purpose_oid ()">gnutls_x509_crt_get_key_purpose_oid</a> <span class="c_punctuation">()</span> @@ -1018,7 +1018,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-x509.html#gnutls-x509-crt-get-key-usage" title="gnutls_x509_crt_get_key_usage ()">gnutls_x509_crt_get_key_usage</a> <span class="c_punctuation">()</span> @@ -1026,7 +1026,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-x509.html#gnutls-x509-crt-get-pk-algorithm" title="gnutls_x509_crt_get_pk_algorithm ()">gnutls_x509_crt_get_pk_algorithm</a> <span class="c_punctuation">()</span> @@ -1034,7 +1034,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-x509.html#gnutls-x509-crt-get-pk-dsa-raw" title="gnutls_x509_crt_get_pk_dsa_raw ()">gnutls_x509_crt_get_pk_dsa_raw</a> <span class="c_punctuation">()</span> @@ -1042,7 +1042,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-x509.html#gnutls-x509-crt-get-pk-rsa-raw" title="gnutls_x509_crt_get_pk_rsa_raw ()">gnutls_x509_crt_get_pk_rsa_raw</a> <span class="c_punctuation">()</span> @@ -1050,7 +1050,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-x509.html#gnutls-x509-crt-get-policy" title="gnutls_x509_crt_get_policy ()">gnutls_x509_crt_get_policy</a> <span class="c_punctuation">()</span> @@ -1058,7 +1058,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-x509.html#gnutls-x509-crt-get-private-key-usage-period" title="gnutls_x509_crt_get_private_key_usage_period ()">gnutls_x509_crt_get_private_key_usage_period</a> <span class="c_punctuation">()</span> @@ -1066,7 +1066,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-x509.html#gnutls-x509-crt-get-proxy" title="gnutls_x509_crt_get_proxy ()">gnutls_x509_crt_get_proxy</a> <span class="c_punctuation">()</span> @@ -1074,7 +1074,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-x509.html#gnutls-x509-crt-get-raw-dn" title="gnutls_x509_crt_get_raw_dn ()">gnutls_x509_crt_get_raw_dn</a> <span class="c_punctuation">()</span> @@ -1082,7 +1082,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-x509.html#gnutls-x509-crt-get-raw-issuer-dn" title="gnutls_x509_crt_get_raw_issuer_dn ()">gnutls_x509_crt_get_raw_issuer_dn</a> <span class="c_punctuation">()</span> @@ -1090,7 +1090,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-x509.html#gnutls-x509-crt-get-serial" title="gnutls_x509_crt_get_serial ()">gnutls_x509_crt_get_serial</a> <span class="c_punctuation">()</span> @@ -1098,7 +1098,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-x509.html#gnutls-x509-crt-get-signature" title="gnutls_x509_crt_get_signature ()">gnutls_x509_crt_get_signature</a> <span class="c_punctuation">()</span> @@ -1106,7 +1106,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-x509.html#gnutls-x509-crt-get-signature-algorithm" title="gnutls_x509_crt_get_signature_algorithm ()">gnutls_x509_crt_get_signature_algorithm</a> <span class="c_punctuation">()</span> @@ -1114,7 +1114,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-x509.html#gnutls-x509-crt-get-subject" title="gnutls_x509_crt_get_subject ()">gnutls_x509_crt_get_subject</a> <span class="c_punctuation">()</span> @@ -1122,7 +1122,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-x509.html#gnutls-x509-crt-get-subject-alt-name" title="gnutls_x509_crt_get_subject_alt_name ()">gnutls_x509_crt_get_subject_alt_name</a> <span class="c_punctuation">()</span> @@ -1130,7 +1130,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-x509.html#gnutls-x509-crt-get-subject-alt-name2" title="gnutls_x509_crt_get_subject_alt_name2 ()">gnutls_x509_crt_get_subject_alt_name2</a> <span class="c_punctuation">()</span> @@ -1138,7 +1138,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-x509.html#gnutls-x509-crt-get-subject-alt-othername-oid" title="gnutls_x509_crt_get_subject_alt_othername_oid ()">gnutls_x509_crt_get_subject_alt_othername_oid</a> <span class="c_punctuation">()</span> @@ -1146,7 +1146,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-x509.html#gnutls-x509-crt-get-subject-key-id" title="gnutls_x509_crt_get_subject_key_id ()">gnutls_x509_crt_get_subject_key_id</a> <span class="c_punctuation">()</span> @@ -1154,7 +1154,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-x509.html#gnutls-x509-crt-get-subject-unique-id" title="gnutls_x509_crt_get_subject_unique_id ()">gnutls_x509_crt_get_subject_unique_id</a> <span class="c_punctuation">()</span> @@ -1162,7 +1162,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-x509.html#gnutls-x509-crt-get-version" title="gnutls_x509_crt_get_version ()">gnutls_x509_crt_get_version</a> <span class="c_punctuation">()</span> @@ -1170,7 +1170,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-x509.html#gnutls-x509-crt-import" title="gnutls_x509_crt_import ()">gnutls_x509_crt_import</a> <span class="c_punctuation">()</span> @@ -1178,7 +1178,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-x509.html#gnutls-x509-crt-init" title="gnutls_x509_crt_init ()">gnutls_x509_crt_init</a> <span class="c_punctuation">()</span> @@ -1186,7 +1186,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-x509.html#gnutls-x509-crt-list-import" title="gnutls_x509_crt_list_import ()">gnutls_x509_crt_list_import</a> <span class="c_punctuation">()</span> @@ -1194,7 +1194,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-x509.html#gnutls-x509-crt-list-import2" title="gnutls_x509_crt_list_import2 ()">gnutls_x509_crt_list_import2</a> <span class="c_punctuation">()</span> @@ -1202,7 +1202,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-x509.html#gnutls-x509-crt-list-verify" title="gnutls_x509_crt_list_verify ()">gnutls_x509_crt_list_verify</a> <span class="c_punctuation">()</span> @@ -1210,7 +1210,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-x509.html#gnutls-x509-crt-print" title="gnutls_x509_crt_print ()">gnutls_x509_crt_print</a> <span class="c_punctuation">()</span> @@ -1218,7 +1218,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-x509.html#gnutls-x509-crt-set-activation-time" title="gnutls_x509_crt_set_activation_time ()">gnutls_x509_crt_set_activation_time</a> <span class="c_punctuation">()</span> @@ -1226,7 +1226,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-x509.html#gnutls-x509-crt-set-authority-info-access" title="gnutls_x509_crt_set_authority_info_access ()">gnutls_x509_crt_set_authority_info_access</a> <span class="c_punctuation">()</span> @@ -1234,7 +1234,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-x509.html#gnutls-x509-crt-set-authority-key-id" title="gnutls_x509_crt_set_authority_key_id ()">gnutls_x509_crt_set_authority_key_id</a> <span class="c_punctuation">()</span> @@ -1242,7 +1242,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-x509.html#gnutls-x509-crt-set-basic-constraints" title="gnutls_x509_crt_set_basic_constraints ()">gnutls_x509_crt_set_basic_constraints</a> <span class="c_punctuation">()</span> @@ -1250,7 +1250,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-x509.html#gnutls-x509-crt-set-ca-status" title="gnutls_x509_crt_set_ca_status ()">gnutls_x509_crt_set_ca_status</a> <span class="c_punctuation">()</span> @@ -1258,7 +1258,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-x509.html#gnutls-x509-crt-set-crl-dist-points" title="gnutls_x509_crt_set_crl_dist_points ()">gnutls_x509_crt_set_crl_dist_points</a> <span class="c_punctuation">()</span> @@ -1266,7 +1266,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-x509.html#gnutls-x509-crt-set-crl-dist-points2" title="gnutls_x509_crt_set_crl_dist_points2 ()">gnutls_x509_crt_set_crl_dist_points2</a> <span class="c_punctuation">()</span> @@ -1274,7 +1274,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-x509.html#gnutls-x509-crt-set-crq" title="gnutls_x509_crt_set_crq ()">gnutls_x509_crt_set_crq</a> <span class="c_punctuation">()</span> @@ -1282,7 +1282,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-x509.html#gnutls-x509-crt-set-crq-extensions" title="gnutls_x509_crt_set_crq_extensions ()">gnutls_x509_crt_set_crq_extensions</a> <span class="c_punctuation">()</span> @@ -1290,7 +1290,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-x509.html#gnutls-x509-crt-set-dn-by-oid" title="gnutls_x509_crt_set_dn_by_oid ()">gnutls_x509_crt_set_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -1298,7 +1298,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-x509.html#gnutls-x509-crt-set-expiration-time" title="gnutls_x509_crt_set_expiration_time ()">gnutls_x509_crt_set_expiration_time</a> <span class="c_punctuation">()</span> @@ -1306,7 +1306,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-x509.html#gnutls-x509-crt-set-extension-by-oid" title="gnutls_x509_crt_set_extension_by_oid ()">gnutls_x509_crt_set_extension_by_oid</a> <span class="c_punctuation">()</span> @@ -1314,7 +1314,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-x509.html#gnutls-x509-crt-set-issuer-dn-by-oid" title="gnutls_x509_crt_set_issuer_dn_by_oid ()">gnutls_x509_crt_set_issuer_dn_by_oid</a> <span class="c_punctuation">()</span> @@ -1322,7 +1322,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-x509.html#gnutls-x509-crt-set-key" title="gnutls_x509_crt_set_key ()">gnutls_x509_crt_set_key</a> <span class="c_punctuation">()</span> @@ -1330,7 +1330,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-x509.html#gnutls-x509-crt-set-key-purpose-oid" title="gnutls_x509_crt_set_key_purpose_oid ()">gnutls_x509_crt_set_key_purpose_oid</a> <span class="c_punctuation">()</span> @@ -1338,7 +1338,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-x509.html#gnutls-x509-crt-set-key-usage" title="gnutls_x509_crt_set_key_usage ()">gnutls_x509_crt_set_key_usage</a> <span class="c_punctuation">()</span> @@ -1346,7 +1346,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-x509.html#gnutls-x509-crt-set-pin-function" title="gnutls_x509_crt_set_pin_function ()">gnutls_x509_crt_set_pin_function</a> <span class="c_punctuation">()</span> @@ -1354,7 +1354,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-x509.html#gnutls-x509-crt-set-policy" title="gnutls_x509_crt_set_policy ()">gnutls_x509_crt_set_policy</a> <span class="c_punctuation">()</span> @@ -1362,7 +1362,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-x509.html#gnutls-x509-crt-set-private-key-usage-period" title="gnutls_x509_crt_set_private_key_usage_period ()">gnutls_x509_crt_set_private_key_usage_period</a> <span class="c_punctuation">()</span> @@ -1370,7 +1370,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-x509.html#gnutls-x509-crt-set-proxy" title="gnutls_x509_crt_set_proxy ()">gnutls_x509_crt_set_proxy</a> <span class="c_punctuation">()</span> @@ -1378,7 +1378,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-x509.html#gnutls-x509-crt-set-proxy-dn" title="gnutls_x509_crt_set_proxy_dn ()">gnutls_x509_crt_set_proxy_dn</a> <span class="c_punctuation">()</span> @@ -1386,7 +1386,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-x509.html#gnutls-x509-crt-set-serial" title="gnutls_x509_crt_set_serial ()">gnutls_x509_crt_set_serial</a> <span class="c_punctuation">()</span> @@ -1394,7 +1394,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-x509.html#gnutls-x509-crt-set-subject-alt-name" title="gnutls_x509_crt_set_subject_alt_name ()">gnutls_x509_crt_set_subject_alt_name</a> <span class="c_punctuation">()</span> @@ -1402,7 +1402,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-x509.html#gnutls-x509-crt-set-subject-alternative-name" title="gnutls_x509_crt_set_subject_alternative_name ()">gnutls_x509_crt_set_subject_alternative_name</a> <span class="c_punctuation">()</span> @@ -1410,7 +1410,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-x509.html#gnutls-x509-crt-set-subject-key-id" title="gnutls_x509_crt_set_subject_key_id ()">gnutls_x509_crt_set_subject_key_id</a> <span class="c_punctuation">()</span> @@ -1418,7 +1418,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-x509.html#gnutls-x509-crt-set-version" title="gnutls_x509_crt_set_version ()">gnutls_x509_crt_set_version</a> <span class="c_punctuation">()</span> @@ -1426,7 +1426,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-x509.html#gnutls-x509-crt-sign" title="gnutls_x509_crt_sign ()">gnutls_x509_crt_sign</a> <span class="c_punctuation">()</span> @@ -1434,7 +1434,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-x509.html#gnutls-x509-crt-sign2" title="gnutls_x509_crt_sign2 ()">gnutls_x509_crt_sign2</a> <span class="c_punctuation">()</span> @@ -1442,7 +1442,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-x509.html#gnutls-x509-crt-verify" title="gnutls_x509_crt_verify ()">gnutls_x509_crt_verify</a> <span class="c_punctuation">()</span> @@ -1450,7 +1450,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-x509.html#gnutls-x509-dn-deinit" title="gnutls_x509_dn_deinit ()">gnutls_x509_dn_deinit</a> <span class="c_punctuation">()</span> @@ -1458,7 +1458,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-x509.html#gnutls-x509-dn-export" title="gnutls_x509_dn_export ()">gnutls_x509_dn_export</a> <span class="c_punctuation">()</span> @@ -1466,7 +1466,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-x509.html#gnutls-x509-dn-export2" title="gnutls_x509_dn_export2 ()">gnutls_x509_dn_export2</a> <span class="c_punctuation">()</span> @@ -1474,7 +1474,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-x509.html#gnutls-x509-dn-get-rdn-ava" title="gnutls_x509_dn_get_rdn_ava ()">gnutls_x509_dn_get_rdn_ava</a> <span class="c_punctuation">()</span> @@ -1482,7 +1482,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-x509.html#gnutls-x509-dn-import" title="gnutls_x509_dn_import ()">gnutls_x509_dn_import</a> <span class="c_punctuation">()</span> @@ -1490,7 +1490,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-x509.html#gnutls-x509-dn-init" title="gnutls_x509_dn_init ()">gnutls_x509_dn_init</a> <span class="c_punctuation">()</span> @@ -1498,14 +1498,14 @@ </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-x509.html#gnutls-x509-dn-oid-known" title="gnutls_x509_dn_oid_known ()">gnutls_x509_dn_oid_known</a> <span class="c_punctuation">()</span> </td> </tr> <tr> -<td class="function_type">const <span class="returnvalue">char</span> * +<td class="function_type">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * </td> <td class="function_name"> <a class="link" href="gnutls-x509.html#gnutls-x509-dn-oid-name" title="gnutls_x509_dn_oid_name ()">gnutls_x509_dn_oid_name</a> <span class="c_punctuation">()</span> @@ -1513,7 +1513,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-x509.html#gnutls-x509-policy-release" title="gnutls_x509_policy_release ()">gnutls_x509_policy_release</a> <span class="c_punctuation">()</span> @@ -1521,7 +1521,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-x509.html#gnutls-x509-privkey-cpy" title="gnutls_x509_privkey_cpy ()">gnutls_x509_privkey_cpy</a> <span class="c_punctuation">()</span> @@ -1529,7 +1529,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-x509.html#gnutls-x509-privkey-deinit" title="gnutls_x509_privkey_deinit ()">gnutls_x509_privkey_deinit</a> <span class="c_punctuation">()</span> @@ -1537,7 +1537,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-x509.html#gnutls-x509-privkey-export" title="gnutls_x509_privkey_export ()">gnutls_x509_privkey_export</a> <span class="c_punctuation">()</span> @@ -1545,7 +1545,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-x509.html#gnutls-x509-privkey-export2" title="gnutls_x509_privkey_export2 ()">gnutls_x509_privkey_export2</a> <span class="c_punctuation">()</span> @@ -1553,7 +1553,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-x509.html#gnutls-x509-privkey-export2-pkcs8" title="gnutls_x509_privkey_export2_pkcs8 ()">gnutls_x509_privkey_export2_pkcs8</a> <span class="c_punctuation">()</span> @@ -1561,7 +1561,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-x509.html#gnutls-x509-privkey-export-dsa-raw" title="gnutls_x509_privkey_export_dsa_raw ()">gnutls_x509_privkey_export_dsa_raw</a> <span class="c_punctuation">()</span> @@ -1569,7 +1569,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-x509.html#gnutls-x509-privkey-export-ecc-raw" title="gnutls_x509_privkey_export_ecc_raw ()">gnutls_x509_privkey_export_ecc_raw</a> <span class="c_punctuation">()</span> @@ -1577,7 +1577,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-x509.html#gnutls-x509-privkey-export-pkcs8" title="gnutls_x509_privkey_export_pkcs8 ()">gnutls_x509_privkey_export_pkcs8</a> <span class="c_punctuation">()</span> @@ -1585,7 +1585,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-x509.html#gnutls-x509-privkey-export-rsa-raw" title="gnutls_x509_privkey_export_rsa_raw ()">gnutls_x509_privkey_export_rsa_raw</a> <span class="c_punctuation">()</span> @@ -1593,7 +1593,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-x509.html#gnutls-x509-privkey-export-rsa-raw2" title="gnutls_x509_privkey_export_rsa_raw2 ()">gnutls_x509_privkey_export_rsa_raw2</a> <span class="c_punctuation">()</span> @@ -1601,7 +1601,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-x509.html#gnutls-x509-privkey-fix" title="gnutls_x509_privkey_fix ()">gnutls_x509_privkey_fix</a> <span class="c_punctuation">()</span> @@ -1609,7 +1609,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-x509.html#gnutls-x509-privkey-generate" title="gnutls_x509_privkey_generate ()">gnutls_x509_privkey_generate</a> <span class="c_punctuation">()</span> @@ -1617,7 +1617,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-x509.html#gnutls-x509-privkey-get-key-id" title="gnutls_x509_privkey_get_key_id ()">gnutls_x509_privkey_get_key_id</a> <span class="c_punctuation">()</span> @@ -1625,7 +1625,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-x509.html#gnutls-x509-privkey-get-pk-algorithm" title="gnutls_x509_privkey_get_pk_algorithm ()">gnutls_x509_privkey_get_pk_algorithm</a> <span class="c_punctuation">()</span> @@ -1633,7 +1633,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-x509.html#gnutls-x509-privkey-get-pk-algorithm2" title="gnutls_x509_privkey_get_pk_algorithm2 ()">gnutls_x509_privkey_get_pk_algorithm2</a> <span class="c_punctuation">()</span> @@ -1641,7 +1641,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-x509.html#gnutls-x509-privkey-import" title="gnutls_x509_privkey_import ()">gnutls_x509_privkey_import</a> <span class="c_punctuation">()</span> @@ -1649,7 +1649,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-x509.html#gnutls-x509-privkey-import2" title="gnutls_x509_privkey_import2 ()">gnutls_x509_privkey_import2</a> <span class="c_punctuation">()</span> @@ -1657,7 +1657,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-x509.html#gnutls-x509-privkey-import-dsa-raw" title="gnutls_x509_privkey_import_dsa_raw ()">gnutls_x509_privkey_import_dsa_raw</a> <span class="c_punctuation">()</span> @@ -1665,7 +1665,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-x509.html#gnutls-x509-privkey-import-ecc-raw" title="gnutls_x509_privkey_import_ecc_raw ()">gnutls_x509_privkey_import_ecc_raw</a> <span class="c_punctuation">()</span> @@ -1673,7 +1673,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-x509.html#gnutls-x509-privkey-import-openssl" title="gnutls_x509_privkey_import_openssl ()">gnutls_x509_privkey_import_openssl</a> <span class="c_punctuation">()</span> @@ -1681,7 +1681,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-x509.html#gnutls-x509-privkey-import-pkcs8" title="gnutls_x509_privkey_import_pkcs8 ()">gnutls_x509_privkey_import_pkcs8</a> <span class="c_punctuation">()</span> @@ -1689,7 +1689,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-x509.html#gnutls-x509-privkey-import-rsa-raw" title="gnutls_x509_privkey_import_rsa_raw ()">gnutls_x509_privkey_import_rsa_raw</a> <span class="c_punctuation">()</span> @@ -1697,7 +1697,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-x509.html#gnutls-x509-privkey-import-rsa-raw2" title="gnutls_x509_privkey_import_rsa_raw2 ()">gnutls_x509_privkey_import_rsa_raw2</a> <span class="c_punctuation">()</span> @@ -1705,7 +1705,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-x509.html#gnutls-x509-privkey-init" title="gnutls_x509_privkey_init ()">gnutls_x509_privkey_init</a> <span class="c_punctuation">()</span> @@ -1721,7 +1721,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-x509.html#gnutls-x509-privkey-verify-params" title="gnutls_x509_privkey_verify_params ()">gnutls_x509_privkey_verify_params</a> <span class="c_punctuation">()</span> @@ -1729,7 +1729,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-x509.html#gnutls-x509-rdn-get" title="gnutls_x509_rdn_get ()">gnutls_x509_rdn_get</a> <span class="c_punctuation">()</span> @@ -1737,7 +1737,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-x509.html#gnutls-x509-rdn-get-by-oid" title="gnutls_x509_rdn_get_by_oid ()">gnutls_x509_rdn_get_by_oid</a> <span class="c_punctuation">()</span> @@ -1745,7 +1745,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-x509.html#gnutls-x509-rdn-get-oid" title="gnutls_x509_rdn_get_oid ()">gnutls_x509_rdn_get_oid</a> <span class="c_punctuation">()</span> @@ -1753,7 +1753,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-x509.html#gnutls-x509-trust-list-add-cas" title="gnutls_x509_trust_list_add_cas ()">gnutls_x509_trust_list_add_cas</a> <span class="c_punctuation">()</span> @@ -1761,7 +1761,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-x509.html#gnutls-x509-trust-list-add-crls" title="gnutls_x509_trust_list_add_crls ()">gnutls_x509_trust_list_add_crls</a> <span class="c_punctuation">()</span> @@ -1769,7 +1769,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-x509.html#gnutls-x509-trust-list-add-named-crt" title="gnutls_x509_trust_list_add_named_crt ()">gnutls_x509_trust_list_add_named_crt</a> <span class="c_punctuation">()</span> @@ -1777,7 +1777,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-x509.html#gnutls-x509-trust-list-add-system-trust" title="gnutls_x509_trust_list_add_system_trust ()">gnutls_x509_trust_list_add_system_trust</a> <span class="c_punctuation">()</span> @@ -1785,7 +1785,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-x509.html#gnutls-x509-trust-list-add-trust-file" title="gnutls_x509_trust_list_add_trust_file ()">gnutls_x509_trust_list_add_trust_file</a> <span class="c_punctuation">()</span> @@ -1793,7 +1793,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-x509.html#gnutls-x509-trust-list-add-trust-mem" title="gnutls_x509_trust_list_add_trust_mem ()">gnutls_x509_trust_list_add_trust_mem</a> <span class="c_punctuation">()</span> @@ -1801,7 +1801,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-x509.html#gnutls-x509-trust-list-deinit" title="gnutls_x509_trust_list_deinit ()">gnutls_x509_trust_list_deinit</a> <span class="c_punctuation">()</span> @@ -1809,7 +1809,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-x509.html#gnutls-x509-trust-list-get-issuer" title="gnutls_x509_trust_list_get_issuer ()">gnutls_x509_trust_list_get_issuer</a> <span class="c_punctuation">()</span> @@ -1817,7 +1817,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-x509.html#gnutls-x509-trust-list-init" title="gnutls_x509_trust_list_init ()">gnutls_x509_trust_list_init</a> <span class="c_punctuation">()</span> @@ -1825,7 +1825,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-x509.html#gnutls-x509-trust-list-verify-crt" title="gnutls_x509_trust_list_verify_crt ()">gnutls_x509_trust_list_verify_crt</a> <span class="c_punctuation">()</span> @@ -1833,7 +1833,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-x509.html#gnutls-x509-trust-list-verify-named-crt" title="gnutls_x509_trust_list_verify_named_crt ()">gnutls_x509_trust_list_verify_named_crt</a> <span class="c_punctuation">()</span> @@ -2095,7 +2095,7 @@ <a name="gnutls-x509.functions_details"></a><h2>Functions</h2> <div class="refsect2"> <a name="gnutls-pkcs7-deinit"></a><h3>gnutls_pkcs7_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_pkcs7_deinit (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>);</pre> <p>This function will deinitialize a PKCS7 structure.</p> <div class="refsect3"> @@ -2117,9 +2117,9 @@ gnutls_pkcs7_deinit (<em class="parameter"><code><a class="link" href="gnutls-x5 <hr> <div class="refsect2"> <a name="gnutls-pkcs7-delete-crl"></a><h3>gnutls_pkcs7_delete_crl ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_delete_crl (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>);</pre> <p>This function will delete a crl from a PKCS7 or RFC2630 crl set. Index starts from 0. Returns 0 on success.</p> <div class="refsect3"> @@ -2154,9 +2154,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-delete-crt"></a><h3>gnutls_pkcs7_delete_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_delete_crt (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>);</pre> <p>This function will delete a certificate from a PKCS7 or RFC2630 certificate set. Index starts from 0. Returns 0 on success.</p> <div class="refsect3"> @@ -2191,11 +2191,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-export"></a><h3>gnutls_pkcs7_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_export (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</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 pkcs7 structure to DER or PEM format.</p> <p>If the buffer provided is not long enough to hold the output, then *<em class="parameter"><code>output_data_size</code></em> @@ -2246,10 +2246,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-export2"></a><h3>gnutls_pkcs7_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_export2 (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</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 pkcs7 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 @@ -2292,7 +2292,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-get-crl-count"></a><h3>gnutls_pkcs7_get_crl_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_get_crl_count (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>);</pre> <p>This function will return the number of certifcates in the PKCS7 or RFC2630 crl set.</p> @@ -2321,11 +2321,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-get-crl-raw"></a><h3>gnutls_pkcs7_get_crl_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_get_crl_raw (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *crl</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *crl_size</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="void"><span class="type">void</span></GTKDOCLINK> *crl</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *crl_size</code></em>);</pre> <p>This function will return a crl of the PKCS7 or RFC2630 crl set.</p> <div class="refsect3"> <a name="id-1.2.6.7.8.5"></a><h4>Parameters</h4> @@ -2373,7 +2373,7 @@ returned. After the last crl has been read <hr> <div class="refsect2"> <a name="gnutls-pkcs7-get-crt-count"></a><h3>gnutls_pkcs7_get_crt_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_get_crt_count (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>);</pre> <p>This function will return the number of certifcates in the PKCS7 or RFC2630 certificate set.</p> @@ -2402,11 +2402,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-get-crt-raw"></a><h3>gnutls_pkcs7_get_crt_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_get_crt_raw (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *certificate</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *certificate_size</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="void"><span class="type">void</span></GTKDOCLINK> *certificate</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *certificate_size</code></em>);</pre> <p>This function will return a certificate of the PKCS7 or RFC2630 certificate set.</p> <p>After the last certificate has been read @@ -2457,9 +2457,9 @@ is updated and <hr> <div class="refsect2"> <a name="gnutls-pkcs7-import"></a><h3>gnutls_pkcs7_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_import (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</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>);</pre> <p>This function will convert the given DER or PEM encoded PKCS7 to the native <a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> format. The output will be stored in @@ -2503,7 +2503,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-init"></a><h3>gnutls_pkcs7_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_init (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> *pkcs7</code></em>);</pre> <p>This function will initialize a PKCS7 structure. PKCS7 structures usually contain lists of X.509 Certificates and X.509 Certificate @@ -2533,7 +2533,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-set-crl"></a><h3>gnutls_pkcs7_set_crl ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_set_crl (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</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 add a parsed CRL to the PKCS7 or RFC2630 crl @@ -2570,9 +2570,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-set-crl-raw"></a><h3>gnutls_pkcs7_set_crl_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_set_crl_raw (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *crl</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *crl</code></em>);</pre> <p>This function will add a crl to the PKCS7 or RFC2630 crl set.</p> <div class="refsect3"> <a name="id-1.2.6.7.14.5"></a><h4>Parameters</h4> @@ -2606,7 +2606,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-set-crt"></a><h3>gnutls_pkcs7_set_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_set_crt (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</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 add a parsed certificate to the PKCS7 or @@ -2644,9 +2644,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-pkcs7-set-crt-raw"></a><h3>gnutls_pkcs7_set_crt_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_pkcs7_set_crt_raw (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-pkcs7-t" title="gnutls_pkcs7_t"><span class="type">gnutls_pkcs7_t</span></a> pkcs7</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *crt</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *crt</code></em>);</pre> <p>This function will add a certificate to the PKCS7 or RFC2630 certificate set.</p> <div class="refsect3"> @@ -2681,7 +2681,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-check-issuer"></a><h3>gnutls_x509_crl_check_issuer ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_check_issuer (<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><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> issuer</code></em>);</pre> <p>This function will check if the given CRL was issued by the given @@ -2718,7 +2718,7 @@ and false (0) if not.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-deinit"></a><h3>gnutls_x509_crl_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_crl_deinit (<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 deinitialize a CRL structure.</p> <div class="refsect3"> @@ -2731,7 +2731,7 @@ gnutls_x509_crl_deinit (<em class="parameter"><code><a class="link" href="gnutls </colgroup> <tbody><tr> <td class="parameter_name"><p>crl</p></td> -<td class="parameter_description"><p>The structure to be initialized</p></td> +<td class="parameter_description"><p>The structure to be deinitialized</p></td> <td class="parameter_annotations"> </td> </tr></tbody> </table></div> @@ -2740,11 +2740,11 @@ gnutls_x509_crl_deinit (<em class="parameter"><code><a class="link" href="gnutls <hr> <div class="refsect2"> <a name="gnutls-x509-crl-export"></a><h3>gnutls_x509_crl_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_export (<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><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 revocation list to DER or PEM format.</p> <p>If the buffer provided is not long enough to hold the output, then <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SHORT-MEMORY-BUFFER:CAPS" title="GNUTLS_E_SHORT_MEMORY_BUFFER"><code class="literal">GNUTLS_E_SHORT_MEMORY_BUFFER</code></a> will be returned.</p> @@ -2793,10 +2793,10 @@ negative error value. and a negative error code on failure.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-export2"></a><h3>gnutls_x509_crl_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_export2 (<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><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 revocation list 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 @@ -2839,16 +2839,16 @@ negative error value. and a negative error code on failure.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-authority-key-gn-serial"></a><h3>gnutls_x509_crl_get_authority_key_gn_serial ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_authority_key_gn_serial (<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> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *alt</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *alt_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *alt_type</code></em>, - <em class="parameter"><code><span class="type">void</span> *serial</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *serial_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *alt</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *alt_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *alt_type</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *serial</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *serial_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the X.509 authority key identifier when stored as a general name (authorityCertIssuer) and serial number.</p> @@ -2918,11 +2918,11 @@ and serial number.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-authority-key-id"></a><h3>gnutls_x509_crl_get_authority_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_authority_key_id (<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><span class="type">void</span> *id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *id_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *id_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the CRL authority's key identifier. This is obtained by the X.509 Authority Key identifier extension field (2.5.29.35). Note that this function @@ -2974,7 +2974,7 @@ negative error code in case of an error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-crt-count"></a><h3>gnutls_x509_crl_get_crt_count ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_crt_count (<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 return the number of revoked certificates in the given CRL.</p> @@ -3002,16 +3002,18 @@ given CRL.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-crt-serial"></a><h3>gnutls_x509_crl_get_crt_serial ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_crt_serial (<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><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</span> *serial</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *serial_size</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *t</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *serial</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *serial_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *t</code></em>);</pre> <p>This function will retrieve the serial number of the specified, by the index, revoked certificate.</p> +<p>Note that this function will have performance issues in large sequences +of revoked certificates. In that case use <GTKDOCLINK HREF="gnutls-x509-crl-iter-crt-serial"><code class="function">gnutls_x509_crl_iter_crt_serial()</code></GTKDOCLINK>.</p> <div class="refsect3"> -<a name="id-1.2.6.7.24.5"></a><h4>Parameters</h4> +<a name="id-1.2.6.7.24.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -3048,7 +3050,7 @@ the index, revoked certificate.</p> </table></div> </div> <div class="refsect3"> -<a name="id-1.2.6.7.24.6"></a><h4>Returns</h4> +<a name="id-1.2.6.7.24.7"></a><h4>Returns</h4> <p> On success, <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SUCCESS:CAPS" title="GNUTLS_E_SUCCESS"><code class="literal">GNUTLS_E_SUCCESS</code></a> (0) is returned, otherwise a negative error value. and a negative error code on error.</p> <p></p> @@ -3057,11 +3059,11 @@ negative error value. and a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-dn-oid"></a><h3>gnutls_x509_crl_get_dn_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_dn_oid (<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><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>);</pre> <p>This function will extract the requested OID of the name of the CRL issuer, specified by the given index.</p> <p>If oid is null then only the size will be filled.</p> @@ -3108,11 +3110,11 @@ with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-extension-data"></a><h3>gnutls_x509_crl_get_extension_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_extension_data (<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><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_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="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_data</code></em>);</pre> <p>This function will return the requested extension data in the CRL. The extension data will be stored as a string in the provided buffer.</p> @@ -3166,12 +3168,12 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-extension-info"></a><h3>gnutls_x509_crl_get_extension_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_extension_info (<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><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the requested extension OID in the CRL, and the critical flag for it. The extension OID will be stored as a string in the provided buffer. Use @@ -3233,11 +3235,11 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-extension-oid"></a><h3>gnutls_x509_crl_get_extension_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_extension_oid (<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><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>);</pre> <p>This function will return the requested extension OID in the CRL. The extension OID will be stored as a string in the provided buffer.</p> @@ -3287,15 +3289,15 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-issuer-dn"></a><h3>gnutls_x509_crl_get_issuer_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_issuer_dn (<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><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will copy the name of the CRL issuer in the provided buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514. The output string will be ASCII or UTF-8 encoded, depending on the certificate data.</p> -<p>If buf is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then only the size will be filled.</p> +<p>If buf is <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> then only the size will be filled.</p> <div class="refsect3"> <a name="id-1.2.6.7.29.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -3335,13 +3337,13 @@ with the required size, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-issuer-dn-by-oid"></a><h3>gnutls_x509_crl_get_issuer_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_issuer_dn_by_oid (<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>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will extract the part of the name of the CRL issuer specified by the given OID. The output will be encoded as described in RFC4514. The output string will be ASCII or UTF-8 encoded, @@ -3406,7 +3408,7 @@ with the required size, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-next-update"></a><h3>gnutls_x509_crl_get_next_update ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_x509_crl_get_next_update (<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 return the time the next CRL will be issued. This field is optional in a CRL so it might be normal to get an @@ -3435,11 +3437,11 @@ error instead.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-number"></a><h3>gnutls_x509_crl_get_number ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_number (<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><span class="type">void</span> *ret</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ret_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ret</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ret_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the CRL number extension. This is obtained by the CRL Number extension field (2.5.29.20).</p> <div class="refsect3"> @@ -3486,9 +3488,9 @@ negative error code in case of an error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-raw-issuer-dn"></a><h3>gnutls_x509_crl_get_raw_issuer_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_raw_issuer_dn (<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><span class="type">gnutls_datum_t</span> *dn</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *dn</code></em>);</pre> <p>This function will return a pointer to the DER encoded DN structure and the length.</p> <div class="refsect3"> @@ -3523,10 +3525,10 @@ and the length.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-signature"></a><h3>gnutls_x509_crl_get_signature ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_signature (<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><span class="type">char</span> *sig</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_sig</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *sig</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_sig</code></em>);</pre> <p>This function will extract the signature field of a CRL.</p> <div class="refsect3"> <a name="id-1.2.6.7.34.5"></a><h4>Parameters</h4> @@ -3566,7 +3568,7 @@ negative error value. and a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-signature-algorithm"></a><h3>gnutls_x509_crl_get_signature_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_signature_algorithm (<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 return a value of the <a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> @@ -3596,7 +3598,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-this-update"></a><h3>gnutls_x509_crl_get_this_update ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_x509_crl_get_this_update (<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 return the time this CRL was issued.</p> <div class="refsect3"> @@ -3623,7 +3625,7 @@ gnutls_x509_crl_get_this_update (<em class="parameter"><code><a class="link" hre <hr> <div class="refsect2"> <a name="gnutls-x509-crl-get-version"></a><h3>gnutls_x509_crl_get_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_get_version (<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 return the version of the specified CRL.</p> <div class="refsect3"> @@ -3650,9 +3652,9 @@ gnutls_x509_crl_get_version (<em class="parameter"><code><a class="link" href="g <hr> <div class="refsect2"> <a name="gnutls-x509-crl-import"></a><h3>gnutls_x509_crl_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_import (<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>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>);</pre> <p>This function will convert the given DER or PEM encoded CRL to the native <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> format. The output will be stored in 'crl'.</p> @@ -3694,7 +3696,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-init"></a><h3>gnutls_x509_crl_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_init (<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 initialize a CRL structure. CRL stands for Certificate Revocation List. A revocation list usually contains @@ -3726,12 +3728,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-list-import"></a><h3>gnutls_x509_crl_list_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_list_import (<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> *crls</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *crl_max</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *crl_max</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 PEM encoded CRL list to the native gnutls_x509_crl_t format. The output will be stored in <em class="parameter"><code>crls</code></em> @@ -3784,12 +3786,12 @@ in <em class="parameter"><code>crls</code></em> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-list-import2"></a><h3>gnutls_x509_crl_list_import2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_list_import2 (<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> **crls</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *size</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *size</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 PEM encoded CRL list to the native gnutls_x509_crl_t format. The output will be stored in <em class="parameter"><code>crls</code></em> @@ -3843,10 +3845,10 @@ CRL".</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-print"></a><h3>gnutls_x509_crl_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_print (<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><a class="link" href="gnutls-gnutls.html#gnutls-certificate-print-formats-t" title="enum gnutls_certificate_print_formats_t"><span class="type">gnutls_certificate_print_formats_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 pretty print a X.509 certificate revocation list, suitable for display to a human.</p> <p>The output <em class="parameter"><code>out</code></em> @@ -3888,10 +3890,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-authority-key-id"></a><h3>gnutls_x509_crl_set_authority_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_authority_key_id (<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>const <span class="type">void</span> *id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> id_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> id_size</code></em>);</pre> <p>This function will set the CRL's authority key ID extension. Only the keyIdentifier field can be set with this function. This may be used by an authority that holds multiple private keys, to distinguish @@ -3934,10 +3936,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-crt"></a><h3>gnutls_x509_crl_set_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_crt (<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><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>, - <em class="parameter"><code><span class="type">time_t</span> revocation_time</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> revocation_time</code></em>);</pre> <p>This function will set a revoked certificate's serial number to the CRL.</p> <div class="refsect3"> <a name="id-1.2.6.7.44.5"></a><h4>Parameters</h4> @@ -3976,11 +3978,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-crt-serial"></a><h3>gnutls_x509_crl_set_crt_serial ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_crt_serial (<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>const <span class="type">void</span> *serial</code></em>, - <em class="parameter"><code><span class="type">size_t</span> serial_size</code></em>, - <em class="parameter"><code><span class="type">time_t</span> revocation_time</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *serial</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> serial_size</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> revocation_time</code></em>);</pre> <p>This function will set a revoked certificate's serial number to the CRL.</p> <div class="refsect3"> <a name="id-1.2.6.7.45.5"></a><h4>Parameters</h4> @@ -4024,9 +4026,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-next-update"></a><h3>gnutls_x509_crl_set_next_update ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_next_update (<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><span class="type">time_t</span> exp_time</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> exp_time</code></em>);</pre> <p>This function will set the time this CRL will be updated.</p> <div class="refsect3"> <a name="id-1.2.6.7.46.5"></a><h4>Parameters</h4> @@ -4060,10 +4062,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-number"></a><h3>gnutls_x509_crl_set_number ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_number (<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>const <span class="type">void</span> *nr</code></em>, - <em class="parameter"><code><span class="type">size_t</span> nr_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *nr</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> nr_size</code></em>);</pre> <p>This function will set the CRL's number extension. This is to be used as a unique and monotonic number assigned to the CRL by the authority.</p> @@ -4105,9 +4107,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-this-update"></a><h3>gnutls_x509_crl_set_this_update ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_this_update (<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><span class="type">time_t</span> act_time</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> act_time</code></em>);</pre> <p>This function will set the time this CRL was issued.</p> <div class="refsect3"> <a name="id-1.2.6.7.48.5"></a><h4>Parameters</h4> @@ -4141,9 +4143,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-set-version"></a><h3>gnutls_x509_crl_set_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_set_version (<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> version</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> version</code></em>);</pre> <p>This function will set the version of the CRL. This must be one for CRL version 1, and so on. The CRLs generated by gnutls should have a version number of 2.</p> @@ -4179,12 +4181,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-sign2"></a><h3>gnutls_x509_crl_sign2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_sign2 (<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><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> issuer</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> issuer_key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> dig</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 sign the CRL with the issuer's private key, and will copy the issuer's information into the CRL.</p> <p>This must be the last step in a certificate CRL since all @@ -4236,12 +4238,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crl-verify"></a><h3>gnutls_x509_crl_verify ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crl_verify (<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>const <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> *CA_list</code></em>, - <em class="parameter"><code><span class="type">int</span> CA_list_length</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> CA_list_length</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>);</pre> <p>This function will try to verify the given crl and return its verification status. See <a class="link" href="gnutls-x509.html#gnutls-x509-crt-list-verify" title="gnutls_x509_crt_list_verify ()"><code class="function">gnutls_x509_crt_list_verify()</code></a> for a detailed description of return values. Note that since GnuTLS 3.1.4 this function includes @@ -4287,9 +4289,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-deinit"></a><h3>gnutls_x509_crq_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_crq_deinit (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>);</pre> -<p>This function will deinitialize a PKCS<span class="type">10</span> certificate request +<p>This function will deinitialize a PKCS<GTKDOCLINK HREF="10:CAPS"><span class="type">10</span></GTKDOCLINK> certificate request structure.</p> <div class="refsect3"> <a name="id-1.2.6.7.52.5"></a><h4>Parameters</h4> @@ -4310,11 +4312,11 @@ structure.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-export"></a><h3>gnutls_x509_crq_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_export (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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 certificate request to a PEM or DER encoded PKCS10 structure.</p> <p>If the buffer provided is not long enough to hold the output, then @@ -4366,10 +4368,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-export2"></a><h3>gnutls_x509_crq_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_export2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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 certificate request to a PEM or DER encoded PKCS10 structure.</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> @@ -4413,12 +4415,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-attribute-by-oid"></a><h3>gnutls_x509_crq_get_attribute_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_attribute_by_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will return the attribute in the certificate request specified by the given Object ID. The attribute will be DER encoded.</p> @@ -4451,7 +4453,7 @@ specifies which to get, use (0) to get the first one</p></td> </tr> <tr> <td class="parameter_name"><p>buf</p></td> -<td class="parameter_description"><p>a pointer to a structure to hold the attribute data (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>a pointer to a structure to hold the attribute data (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -4467,11 +4469,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-attribute-data"></a><h3>gnutls_x509_crq_get_attribute_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_attribute_data (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_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="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_data</code></em>);</pre> <p>This function will return the requested attribute data in the certificate request. The attribute data will be stored as a string in the provided buffer.</p> @@ -4525,11 +4527,11 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-attribute-info"></a><h3>gnutls_x509_crq_get_attribute_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_attribute_info (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>);</pre> <p>This function will return the requested attribute OID in the certificate, and the critical flag for it. The attribute OID will be stored as a string in the provided buffer. Use @@ -4586,11 +4588,11 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-basic-constraints"></a><h3>gnutls_x509_crq_get_basic_constraints ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_basic_constraints (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *ca</code></em>, - <em class="parameter"><code><span class="type">int</span> *pathlen</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *ca</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *pathlen</code></em>);</pre> <p>This function will read the certificate's basic constraints, and return the certificates CA status. It reads the basicConstraints X.509 extension (2.5.29.19).</p> @@ -4643,11 +4645,11 @@ certificate does not contain the basicConstraints extension <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-challenge-password"></a><h3>gnutls_x509_crq_get_challenge_password ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_challenge_password (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">char</span> *pass</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_pass</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *pass</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_pass</code></em>);</pre> <p>This function will return the challenge password in the request. The challenge password is intended to be used for requesting a revocation of the certificate.</p> @@ -4683,10 +4685,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-dn"></a><h3>gnutls_x509_crq_get_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_dn (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will copy the name of the Certificate request subject to the provided buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC 2253. The output string @@ -4709,7 +4711,7 @@ data.</p> </tr> <tr> <td class="parameter_name"><p>buf</p></td> -<td class="parameter_description"><p>a pointer to a structure to hold the name (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>a pointer to a structure to hold the name (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -4727,13 +4729,13 @@ the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-dn-by-oid"></a><h3>gnutls_x509_crq_get_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_dn_by_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will extract the part of the name of the Certificate request subject, specified by the given OID. The output will be encoded as described in RFC2253. The output string will be ASCII @@ -4775,7 +4777,7 @@ which to get. Use (0) to get the first one.</p></td> </tr> <tr> <td class="parameter_name"><p>buf</p></td> -<td class="parameter_description"><p>a pointer to a structure to hold the name (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>a pointer to a structure to hold the name (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -4793,11 +4795,11 @@ updated with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-dn-oid"></a><h3>gnutls_x509_crq_get_dn_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_dn_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>);</pre> <p>This function will extract the requested OID of the name of the certificate request subject, specified by the given index.</p> <div class="refsect3"> @@ -4821,7 +4823,7 @@ certificate request subject, specified by the given index.</p> </tr> <tr> <td class="parameter_name"><p>oid</p></td> -<td class="parameter_description"><p>a pointer to a structure to hold the name (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>a pointer to a structure to hold the name (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -4845,13 +4847,13 @@ updated with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-extension-by-oid"></a><h3>gnutls_x509_crq_get_extension_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_extension_by_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the extension specified by the OID in the certificate. The extensions will be returned as binary data DER encoded, in the provided buffer.</p> @@ -4906,11 +4908,11 @@ contain the specified extension <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-extension-data"></a><h3>gnutls_x509_crq_get_extension_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_extension_data (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_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="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_data</code></em>);</pre> <p>This function will return the requested extension data in the certificate. The extension data will be stored as a string in the provided buffer.</p> @@ -4964,12 +4966,12 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-extension-info"></a><h3>gnutls_x509_crq_get_extension_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_extension_info (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the requested extension OID in the certificate, and the critical flag for it. The extension OID will be stored as a string in the provided buffer. Use @@ -5031,11 +5033,11 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-key-id"></a><h3>gnutls_x509_crq_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_x509_crq_get_key_id (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</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>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</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 return a unique ID that depends on the public key parameters. This ID can be used in checking whether a certificate corresponds to the given private key.</p> @@ -5088,12 +5090,12 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-key-purpose-oid"></a><h3>gnutls_x509_crq_get_key_purpose_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_key_purpose_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will extract the key purpose OIDs of the Certificate specified by the given index. These are stored in the Extended Key Usage extension (2.5.29.37). See the GNUTLS_KP_* definitions for @@ -5119,7 +5121,7 @@ human readable names.</p> </tr> <tr> <td class="parameter_name"><p>oid</p></td> -<td class="parameter_description"><p>a pointer to a buffer to hold the OID (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>a pointer to a buffer to hold the OID (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -5130,7 +5132,7 @@ human readable names.</p> </tr> <tr> <td class="parameter_name"><p>critical</p></td> -<td class="parameter_description"><p>output variable with critical flag, 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>output variable with critical flag, may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -5149,10 +5151,10 @@ updated with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-key-rsa-raw"></a><h3>gnutls_x509_crq_get_key_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_key_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>);</pre> <p>This function will export the RSA public key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -5194,10 +5196,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-key-usage"></a><h3>gnutls_x509_crq_get_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_key_usage (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *key_usage</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *key_usage</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return certificate's key usage, by reading the keyUsage X.509 extension (2.5.29.15). The key usage value will ORed values of the: <a class="link" href="gnutls-gnutls.html#GNUTLS-KEY-DIGITAL-SIGNATURE:CAPS" title="GNUTLS_KEY_DIGITAL_SIGNATURE"><code class="literal">GNUTLS_KEY_DIGITAL_SIGNATURE</code></a>, @@ -5245,12 +5247,12 @@ returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-pk-algorithm"></a><h3>gnutls_x509_crq_get_pk_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_pk_algorithm (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> -<p>This function will return the public key algorithm of a PKCS<span class="type">10</span> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> +<p>This function will return the public key algorithm of a PKCS<GTKDOCLINK HREF="10:CAPS"><span class="type">10</span></GTKDOCLINK> certificate request.</p> -<p>If bits is non-<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, it should have enough size to hold the +<p>If bits is non-<GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>, it should have enough size to hold the parameters size in bits. For RSA the bits returned is the modulus. For DSA the bits returned are of the public exponent.</p> <div class="refsect3"> @@ -5269,7 +5271,7 @@ For DSA the bits returned are of the public exponent.</p> </tr> <tr> <td class="parameter_name"><p>bits</p></td> -<td class="parameter_description"><p>if bits is non-<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> it will hold the size of the parameters' in bits</p></td> +<td class="parameter_description"><p>if bits is non-<GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> it will hold the size of the parameters' in bits</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -5285,12 +5287,12 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-private-key-usage-period"></a><h3>gnutls_x509_crq_get_private_key_usage_period ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_private_key_usage_period (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> cert</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *activation</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *expiration</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *activation</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *expiration</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the expiration and activation times of the private key of the certificate.</p> <div class="refsect3"> @@ -5330,13 +5332,13 @@ if the extension is not present, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-subject-alt-name"></a><h3>gnutls_x509_crq_get_subject_alt_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_subject_alt_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *ret</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ret_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *ret_type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ret</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ret_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *ret_type</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the alternative names, contained in the given certificate. It is the same as <a class="link" href="gnutls-x509.html#gnutls-x509-crq-get-subject-alt-name" title="gnutls_x509_crq_get_subject_alt_name ()"><code class="function">gnutls_x509_crq_get_subject_alt_name()</code></a> except for the fact that it @@ -5406,12 +5408,12 @@ Alternative name with the specified sequence number then <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-subject-alt-othername-oid"></a><h3>gnutls_x509_crq_get_subject_alt_othername_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_subject_alt_othername_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *ret</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ret_size</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ret</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ret_size</code></em>);</pre> <p>This function will extract the type OID of an otherName Subject Alternative Name, contained in the given certificate, and return the type as an enumerated element.</p> @@ -5471,7 +5473,7 @@ sequence number and with the otherName type then <hr> <div class="refsect2"> <a name="gnutls-x509-crq-get-version"></a><h3>gnutls_x509_crq_get_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_get_version (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>);</pre> <p>This function will return the version of the specified Certificate request.</p> @@ -5500,9 +5502,9 @@ error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-import"></a><h3>gnutls_x509_crq_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_import (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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>);</pre> <p>This function will convert the given DER or PEM encoded certificate request to a <a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> structure. The output will be @@ -5547,9 +5549,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-init"></a><h3>gnutls_x509_crq_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_init (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> *crq</code></em>);</pre> -<p>This function will initialize a PKCS<span class="type">10</span> certificate request +<p>This function will initialize a PKCS<GTKDOCLINK HREF="10:CAPS"><span class="type">10</span></GTKDOCLINK> certificate request structure.</p> <div class="refsect3"> <a name="id-1.2.6.7.76.5"></a><h4>Parameters</h4> @@ -5576,10 +5578,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-print"></a><h3>gnutls_x509_crq_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_print (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-print-formats-t" title="enum gnutls_certificate_print_formats_t"><span class="type">gnutls_certificate_print_formats_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 pretty print a certificate request, suitable for display to a human.</p> <p>The output <em class="parameter"><code>out</code></em> @@ -5622,11 +5624,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-attribute-by-oid"></a><h3>gnutls_x509_crq_set_attribute_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_attribute_by_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> sizeof_buf</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> sizeof_buf</code></em>);</pre> <p>This function will set the attribute in the certificate request specified by the given Object ID. The provided attribute must be be DER encoded.</p> @@ -5669,10 +5671,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-basic-constraints"></a><h3>gnutls_x509_crq_set_basic_constraints ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_basic_constraints (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> ca</code></em>, - <em class="parameter"><code><span class="type">int</span> pathLenConstraint</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> ca</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> pathLenConstraint</code></em>);</pre> <p>This function will set the basicConstraints certificate extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.79.5"></a><h4>Parameters</h4> @@ -5714,10 +5716,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-challenge-password"></a><h3>gnutls_x509_crq_set_challenge_password ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_challenge_password (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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 set a challenge password to be used when revoking the request.</p> <div class="refsect3"> @@ -5752,12 +5754,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-dn-by-oid"></a><h3>gnutls_x509_crq_set_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_dn_by_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *data</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> sizeof_data</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> sizeof_data</code></em>);</pre> <p>This function will set the part of the name of the Certificate request subject, specified by the given OID. The input string should be ASCII or UTF-8 encoded.</p> @@ -5814,7 +5816,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-key"></a><h3>gnutls_x509_crq_set_key ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_key (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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>);</pre> <p>This function will set the public parameters from the given private @@ -5851,10 +5853,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-key-purpose-oid"></a><h3>gnutls_x509_crq_set_key_purpose_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_key_purpose_oid (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> critical</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> critical</code></em>);</pre> <p>This function will set the key purpose OIDs of the Certificate. These are stored in the Extended Key Usage extension (2.5.29.37) See the GNUTLS_KP_* definitions for human readable names.</p> @@ -5897,10 +5899,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-key-rsa-raw"></a><h3>gnutls_x509_crq_set_key_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_key_rsa_raw (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *e</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>);</pre> <p>This function will set the public parameters from the given private key to the request. Only RSA keys are currently supported.</p> <div class="refsect3"> @@ -5941,9 +5943,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-key-usage"></a><h3>gnutls_x509_crq_set_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_key_usage (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> usage</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> usage</code></em>);</pre> <p>This function will set the keyUsage certificate extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.85.5"></a><h4>Parameters</h4> @@ -5978,11 +5980,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-private-key-usage-period"></a><h3>gnutls_x509_crq_set_private_key_usage_period ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_private_key_usage_period (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code><span class="type">time_t</span> activation</code></em>, - <em class="parameter"><code><span class="type">time_t</span> expiration</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> activation</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> expiration</code></em>);</pre> <p>This function will set the private key usage period extension (2.5.29.16).</p> <div class="refsect3"> <a name="id-1.2.6.7.86.5"></a><h4>Parameters</h4> @@ -6021,12 +6023,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-subject-alt-name"></a><h3>gnutls_x509_crq_set_subject_alt_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_subject_alt_name (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-subject-alt-name-t" title="enum gnutls_x509_subject_alt_name_t"><span class="type">gnutls_x509_subject_alt_name_t</span></a> nt</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *data</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> data_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> data_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will set the subject alternative name certificate extension. It can set the following types:</p> <p><a class="link" href="gnutls-gnutls.html#GNUTLS-SAN-DNSNAME:CAPS"><code class="literal">GNUTLS_SAN_DNSNAME</code></a>: as a text string</p> @@ -6083,9 +6085,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-set-version"></a><h3>gnutls_x509_crq_set_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_set_version (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> version</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> version</code></em>);</pre> <p>This function will set the version of the certificate request. For version 1 requests this must be one.</p> <div class="refsect3"> @@ -6120,11 +6122,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crq-sign2"></a><h3>gnutls_x509_crq_sign2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_sign2 (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> dig</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 sign the certificate request with a private key. This must be the same key as the one used in <a class="link" href="gnutls-x509.html#gnutls-x509-crt-set-key" title="gnutls_x509_crt_set_key ()"><code class="function">gnutls_x509_crt_set_key()</code></a> since a certificate request is self @@ -6175,9 +6177,9 @@ information in the certificate request (e.g., the version using <hr> <div class="refsect2"> <a name="gnutls-x509-crq-verify"></a><h3>gnutls_x509_crq_verify ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crq_verify (<em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</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 verify self signature in the certificate request and return its status.</p> <div class="refsect3"> @@ -6213,9 +6215,9 @@ is returned, and zero or positive code on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-check-hostname"></a><h3>gnutls_x509_crt_check_hostname ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_check_hostname (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *hostname</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *hostname</code></em>);</pre> <p>This function will check if the given certificate's subject matches the given hostname. This is a basic implementation of the matching described in RFC2818 (HTTPS), which takes into account wildcards, @@ -6257,7 +6259,7 @@ starts at the leftmost position.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-check-issuer"></a><h3>gnutls_x509_crt_check_issuer ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_check_issuer (<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> cert</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> issuer</code></em>);</pre> <p>This function will check if the given certificate was issued by the @@ -6295,10 +6297,10 @@ by the given issuer, and false (0) if not. </p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-check-revocation"></a><h3>gnutls_x509_crt_check_revocation ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_check_revocation (<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> cert</code></em>, <em class="parameter"><code>const <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_list</code></em>, - <em class="parameter"><code><span class="type">int</span> crl_list_length</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> crl_list_length</code></em>);</pre> <p>This function will return check if the given certificate is revoked. It is assumed that the CRLs have been verified before.</p> <div class="refsect3"> @@ -6338,7 +6340,7 @@ negative error code is returned on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-cpy-crl-dist-points"></a><h3>gnutls_x509_crt_cpy_crl_dist_points ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_cpy_crl_dist_points (<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> dst</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> src</code></em>);</pre> <p>This function will copy the CRL distribution points certificate @@ -6376,7 +6378,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-deinit"></a><h3>gnutls_x509_crt_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_crt_deinit (<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> cert</code></em>);</pre> <p>This function will deinitialize a certificate structure.</p> <div class="refsect3"> @@ -6398,11 +6400,11 @@ gnutls_x509_crt_deinit (<em class="parameter"><code><a class="link" href="gnutls <hr> <div class="refsect2"> <a name="gnutls-x509-crt-export"></a><h3>gnutls_x509_crt_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_export (<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> cert</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 certificate to DER or PEM format.</p> <p>If the buffer provided is not long enough to hold the output, then *output_data_size is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will @@ -6452,10 +6454,10 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-export2"></a><h3>gnutls_x509_crt_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_export2 (<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> cert</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 certificate to DER or PEM format. 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 @@ -6498,7 +6500,7 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-activation-time"></a><h3>gnutls_x509_crt_get_activation_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_x509_crt_get_activation_time (<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> cert</code></em>);</pre> <p>This function will return the time this Certificate was or will be activated.</p> @@ -6526,15 +6528,15 @@ activated.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-authority-info-access"></a><h3>gnutls_x509_crt_get_authority_info_access ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_authority_info_access (<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>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">int</span> what</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> what</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>Note that a simpler API to access the authority info data is provided -by <code class="function">gnutls_x509_aia_get()</code> and <code class="function">gnutls_x509_ext_import_aia()</code>.</p> +by <GTKDOCLINK HREF="gnutls-x509-aia-get"><code class="function">gnutls_x509_aia_get()</code></GTKDOCLINK> and <GTKDOCLINK HREF="gnutls-x509-ext-import-aia"><code class="function">gnutls_x509_ext_import_aia()</code></GTKDOCLINK>.</p> <p>This function extracts the Authority Information Access (AIA) extension, see RFC 5280 section 4.2.2.1 for more information. The AIA extension holds a sequence of AccessDescription (AD) data.</p> @@ -6620,7 +6622,7 @@ is non-critical, as required by RFC 5280.</p> </tr> <tr> <td class="parameter_name"><p>critical</p></td> -<td class="parameter_description"><p>pointer to output integer that is set to non-0 if the extension is marked as critical (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>pointer to output integer that is set to non-0 if the extension is marked as critical (may be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>)</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -6643,16 +6645,16 @@ negative error code.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-authority-key-gn-serial"></a><h3>gnutls_x509_crt_get_authority_key_gn_serial ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_authority_key_gn_serial (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *alt</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *alt_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *alt_type</code></em>, - <em class="parameter"><code><span class="type">void</span> *serial</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *serial_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *alt</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *alt_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *alt_type</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *serial</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *serial_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the X.509 authority key identifier when stored as a general name (authorityCertIssuer) and serial number.</p> @@ -6723,11 +6725,11 @@ if the extension is not present, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-authority-key-id"></a><h3>gnutls_x509_crt_get_authority_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_authority_key_id (<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> cert</code></em>, - <em class="parameter"><code><span class="type">void</span> *id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *id_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *id_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the X.509v3 certificate authority's key identifier. This is obtained by the X.509 Authority Key identifier extension field (2.5.29.35). Note that this function @@ -6777,11 +6779,11 @@ if the extension is not present, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-basic-constraints"></a><h3>gnutls_x509_crt_get_basic_constraints ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_basic_constraints (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *ca</code></em>, - <em class="parameter"><code><span class="type">int</span> *pathlen</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *ca</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *pathlen</code></em>);</pre> <p>This function will read the certificate's basic constraints, and return the certificates CA status. It reads the basicConstraints X.509 extension (2.5.29.19).</p> @@ -6833,9 +6835,9 @@ GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-ca-status"></a><h3>gnutls_x509_crt_get_ca_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_ca_status (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return certificates CA status, by reading the basicConstraints X.509 extension (2.5.29.19). If the certificate is a CA a positive value will be returned, or (0) if the certificate @@ -6875,13 +6877,13 @@ If the certificate does not contain the basicConstraints extension <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-crl-dist-points"></a><h3>gnutls_x509_crt_get_crl_dist_points ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_crl_dist_points (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *ret</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ret_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *reason_flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ret</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ret_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *reason_flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function retrieves the CRL distribution points (2.5.29.31), contained in the given certificate in the X509v3 Certificate Extensions.</p> @@ -6934,10 +6936,10 @@ returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-dn"></a><h3>gnutls_x509_crt_get_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_dn (<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> cert</code></em>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will copy the name of the Certificate in the provided buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514. The output string will be ASCII or UTF-8 @@ -6984,13 +6986,13 @@ with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-dn-by-oid"></a><h3>gnutls_x509_crt_get_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_dn_by_oid (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will extract the part of the name of the Certificate subject specified by the given OID. The output, if the raw flag is not used, will be encoded as described in RFC4514. Thus a string @@ -7062,11 +7064,11 @@ are no data in the current index. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-dn-oid"></a><h3>gnutls_x509_crt_get_dn_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_dn_oid (<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> cert</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *oid_size</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *oid_size</code></em>);</pre> <p>This function will extract the OIDs of the name of the Certificate subject specified by the given index.</p> <p>If <em class="parameter"><code>oid</code></em> @@ -7121,12 +7123,12 @@ are no data in the current index. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-expiration-time"></a><h3>gnutls_x509_crt_get_expiration_time ()</h3> -<pre class="programlisting"><span class="returnvalue">time_t</span> +<pre class="programlisting"><GTKDOCLINK HREF="time-t"><span class="returnvalue">time_t</span></GTKDOCLINK> gnutls_x509_crt_get_expiration_time (<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> cert</code></em>);</pre> <p>This function will return the time this Certificate was or will be expired.</p> <p>The no well defined expiration time can be checked against with the -<code class="literal">GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION</code> macro.</p> +<GTKDOCLINK HREF="GNUTLS-X509-NO-WELL-DEFINED-EXPIRATION:CAPS"><code class="literal">GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION</code></GTKDOCLINK> macro.</p> <div class="refsect3"> <a name="id-1.2.6.7.108.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -7151,13 +7153,13 @@ expired.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-extension-by-oid"></a><h3>gnutls_x509_crt_get_extension_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_extension_by_oid (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the extension specified by the OID in the certificate. The extensions will be returned as binary data DER encoded, in the provided buffer.</p> @@ -7216,11 +7218,11 @@ GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-extension-data"></a><h3>gnutls_x509_crt_get_extension_data ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_extension_data (<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> cert</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *data</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_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="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_data</code></em>);</pre> <p>This function will return the requested extension data in the certificate. The extension data will be stored in the provided buffer.</p> @@ -7273,16 +7275,16 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-extension-info"></a><h3>gnutls_x509_crt_get_extension_info ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_extension_info (<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> cert</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *oid_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *oid_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the requested extension OID in the certificate, and the critical flag for it. The extension OID will be stored as a string in the provided buffer. Use -<code class="function">gnutls_x509_crt_get_extension()</code> to extract the data.</p> +<GTKDOCLINK HREF="gnutls-x509-crt-get-extension"><code class="function">gnutls_x509_crt_get_extension()</code></GTKDOCLINK> to extract the data.</p> <p>If the buffer provided is not long enough to hold the output, then <em class="parameter"><code>oid_size</code></em> is updated and <a class="link" href="gnutls-gnutls.html#GNUTLS-E-SHORT-MEMORY-BUFFER:CAPS" title="GNUTLS_E_SHORT_MEMORY_BUFFER"><code class="literal">GNUTLS_E_SHORT_MEMORY_BUFFER</code></a> will be @@ -7342,11 +7344,11 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-extension-oid"></a><h3>gnutls_x509_crt_get_extension_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_extension_oid (<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> cert</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *oid_size</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *oid_size</code></em>);</pre> <p>This function will return the requested extension OID in the certificate. The extension OID will be stored as a string in the provided buffer.</p> <p>The <em class="parameter"><code>oid</code></em> @@ -7398,11 +7400,11 @@ will be returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-fingerprint"></a><h3>gnutls_x509_crt_get_fingerprint ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_fingerprint (<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> cert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> algo</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will calculate and copy the certificate's fingerprint in the provided buffer. The fingerprint is a hash of the DER-encoded data of the certificate.</p> @@ -7451,7 +7453,7 @@ with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer"></a><h3>gnutls_x509_crt_get_issuer ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer (<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> cert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> *dn</code></em>);</pre> <p>Return the Certificate's Issuer DN as a <a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><code class="literal">gnutls_x509_dn_t</code></a> data type, @@ -7494,12 +7496,12 @@ deallocated.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-alt-name"></a><h3>gnutls_x509_crt_get_issuer_alt_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_alt_name (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *ian</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ian_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ian</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ian_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function retrieves the Issuer Alternative Name (2.5.29.18), contained in the given certificate in the X509v3 Certificate Extensions.</p> @@ -7567,13 +7569,13 @@ Alternative name with the specified sequence number then <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-alt-name2"></a><h3>gnutls_x509_crt_get_issuer_alt_name2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_alt_name2 (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *ian</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ian_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *ian_type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ian</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ian_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *ian_type</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the alternative names, contained in the given certificate. It is the same as <a class="link" href="gnutls-x509.html#gnutls-x509-crt-get-issuer-alt-name" title="gnutls_x509_crt_get_issuer_alt_name ()"><code class="function">gnutls_x509_crt_get_issuer_alt_name()</code></a> except for the fact that it @@ -7641,12 +7643,12 @@ Alternative name with the specified sequence number then <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-alt-othername-oid"></a><h3>gnutls_x509_crt_get_issuer_alt_othername_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_alt_othername_oid (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *ret</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ret_size</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ret</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ret_size</code></em>);</pre> <p>This function will extract the type OID of an otherName Subject Alternative Name, contained in the given certificate, and return the type as an enumerated element.</p> @@ -7712,10 +7714,10 @@ sequence number and with the otherName type then <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-dn"></a><h3>gnutls_x509_crt_get_issuer_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_dn (<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> cert</code></em>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will copy the name of the Certificate issuer in the provided buffer. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514. The output string @@ -7762,13 +7764,13 @@ the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-dn-by-oid"></a><h3>gnutls_x509_crt_get_issuer_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_dn_by_oid (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will extract the part of the name of the Certificate issuer specified by the given OID. The output, if the raw flag is not used, will be encoded as described in RFC4514. Thus a string that is @@ -7840,11 +7842,11 @@ are no data in the current index. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-dn-oid"></a><h3>gnutls_x509_crt_get_issuer_dn_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_dn_oid (<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> cert</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *oid_size</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *oid_size</code></em>);</pre> <p>This function will extract the OIDs of the name of the Certificate issuer specified by the given index.</p> <p>If <em class="parameter"><code>oid</code></em> @@ -7899,10 +7901,10 @@ are no data in the current index. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-issuer-unique-id"></a><h3>gnutls_x509_crt_get_issuer_unique_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_issuer_unique_id (<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>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will extract the issuerUniqueID value (if present) for the given certificate.</p> <p>If the user allocated memory buffer is not large enough to hold the @@ -7946,11 +7948,11 @@ actual size of the unique ID on return.</p></td> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-key-id"></a><h3>gnutls_x509_crt_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_x509_crt_get_key_id (<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>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</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>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</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 return a unique ID that depends on the public key parameters. This ID can be used in checking whether a certificate corresponds to the given private key.</p> @@ -8001,12 +8003,12 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-key-purpose-oid"></a><h3>gnutls_x509_crt_get_key_purpose_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_key_purpose_oid (<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> cert</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *oid_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</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="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *oid_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will extract the key purpose OIDs of the Certificate specified by the given index. These are stored in the Extended Key Usage extension (2.5.29.37) See the GNUTLS_KP_* definitions for @@ -8066,10 +8068,10 @@ with the required size. On success 0 is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-key-usage"></a><h3>gnutls_x509_crt_get_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_key_usage (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *key_usage</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *key_usage</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return certificate's key usage, by reading the keyUsage X.509 extension (2.5.29.15). The key usage value will ORed values of the: <a class="link" href="gnutls-gnutls.html#GNUTLS-KEY-DIGITAL-SIGNATURE:CAPS" title="GNUTLS_KEY_DIGITAL_SIGNATURE"><code class="literal">GNUTLS_KEY_DIGITAL_SIGNATURE</code></a>, @@ -8116,9 +8118,9 @@ returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-pk-algorithm"></a><h3>gnutls_x509_crt_get_pk_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_pk_algorithm (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of an X.509 certificate.</p> <p>If bits is non null, it should have enough size to hold the parameters @@ -8157,12 +8159,12 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-pk-dsa-raw"></a><h3>gnutls_x509_crt_get_pk_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_pk_dsa_raw (<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>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>);</pre> <p>This function will export the DSA public key's parameters found in the given certificate. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -8212,10 +8214,10 @@ the given certificate. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-pk-rsa-raw"></a><h3>gnutls_x509_crt_get_pk_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_pk_rsa_raw (<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>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>);</pre> <p>This function will export the RSA public key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -8255,11 +8257,11 @@ the given structure. The new parameters will be allocated using <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-policy"></a><h3>gnutls_x509_crt_get_policy ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_policy (<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>, - <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><span class="type">struct gnutls_x509_policy_st</span> *policy</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will extract the certificate policy (extension 2.5.29.32) specified by the given index. </p> <p>The policy returned by this function must be deinitialized by using @@ -8307,12 +8309,12 @@ if the extension is not present, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-private-key-usage-period"></a><h3>gnutls_x509_crt_get_private_key_usage_period ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_private_key_usage_period (<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> cert</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *activation</code></em>, - <em class="parameter"><code><span class="type">time_t</span> *expiration</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *activation</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> *expiration</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the expiration and activation times of the private key of the certificate. It relies on the PKIX extension 2.5.29.16 being present.</p> @@ -8358,13 +8360,13 @@ if the extension is not present, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-proxy"></a><h3>gnutls_x509_crt_get_proxy ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_proxy (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>, - <em class="parameter"><code><span class="type">int</span> *pathlen</code></em>, - <em class="parameter"><code><span class="type">char</span> **policyLanguage</code></em>, - <em class="parameter"><code><span class="type">char</span> **policy</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_policy</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *pathlen</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **policyLanguage</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> **policy</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_policy</code></em>);</pre> <p>This function will get information from a proxy certificate. It reads the ProxyCertInfo X.509 extension (1.3.6.1.5.5.7.1.14).</p> <div class="refsect3"> @@ -8421,9 +8423,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-raw-dn"></a><h3>gnutls_x509_crt_get_raw_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_raw_dn (<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> cert</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *start</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *start</code></em>);</pre> <p>This function will return a pointer to the DER encoded DN structure and the length. This points to allocated data that must be free'd using <a class="link" href="gnutls-gnutls.html#gnutls-free" title="gnutls_free"><code class="function">gnutls_free()</code></a>.</p> <div class="refsect3"> @@ -8451,9 +8453,9 @@ negative error value. or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-raw-issuer-dn"></a><h3>gnutls_x509_crt_get_raw_issuer_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_raw_issuer_dn (<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> cert</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *start</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *start</code></em>);</pre> <p>This function will return a pointer to the DER encoded DN structure and the length. This points to allocated data that must be free'd using <a class="link" href="gnutls-gnutls.html#gnutls-free" title="gnutls_free"><code class="function">gnutls_free()</code></a>.</p> <div class="refsect3"> @@ -8481,10 +8483,10 @@ negative error value.or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-serial"></a><h3>gnutls_x509_crt_get_serial ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_serial (<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> cert</code></em>, - <em class="parameter"><code><span class="type">void</span> *result</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *result_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *result</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *result_size</code></em>);</pre> <p>This function will return the X.509 certificate's serial number. This is obtained by the X509 Certificate serialNumber field. Serial is not always a 32 or 64bit number. Some CAs use large serial @@ -8526,10 +8528,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-signature"></a><h3>gnutls_x509_crt_get_signature ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_signature (<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> cert</code></em>, - <em class="parameter"><code><span class="type">char</span> *sig</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_sig</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *sig</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_sig</code></em>);</pre> <p>This function will extract the signature field of a certificate.</p> <div class="refsect3"> <a name="id-1.2.6.7.134.5"></a><h4>Parameters</h4> @@ -8563,7 +8565,7 @@ negative error value. and a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-signature-algorithm"></a><h3>gnutls_x509_crt_get_signature_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_signature_algorithm (<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> cert</code></em>);</pre> <p>This function will return a value of the <a class="link" href="gnutls-gnutls.html#gnutls-sign-algorithm-t" title="enum gnutls_sign_algorithm_t"><span class="type">gnutls_sign_algorithm_t</span></a> @@ -8594,7 +8596,7 @@ error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-subject"></a><h3>gnutls_x509_crt_get_subject ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_subject (<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> cert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> *dn</code></em>);</pre> <p>Return the Certificate's Subject DN as a <a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><code class="literal">gnutls_x509_dn_t</code></a> data type, @@ -8637,12 +8639,12 @@ deallocated.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-subject-alt-name"></a><h3>gnutls_x509_crt_get_subject_alt_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_subject_alt_name (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *san</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *san_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *san</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *san_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function retrieves the Alternative Name (2.5.29.17), contained in the given certificate in the X509v3 Certificate Extensions.</p> <p>When the SAN type is otherName, it will extract the data in the @@ -8708,13 +8710,13 @@ name with the specified sequence number then <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-subject-alt-name2"></a><h3>gnutls_x509_crt_get_subject_alt_name2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_subject_alt_name2 (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *san</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *san_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *san_type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *san</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *san_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *san_type</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the alternative names, contained in the given certificate. It is the same as <a class="link" href="gnutls-x509.html#gnutls-x509-crt-get-subject-alt-name" title="gnutls_x509_crt_get_subject_alt_name ()"><code class="function">gnutls_x509_crt_get_subject_alt_name()</code></a> except for the fact that it @@ -8781,12 +8783,12 @@ Alternative name with the specified sequence number then <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-subject-alt-othername-oid"></a><h3>gnutls_x509_crt_get_subject_alt_othername_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_subject_alt_othername_oid (<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> cert</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> seq</code></em>, - <em class="parameter"><code><span class="type">void</span> *oid</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *oid_size</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> seq</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *oid_size</code></em>);</pre> <p>This function will extract the type OID of an otherName Subject Alternative Name, contained in the given certificate, and return the type as an enumerated element.</p> @@ -8851,11 +8853,11 @@ sequence number and with the otherName type then <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-subject-key-id"></a><h3>gnutls_x509_crt_get_subject_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_subject_key_id (<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> cert</code></em>, - <em class="parameter"><code><span class="type">void</span> *ret</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *ret_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *critical</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *ret</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *ret_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *critical</code></em>);</pre> <p>This function will return the X.509v3 certificate's subject key identifier. This is obtained by the X.509 Subject Key identifier extension field (2.5.29.14).</p> @@ -8901,10 +8903,10 @@ if the extension is not present, otherwise a negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-subject-unique-id"></a><h3>gnutls_x509_crt_get_subject_unique_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_subject_unique_id (<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>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *buf_size</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *buf_size</code></em>);</pre> <p>This function will extract the subjectUniqueID value (if present) for the given certificate.</p> <p>If the user allocated memory buffer is not large enough to hold the @@ -8947,7 +8949,7 @@ actual size of the unique ID on return.</p></td> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-get-version"></a><h3>gnutls_x509_crt_get_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_get_version (<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> cert</code></em>);</pre> <p>This function will return the version of the specified Certificate.</p> <div class="refsect3"> @@ -8974,9 +8976,9 @@ gnutls_x509_crt_get_version (<em class="parameter"><code><a class="link" href="g <hr> <div class="refsect2"> <a name="gnutls-x509-crt-import"></a><h3>gnutls_x509_crt_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_import (<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> cert</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>);</pre> <p>This function will convert the given DER or PEM encoded Certificate to the native gnutls_x509_crt_t format. The output will be stored @@ -9021,7 +9023,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-init"></a><h3>gnutls_x509_crt_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_init (<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> *cert</code></em>);</pre> <p>This function will initialize an X.509 certificate structure.</p> <div class="refsect3"> @@ -9049,12 +9051,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-list-import"></a><h3>gnutls_x509_crt_list_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_list_import (<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> *certs</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *cert_max</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *cert_max</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 PEM encoded certificate list to the native gnutls_x509_crt_t format. The output will be stored in <em class="parameter"><code>certs</code></em> @@ -9112,12 +9114,12 @@ CERTIFICATE", or "CERTIFICATE".</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-list-import2"></a><h3>gnutls_x509_crt_list_import2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_list_import2 (<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> **certs</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *size</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *size</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 PEM encoded certificate list to the native gnutls_x509_crt_t format. The output will be stored in <em class="parameter"><code>certs</code></em> @@ -9174,15 +9176,15 @@ independently, and use <a class="link" href="gnutls-gnutls.html#gnutls-free" tit <hr> <div class="refsect2"> <a name="gnutls-x509-crt-list-verify"></a><h3>gnutls_x509_crt_list_verify ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_list_verify (<em class="parameter"><code>const <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> *cert_list</code></em>, - <em class="parameter"><code><span class="type">int</span> cert_list_length</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> cert_list_length</code></em>, <em class="parameter"><code>const <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> *CA_list</code></em>, - <em class="parameter"><code><span class="type">int</span> CA_list_length</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> CA_list_length</code></em>, <em class="parameter"><code>const <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_list</code></em>, - <em class="parameter"><code><span class="type">int</span> CRL_list_length</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> CRL_list_length</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>);</pre> <p>This function will try to verify the given certificate list and return its status. If no flags are specified (0), this function will use the basicConstraints (2.5.29.19) PKIX extension. This @@ -9257,10 +9259,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-print"></a><h3>gnutls_x509_crt_print ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_print (<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> cert</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-certificate-print-formats-t" title="enum gnutls_certificate_print_formats_t"><span class="type">gnutls_certificate_print_formats_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 pretty print a X.509 certificate, suitable for display to a human.</p> <p>If the format is <a class="link" href="gnutls-gnutls.html#GNUTLS-CRT-PRINT-FULL:CAPS"><code class="literal">GNUTLS_CRT_PRINT_FULL</code></a> then all fields of the @@ -9306,9 +9308,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-activation-time"></a><h3>gnutls_x509_crt_set_activation_time ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_activation_time (<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> cert</code></em>, - <em class="parameter"><code><span class="type">time_t</span> act_time</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> act_time</code></em>);</pre> <p>This function will set the time this Certificate was or will be activated.</p> <div class="refsect3"> @@ -9343,11 +9345,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-authority-info-access"></a><h3>gnutls_x509_crt_set_authority_info_access ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_authority_info_access (<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>, - <em class="parameter"><code><span class="type">int</span> what</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> what</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 sets the Authority Information Access (AIA) extension, see RFC 5280 section 4.2.2.1 for more information. </p> <p>The type of data stored in <em class="parameter"><code>data</code></em> @@ -9399,10 +9401,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-authority-key-id"></a><h3>gnutls_x509_crt_set_authority_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_authority_key_id (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> id_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> id_size</code></em>);</pre> <p>This function will set the X.509 certificate's authority key ID extension. Only the keyIdentifier field can be set with this function.</p> <div class="refsect3"> @@ -9442,10 +9444,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-basic-constraints"></a><h3>gnutls_x509_crt_set_basic_constraints ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_basic_constraints (<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>, - <em class="parameter"><code>unsigned <span class="type">int</span> ca</code></em>, - <em class="parameter"><code><span class="type">int</span> pathLenConstraint</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> ca</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> pathLenConstraint</code></em>);</pre> <p>This function will set the basicConstraints certificate extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.152.5"></a><h4>Parameters</h4> @@ -9486,9 +9488,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-ca-status"></a><h3>gnutls_x509_crt_set_ca_status ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_ca_status (<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>, - <em class="parameter"><code>unsigned <span class="type">int</span> ca</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> ca</code></em>);</pre> <p>This function will set the basicConstraints certificate extension. Use <a class="link" href="gnutls-x509.html#gnutls-x509-crt-set-basic-constraints" title="gnutls_x509_crt_set_basic_constraints ()"><code class="function">gnutls_x509_crt_set_basic_constraints()</code></a> if you want to control the pathLenConstraint field too.</p> @@ -9524,11 +9526,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-crl-dist-points"></a><h3>gnutls_x509_crt_set_crl_dist_points ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_crl_dist_points (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-subject-alt-name-t" title="enum gnutls_x509_subject_alt_name_t"><span class="type">gnutls_x509_subject_alt_name_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *data_string</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> reason_flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data_string</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> reason_flags</code></em>);</pre> <p>This function will set the CRL distribution points certificate extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.154.5"></a><h4>Parameters</h4> @@ -9572,12 +9574,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-crl-dist-points2"></a><h3>gnutls_x509_crt_set_crl_dist_points2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_crl_dist_points2 (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-subject-alt-name-t" title="enum gnutls_x509_subject_alt_name_t"><span class="type">gnutls_x509_subject_alt_name_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *data</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> data_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> reason_flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> data_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> reason_flags</code></em>);</pre> <p>This function will set the CRL distribution points certificate extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.155.5"></a><h4>Parameters</h4> @@ -9627,7 +9629,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-crq"></a><h3>gnutls_x509_crt_set_crq ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_crq (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>);</pre> <p>This function will set the name and public parameters as well as @@ -9665,7 +9667,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-crq-extensions"></a><h3>gnutls_x509_crt_set_crq_extensions ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_crq_extensions (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-crq-t" title="gnutls_x509_crq_t"><span class="type">gnutls_x509_crq_t</span></a> crq</code></em>);</pre> <p>This function will set extensions from the given request to the @@ -9703,12 +9705,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-dn-by-oid"></a><h3>gnutls_x509_crt_set_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_dn_by_oid (<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>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *name</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> sizeof_name</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> sizeof_name</code></em>);</pre> <p>This function will set the part of the name of the Certificate subject, specified by the given OID. The input string should be ASCII or UTF-8 encoded.</p> @@ -9766,11 +9768,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-expiration-time"></a><h3>gnutls_x509_crt_set_expiration_time ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_expiration_time (<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> cert</code></em>, - <em class="parameter"><code><span class="type">time_t</span> exp_time</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> exp_time</code></em>);</pre> <p>This function will set the time this Certificate will expire. -Setting an expiration time to (time_t)-1 or to <code class="literal">GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION</code> +Setting an expiration time to (time_t)-1 or to <GTKDOCLINK HREF="GNUTLS-X509-NO-WELL-DEFINED-EXPIRATION:CAPS"><code class="literal">GNUTLS_X509_NO_WELL_DEFINED_EXPIRATION</code></GTKDOCLINK> will set to the no well-defined expiration date value.</p> <div class="refsect3"> <a name="id-1.2.6.7.159.5"></a><h4>Parameters</h4> @@ -9804,12 +9806,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-extension-by-oid"></a><h3>gnutls_x509_crt_set_extension_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_extension_by_oid (<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>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> sizeof_buf</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> critical</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> sizeof_buf</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> critical</code></em>);</pre> <p>This function will set an the extension, by the specified OID, in the certificate. The extension data should be binary data DER encoded.</p> @@ -9861,12 +9863,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-issuer-dn-by-oid"></a><h3>gnutls_x509_crt_set_issuer_dn_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_issuer_dn_by_oid (<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>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *name</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> sizeof_name</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> sizeof_name</code></em>);</pre> <p>This function will set the part of the name of the Certificate issuer, specified by the given OID. The input string should be ASCII or UTF-8 encoded.</p> @@ -9927,7 +9929,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-key"></a><h3>gnutls_x509_crt_set_key ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_key (<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>, <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>);</pre> <p>This function will set the public parameters from the given @@ -9965,10 +9967,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-key-purpose-oid"></a><h3>gnutls_x509_crt_set_key_purpose_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_key_purpose_oid (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> critical</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> critical</code></em>);</pre> <p>This function will set the key purpose OIDs of the Certificate. These are stored in the Extended Key Usage extension (2.5.29.37) See the GNUTLS_KP_* definitions for human readable names.</p> @@ -10010,9 +10012,9 @@ otherwise a negative error code is returned.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-key-usage"></a><h3>gnutls_x509_crt_set_key_usage ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_key_usage (<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>, - <em class="parameter"><code>unsigned <span class="type">int</span> usage</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> usage</code></em>);</pre> <p>This function will set the keyUsage certificate extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.164.5"></a><h4>Parameters</h4> @@ -10046,15 +10048,15 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-pin-function"></a><h3>gnutls_x509_crt_set_pin_function ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_crt_set_pin_function (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-pin-callback-t" title="gnutls_pin_callback_t ()"><span class="type">gnutls_pin_callback_t</span></a> fn</code></em>, - <em class="parameter"><code><span class="type">void</span> *userdata</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *userdata</code></em>);</pre> <p>This function will set a callback function to be used when it is required to access a protected object. This function overrides the global function set using <a class="link" href="gnutls-pkcs11.html#gnutls-pkcs11-set-pin-function" title="gnutls_pkcs11_set_pin_function ()"><code class="function">gnutls_pkcs11_set_pin_function()</code></a>.</p> <p>Note that this callback is currently used only during the import -of a PKCS <span class="type">11</span> certificate with <a class="link" href="gnutls-pkcs11.html#gnutls-x509-crt-import-pkcs11-url" title="gnutls_x509_crt_import_pkcs11_url ()"><code class="function">gnutls_x509_crt_import_pkcs11_url()</code></a>.</p> +of a PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> certificate with <a class="link" href="gnutls-pkcs11.html#gnutls-x509-crt-import-pkcs11-url" title="gnutls_x509_crt_import_pkcs11_url ()"><code class="function">gnutls_x509_crt_import_pkcs11_url()</code></a>.</p> <div class="refsect3"> <a name="id-1.2.6.7.165.6"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -10087,10 +10089,10 @@ of a PKCS <span class="type">11</span> certificate with <a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-policy"></a><h3>gnutls_x509_crt_set_policy ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_policy (<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>, <em class="parameter"><code>const <span class="type">struct gnutls_x509_policy_st</span> *policy</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> critical</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> critical</code></em>);</pre> <p>This function will set the certificate policy extension (2.5.29.32). Multiple calls to this function append a new policy.</p> <p>Note the maximum text size for the qualifier <a class="link" href="gnutls-x509.html#GNUTLS-X509-QUALIFIER-NOTICE:CAPS"><code class="literal">GNUTLS_X509_QUALIFIER_NOTICE</code></a> @@ -10134,11 +10136,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-private-key-usage-period"></a><h3>gnutls_x509_crt_set_private_key_usage_period ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_private_key_usage_period (<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>, - <em class="parameter"><code><span class="type">time_t</span> activation</code></em>, - <em class="parameter"><code><span class="type">time_t</span> expiration</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> activation</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="time-t"><span class="type">time_t</span></GTKDOCLINK> expiration</code></em>);</pre> <p>This function will set the private key usage period extension (2.5.29.16).</p> <div class="refsect3"> <a name="id-1.2.6.7.167.5"></a><h4>Parameters</h4> @@ -10177,12 +10179,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-proxy"></a><h3>gnutls_x509_crt_set_proxy ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_proxy (<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>, - <em class="parameter"><code><span class="type">int</span> pathLenConstraint</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *policyLanguage</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *policy</code></em>, - <em class="parameter"><code><span class="type">size_t</span> sizeof_policy</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> pathLenConstraint</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *policyLanguage</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *policy</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> sizeof_policy</code></em>);</pre> <p>This function will set the proxyCertInfo extension.</p> <div class="refsect3"> <a name="id-1.2.6.7.168.5"></a><h4>Parameters</h4> @@ -10213,7 +10215,7 @@ not be present.</p></td> </tr> <tr> <td class="parameter_name"><p>policy</p></td> -<td class="parameter_description"><p>uint8_t byte array with policy language, can 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>uint8_t byte array with policy language, can be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK></p></td> <td class="parameter_annotations"> </td> </tr> <tr> @@ -10235,12 +10237,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-proxy-dn"></a><h3>gnutls_x509_crt_set_proxy_dn ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_proxy_dn (<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>, <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> eecrt</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *name</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> sizeof_name</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> sizeof_name</code></em>);</pre> <p>This function will set the subject in <em class="parameter"><code>crt</code></em> to the end entity's <em class="parameter"><code>eecrt</code></em> @@ -10249,7 +10251,7 @@ gnutls_x509_crt_set_proxy_dn (<em class="parameter"><code><a class="link" href=" of size <em class="parameter"><code>sizeof_name</code></em> . This corresponds to the required proxy certificate naming style. Note that if <em class="parameter"><code>name</code></em> - is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, you MUST + is <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>, you MUST set it later by using <a class="link" href="gnutls-x509.html#gnutls-x509-crt-set-dn-by-oid" title="gnutls_x509_crt_set_dn_by_oid ()"><code class="function">gnutls_x509_crt_set_dn_by_oid()</code></a> or similar.</p> <div class="refsect3"> <a name="id-1.2.6.7.169.5"></a><h4>Parameters</h4> @@ -10299,10 +10301,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-serial"></a><h3>gnutls_x509_crt_set_serial ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_serial (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *serial</code></em>, - <em class="parameter"><code><span class="type">size_t</span> serial_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *serial</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> serial_size</code></em>);</pre> <p>This function will set the X.509 certificate's serial number. While the serial number is an integer, it is often handled as an opaque field by several CAs. For this reason this function @@ -10347,12 +10349,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-subject-alt-name"></a><h3>gnutls_x509_crt_set_subject_alt_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_subject_alt_name (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-subject-alt-name-t" title="enum gnutls_x509_subject_alt_name_t"><span class="type">gnutls_x509_subject_alt_name_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *data</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> data_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *data</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> data_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will set the subject alternative name certificate extension. It can set the following types:</p> <p><a class="link" href="gnutls-gnutls.html#GNUTLS-SAN-DNSNAME:CAPS"><code class="literal">GNUTLS_SAN_DNSNAME</code></a>: as a text string</p> @@ -10408,11 +10410,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-subject-alternative-name"></a><h3>gnutls_x509_crt_set_subject_alternative_name ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_subject_alternative_name (<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>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-x509-subject-alt-name-t" title="enum gnutls_x509_subject_alt_name_t"><span class="type">gnutls_x509_subject_alt_name_t</span></a> type</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *data_string</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *data_string</code></em>);</pre> <p>This function will set the subject alternative name certificate extension. This function assumes that data can be expressed as a null terminated string.</p> @@ -10455,10 +10457,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-subject-key-id"></a><h3>gnutls_x509_crt_set_subject_key_id ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_subject_key_id (<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> cert</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *id</code></em>, - <em class="parameter"><code><span class="type">size_t</span> id_size</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *id</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> id_size</code></em>);</pre> <p>This function will set the X.509 certificate's subject key ID extension.</p> <div class="refsect3"> @@ -10498,9 +10500,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-set-version"></a><h3>gnutls_x509_crt_set_version ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_set_version (<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>, - <em class="parameter"><code>unsigned <span class="type">int</span> version</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> version</code></em>);</pre> <p>This function will set the version of the certificate. This must be one for X.509 version 1, and so on. Plain certificates without extensions must have version set to one.</p> @@ -10540,7 +10542,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-sign"></a><h3>gnutls_x509_crt_sign ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_sign (<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>, <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> issuer</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> issuer_key</code></em>);</pre> @@ -10583,12 +10585,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-sign2"></a><h3>gnutls_x509_crt_sign2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_sign2 (<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>, <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> issuer</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> issuer_key</code></em>, <em class="parameter"><code><a class="link" href="gnutls-gnutls.html#gnutls-digest-algorithm-t" title="enum gnutls_digest_algorithm_t"><span class="type">gnutls_digest_algorithm_t</span></a> dig</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 sign the certificate with the issuer's private key, and will copy the issuer's information into the certificate.</p> <p>This must be the last step in a certificate generation since all @@ -10640,12 +10642,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-crt-verify"></a><h3>gnutls_x509_crt_verify ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_crt_verify (<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> cert</code></em>, <em class="parameter"><code>const <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> *CA_list</code></em>, - <em class="parameter"><code><span class="type">int</span> CA_list_length</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> CA_list_length</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>);</pre> <p>This function will try to verify the given certificate and return its status. Note that a verification error does not imply a negative return status. In that case the <em class="parameter"><code>verify</code></em> @@ -10697,7 +10699,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-deinit"></a><h3>gnutls_x509_dn_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_dn_deinit (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> dn</code></em>);</pre> <p>This function deallocates the DN object as returned by <a class="link" href="gnutls-x509.html#gnutls-x509-dn-import" title="gnutls_x509_dn_import ()"><code class="function">gnutls_x509_dn_import()</code></a>.</p> @@ -10721,11 +10723,11 @@ gnutls_x509_dn_deinit (<em class="parameter"><code><a class="link" href="gnutls- <hr> <div class="refsect2"> <a name="gnutls-x509-dn-export"></a><h3>gnutls_x509_dn_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_dn_export (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> dn</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 DN to DER or PEM format.</p> <p>If the buffer provided is not long enough to hold the output, then *<em class="parameter"><code>output_data_size</code></em> @@ -10776,10 +10778,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-export2"></a><h3>gnutls_x509_dn_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_dn_export2 (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> dn</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 DN 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 @@ -10822,11 +10824,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-get-rdn-ava"></a><h3>gnutls_x509_dn_get_rdn_ava ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_dn_get_rdn_ava (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> dn</code></em>, - <em class="parameter"><code><span class="type">int</span> irdn</code></em>, - <em class="parameter"><code><span class="type">int</span> iava</code></em>, - <em class="parameter"><code><span class="type">gnutls_x509_ava_st</span> *ava</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> irdn</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> iava</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-x509-ava-st"><span class="type">gnutls_x509_ava_st</span></GTKDOCLINK> *ava</code></em>);</pre> <p>Get pointers to data within the DN. The format of the <em class="parameter"><code>ava</code></em> structure is shown below.</p> @@ -10887,9 +10889,9 @@ value conversions when necessary (e.g. from UCS-2).</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-import"></a><h3>gnutls_x509_dn_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_dn_import (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> dn</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 parses an RDN sequence and stores the result to a <a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> structure. The structure must have been initialized with <a class="link" href="gnutls-x509.html#gnutls-x509-dn-init" title="gnutls_x509_dn_init ()"><code class="function">gnutls_x509_dn_init()</code></a>. You may use <a class="link" href="gnutls-x509.html#gnutls-x509-dn-get-rdn-ava" title="gnutls_x509_dn_get_rdn_ava ()"><code class="function">gnutls_x509_dn_get_rdn_ava()</code></a> to @@ -10927,7 +10929,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-init"></a><h3>gnutls_x509_dn_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_dn_init (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> *dn</code></em>);</pre> <p>This function initializes a <a class="link" href="gnutls-x509.html#gnutls-x509-dn-t" title="gnutls_x509_dn_t"><span class="type">gnutls_x509_dn_t</span></a> structure.</p> <p>The object returned must be deallocated using @@ -10958,8 +10960,8 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-oid-known"></a><h3>gnutls_x509_dn_oid_known ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_x509_dn_oid_known (<em class="parameter"><code>const <span class="type">char</span> *oid</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_x509_dn_oid_known (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>);</pre> <p>This function will inform about known DN OIDs. This is useful since functions like <a class="link" href="gnutls-x509.html#gnutls-x509-crt-set-dn-by-oid" title="gnutls_x509_crt_set_dn_by_oid ()"><code class="function">gnutls_x509_crt_set_dn_by_oid()</code></a> use the information on known OIDs to properly encode their input. Object Identifiers @@ -10991,9 +10993,9 @@ data.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-dn-oid-name"></a><h3>gnutls_x509_dn_oid_name ()</h3> -<pre class="programlisting">const <span class="returnvalue">char</span> * -gnutls_x509_dn_oid_name (<em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> +<pre class="programlisting">const <GTKDOCLINK HREF="char"><span class="returnvalue">char</span></GTKDOCLINK> * +gnutls_x509_dn_oid_name (<em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will return the name of a known DN OID. If <a class="link" href="gnutls-x509.html#GNUTLS-X509-DN-OID-RETURN-OID:CAPS" title="GNUTLS_X509_DN_OID_RETURN_OID"><code class="literal">GNUTLS_X509_DN_OID_RETURN_OID</code></a> is specified this function will return the given OID if no descriptive name has been @@ -11030,7 +11032,7 @@ found.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-policy-release"></a><h3>gnutls_x509_policy_release ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_policy_release (<em class="parameter"><code><span class="type">struct gnutls_x509_policy_st</span> *policy</code></em>);</pre> <p>This function will deinitialize all memory associated with the provided <em class="parameter"><code>policy</code></em> @@ -11055,7 +11057,7 @@ gnutls_x509_policy_release (<em class="parameter"><code><span class="type">struc <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-cpy"></a><h3>gnutls_x509_privkey_cpy ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_cpy (<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> dst</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> src</code></em>);</pre> <p>This function will copy a private key from source to destination @@ -11092,7 +11094,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-deinit"></a><h3>gnutls_x509_privkey_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_privkey_deinit (<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>);</pre> <p>This function will deinitialize a private key structure.</p> <div class="refsect3"> @@ -11114,11 +11116,11 @@ gnutls_x509_privkey_deinit (<em class="parameter"><code><a class="link" href="gn <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export"></a><h3>gnutls_x509_privkey_export ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export (<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-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 private key to a PKCS1 structure for RSA keys, or an integer sequence for DSA keys. The DSA keys are in the same format with the parameters used by openssl.</p> @@ -11171,10 +11173,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export2"></a><h3>gnutls_x509_privkey_export2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export2 (<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-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 private key to a PKCS1 structure for RSA keys, or an integer sequence for DSA keys. The DSA keys are in the same format with the parameters used by openssl.</p> @@ -11219,15 +11221,15 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export2-pkcs8"></a><h3>gnutls_x509_privkey_export2_pkcs8 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export2_pkcs8 (<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-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>const <span class="type">char</span> *password</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *out</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <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 private key to a PKCS8 structure. Both RSA and DSA keys can be exported. For DSA keys we use -PKCS <span class="type">11</span> definitions. If the flags do not specify the encryption +PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> definitions. If the flags do not specify the encryption cipher, then the default 3DES (PBES2) will be used.</p> <p>The <em class="parameter"><code>password</code></em> can be either ASCII or UTF-8 in the default PBES2 @@ -11284,13 +11286,13 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export-dsa-raw"></a><h3>gnutls_x509_privkey_export_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export_dsa_raw (<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><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *x</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>);</pre> <p>This function will export the DSA private key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -11346,12 +11348,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export-ecc-raw"></a><h3>gnutls_x509_privkey_export_ecc_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export_ecc_raw (<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-ecc-curve-t" title="enum gnutls_ecc_curve_t"><span class="type">gnutls_ecc_curve_t</span></a> *curve</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *x</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *y</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *k</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *k</code></em>);</pre> <p>This function will export the ECC private key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -11403,16 +11405,16 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export-pkcs8"></a><h3>gnutls_x509_privkey_export_pkcs8 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export_pkcs8 (<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-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>const <span class="type">char</span> *password</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</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>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <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 private key to a PKCS8 structure. Both RSA and DSA keys can be exported. For DSA keys we use -PKCS <span class="type">11</span> definitions. If the flags do not specify the encryption +PKCS <GTKDOCLINK HREF="11:CAPS"><span class="type">11</span></GTKDOCLINK> definitions. If the flags do not specify the encryption cipher, then the default 3DES (PBES2) will be used.</p> <p>The <em class="parameter"><code>password</code></em> can be either ASCII or UTF-8 in the default PBES2 @@ -11476,14 +11478,14 @@ returned, and 0 on success.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export-rsa-raw"></a><h3>gnutls_x509_privkey_export_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export_rsa_raw (<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><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *d</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *u</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *d</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *u</code></em>);</pre> <p>This function will export the RSA private key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -11544,16 +11546,16 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-export-rsa-raw2"></a><h3>gnutls_x509_privkey_export_rsa_raw2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_export_rsa_raw2 (<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><span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *d</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *u</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e1</code></em>, - <em class="parameter"><code><span class="type">gnutls_datum_t</span> *e2</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *d</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *u</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e1</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e2</code></em>);</pre> <p>This function will export the RSA private key's parameters found in the given structure. The new parameters will be allocated using <a class="link" href="gnutls-gnutls.html#gnutls-malloc" title="gnutls_malloc"><code class="function">gnutls_malloc()</code></a> and will be stored in the appropriate datum.</p> @@ -11625,7 +11627,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-fix"></a><h3>gnutls_x509_privkey_fix ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_fix (<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>);</pre> <p>This function will recalculate the secondary parameters in a key. In RSA keys, this can be the coefficient and exponent1,2.</p> @@ -11654,18 +11656,18 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-generate"></a><h3>gnutls_x509_privkey_generate ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_generate (<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-pk-algorithm-t" title="enum gnutls_pk_algorithm_t"><span class="type">gnutls_pk_algorithm_t</span></a> algo</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> bits</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> bits</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will generate a random private key. Note that this function must be called on an empty private key.</p> <p>Note that when generating an elliptic curve key, the curve can be substituted in the place of the bits parameter using the -<code class="function">GNUTLS_CURVE_TO_BITS()</code> macro.</p> +<GTKDOCLINK HREF="GNUTLS-CURVE-TO-BITS:CAPS"><code class="function">GNUTLS_CURVE_TO_BITS()</code></GTKDOCLINK> macro.</p> <p>For DSA keys, if the subgroup size needs to be specified check -the <code class="function">GNUTLS_SUBGROUP_TO_BITS()</code> macro.</p> +the <GTKDOCLINK HREF="GNUTLS-SUBGROUP-TO-BITS:CAPS"><code class="function">GNUTLS_SUBGROUP_TO_BITS()</code></GTKDOCLINK> macro.</p> <p>Do not set the number of bits directly, use <a class="link" href="gnutls-gnutls.html#gnutls-sec-param-to-pk-bits" title="gnutls_sec_param_to_pk_bits ()"><code class="function">gnutls_sec_param_to_pk_bits()</code></a>.</p> <div class="refsect3"> <a name="id-1.2.6.7.198.8"></a><h4>Parameters</h4> @@ -11709,11 +11711,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-get-key-id"></a><h3>gnutls_x509_privkey_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_x509_privkey_get_key_id (<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>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">char</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>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="char"><span class="type">char</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 return a unique ID that depends on the public key parameters. This ID can be used in checking whether a certificate corresponds to the given key.</p> @@ -11765,7 +11767,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-get-pk-algorithm"></a><h3>gnutls_x509_privkey_get_pk_algorithm ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_get_pk_algorithm (<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>);</pre> <p>This function will return the public key algorithm of a private key.</p> @@ -11794,9 +11796,9 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-get-pk-algorithm2"></a><h3>gnutls_x509_privkey_get_pk_algorithm2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_get_pk_algorithm2 (<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>unsigned <span class="type">int</span> *bits</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *bits</code></em>);</pre> <p>This function will return the public key algorithm of a private key.</p> <div class="refsect3"> @@ -11831,9 +11833,9 @@ success, or a negative error code on error.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import"></a><h3>gnutls_x509_privkey_import ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import (<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>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>);</pre> <p>This function will convert the given DER or PEM encoded key to the native <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> format. The output will be stored in @@ -11879,12 +11881,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import2"></a><h3>gnutls_x509_privkey_import2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import2 (<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>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>const <span class="type">char</span> *password</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> *password</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will import the given DER or PEM encoded key, to the native <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> format, irrespective of the input format. The input format is auto-detected.</p> @@ -11939,13 +11941,13 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import-dsa-raw"></a><h3>gnutls_x509_privkey_import_dsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import_dsa_raw (<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>const <span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *g</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *y</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *x</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *g</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>);</pre> <p>This function will convert the given DSA raw parameters to the native <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> format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -12002,12 +12004,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import-ecc-raw"></a><h3>gnutls_x509_privkey_import_ecc_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import_ecc_raw (<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-ecc-curve-t" title="enum gnutls_ecc_curve_t"><span class="type">gnutls_ecc_curve_t</span></a> curve</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *x</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *y</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *k</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *x</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *y</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *k</code></em>);</pre> <p>This function will convert the given elliptic curve parameters to the native <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> format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -12060,10 +12062,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import-openssl"></a><h3>gnutls_x509_privkey_import_openssl ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import_openssl (<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>const <span class="type">gnutls_datum_t</span> *data</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *password</code></em>);</pre> + <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>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *password</code></em>);</pre> <p>This function will convert the given PEM encrypted to the native gnutls_x509_privkey_t format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -12110,12 +12112,12 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import-pkcs8"></a><h3>gnutls_x509_privkey_import_pkcs8 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import_pkcs8 (<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>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>const <span class="type">char</span> *password</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> *password</code></em>, + <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 PKCS8 2.0 encrypted key to the native gnutls_x509_privkey_t format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -12178,14 +12180,14 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import-rsa-raw"></a><h3>gnutls_x509_privkey_import_rsa_raw ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import_rsa_raw (<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>const <span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *e</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *d</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *u</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *d</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *u</code></em>);</pre> <p>This function will convert the given RSA raw parameters to the native <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> format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -12247,16 +12249,16 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-import-rsa-raw2"></a><h3>gnutls_x509_privkey_import_rsa_raw2 ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_import_rsa_raw2 (<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>const <span class="type">gnutls_datum_t</span> *m</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *e</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *d</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *p</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *q</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *u</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *e1</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *e2</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *m</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *d</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *p</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *q</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *u</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e1</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *e2</code></em>);</pre> <p>This function will convert the given RSA raw parameters to the native <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> format. The output will be stored in <em class="parameter"><code>key</code></em> @@ -12328,7 +12330,7 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-init"></a><h3>gnutls_x509_privkey_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_init (<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>);</pre> <p>This function will initialize an private key structure.</p> <div class="refsect3"> @@ -12386,7 +12388,7 @@ this private key.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-privkey-verify-params"></a><h3>gnutls_x509_privkey_verify_params ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_privkey_verify_params (<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>);</pre> <p>This function will verify the private key parameters.</p> <div class="refsect3"> @@ -12414,10 +12416,10 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-rdn-get"></a><h3>gnutls_x509_rdn_get ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_x509_rdn_get (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *idn</code></em>, - <em class="parameter"><code><span class="type">char</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_x509_rdn_get (<em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *idn</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will return the name of the given RDN sequence. The name will be in the form "C=xxxx,O=yyyy,CN=zzzz" as described in RFC4514.</p> @@ -12456,13 +12458,13 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-rdn-get-by-oid"></a><h3>gnutls_x509_rdn_get_by_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_x509_rdn_get_by_oid (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *idn</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *oid</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> raw_flag</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_x509_rdn_get_by_oid (<em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *idn</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *oid</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> raw_flag</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will return the name of the given Object identifier, of the RDN sequence. The name will be encoded using the rules from RFC4514.</p> @@ -12517,11 +12519,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-rdn-get-oid"></a><h3>gnutls_x509_rdn_get_oid ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> -gnutls_x509_rdn_get_oid (<em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *idn</code></em>, - <em class="parameter"><code><span class="type">int</span> indx</code></em>, - <em class="parameter"><code><span class="type">void</span> *buf</code></em>, - <em class="parameter"><code><span class="type">size_t</span> *sizeof_buf</code></em>);</pre> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> +gnutls_x509_rdn_get_oid (<em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *idn</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> indx</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *buf</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> *sizeof_buf</code></em>);</pre> <p>This function will return the specified Object identifier, of the RDN sequence.</p> <div class="refsect3"> @@ -12565,15 +12567,15 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-add-cas"></a><h3>gnutls_x509_trust_list_add_cas ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_add_cas (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</code></em>, <em class="parameter"><code>const <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> *clist</code></em>, - <em class="parameter"><code><span class="type">unsigned </span> clist_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="unsigned"><span class="type">unsigned </span></GTKDOCLINK> clist_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will add the given certificate authorities to the trusted list. The list of CAs must not be deinitialized during this structure's lifetime.</p> -<p>If the flag <code class="literal">GNUTLS_TL_NO_DUPLICATES</code> is specified, then +<p>If the flag <GTKDOCLINK HREF="GNUTLS-TL-NO-DUPLICATES:CAPS"><code class="literal">GNUTLS_TL_NO_DUPLICATES</code></GTKDOCLINK> is specified, then the provided <em class="parameter"><code>clist</code></em> entries that are duplicates will not be added to the list and will be deinitialized.</p> @@ -12603,7 +12605,7 @@ added to the list and will be deinitialized.</p> </tr> <tr> <td class="parameter_name"><p>flags</p></td> -<td class="parameter_description"><p>should be 0 or an or'ed sequence of <code class="literal">GNUTLS_TL</code> options.</p></td> +<td class="parameter_description"><p>should be 0 or an or'ed sequence of <GTKDOCLINK HREF="GNUTLS-TL:CAPS"><code class="literal">GNUTLS_TL</code></GTKDOCLINK> options.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -12619,12 +12621,12 @@ added to the list and will be deinitialized.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-add-crls"></a><h3>gnutls_x509_trust_list_add_crls ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_add_crls (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</code></em>, <em class="parameter"><code>const <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_list</code></em>, - <em class="parameter"><code><span class="type">int</span> crl_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> verification_flags</code></em>);</pre> + <em class="parameter"><code><GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> crl_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> verification_flags</code></em>);</pre> <p>This function will add the given certificate revocation lists to the trusted list. The list of CRLs must not be deinitialized during this structure's lifetime.</p> @@ -12677,12 +12679,12 @@ to allow verifying the CRLs for validity.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-add-named-crt"></a><h3>gnutls_x509_trust_list_add_named_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_add_named_crt (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</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> cert</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *name</code></em>, - <em class="parameter"><code><span class="type">size_t</span> name_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> name_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>);</pre> <p>This function will add the given certificate to the trusted list and associate it with a name. The certificate will not be be used for verification with <a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-verify-crt" title="gnutls_x509_trust_list_verify_crt ()"><code class="function">gnutls_x509_trust_list_verify_crt()</code></a> @@ -12740,11 +12742,11 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-add-system-trust"></a><h3>gnutls_x509_trust_list_add_system_trust ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_add_system_trust (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> tl_flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> tl_vflags</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> tl_flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> tl_vflags</code></em>);</pre> <p>This function adds the system's default trusted certificate authorities to the trusted list. Note that on unsupported system this function returns <a class="link" href="gnutls-gnutls.html#GNUTLS-E-UNIMPLEMENTED-FEATURE:CAPS" title="GNUTLS_E_UNIMPLEMENTED_FEATURE"><code class="literal">GNUTLS_E_UNIMPLEMENTED_FEATURE</code></a>.</p> @@ -12785,13 +12787,13 @@ this function returns <a class="link" href="gnutls-gnutls.html#GNUTLS-E-UNIMPLEM <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-add-trust-file"></a><h3>gnutls_x509_trust_list_add_trust_file ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_add_trust_file (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *ca_file</code></em>, - <em class="parameter"><code>const <span class="type">char</span> *crl_file</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *ca_file</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="char"><span class="type">char</span></GTKDOCLINK> *crl_file</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> type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> tl_flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> tl_vflags</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> tl_flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> tl_vflags</code></em>);</pre> <p>This function will add the given certificate authorities to the trusted list. pkcs11 URLs are also accepted, instead of files, by this function.</p> @@ -12847,13 +12849,13 @@ of files, by this function.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-add-trust-mem"></a><h3>gnutls_x509_trust_list_add_trust_mem ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_add_trust_mem (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *cas</code></em>, - <em class="parameter"><code>const <span class="type">gnutls_datum_t</span> *crls</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *cas</code></em>, + <em class="parameter"><code>const <GTKDOCLINK HREF="gnutls-datum-t"><span class="type">gnutls_datum_t</span></GTKDOCLINK> *crls</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> type</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> tl_flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> tl_vflags</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> tl_flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> tl_vflags</code></em>);</pre> <p>This function will add the given certificate authorities to the trusted list.</p> <div class="refsect3"> @@ -12908,9 +12910,9 @@ to the trusted list.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-deinit"></a><h3>gnutls_x509_trust_list_deinit ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> +<pre class="programlisting"><GTKDOCLINK HREF="void"><span class="returnvalue">void</span></GTKDOCLINK> gnutls_x509_trust_list_deinit (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> all</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> all</code></em>);</pre> <p>This function will deinitialize a trust list. Note that the <em class="parameter"><code>all</code></em> flag should be typically non-zero unless you have specified @@ -12943,11 +12945,11 @@ want to prevent them from being deinitialized by this function.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-get-issuer"></a><h3>gnutls_x509_trust_list_get_issuer ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_get_issuer (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</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> cert</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> *issuer</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 attempt to find the issuer of the given certificate.</p> <div class="refsect3"> @@ -12993,9 +12995,9 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-init"></a><h3>gnutls_x509_trust_list_init ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_init (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> *list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> size</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> size</code></em>);</pre> <p>This function will initialize an X.509 trust list structure.</p> <div class="refsect3"> <a name="id-1.2.6.7.224.5"></a><h4>Parameters</h4> @@ -13030,20 +13032,20 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-verify-crt"></a><h3>gnutls_x509_trust_list_verify_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_verify_crt (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</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> *cert_list</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> cert_list_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>, - <em class="parameter"><code><span class="type">gnutls_verify_output_function</span> func</code></em>);</pre> + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> cert_list_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-verify-output-function"><span class="type">gnutls_verify_output_function</span></GTKDOCLINK> func</code></em>);</pre> <p>This function will try to verify the given certificate and return its status. The <em class="parameter"><code>verify</code></em> parameter will hold an OR'ed sequence of <a class="link" href="gnutls-gnutls.html#gnutls-certificate-status-t" title="enum gnutls_certificate_status_t"><code class="literal">gnutls_certificate_status_t</code></a> flags.</p> <p>Additionally a certificate verification profile can be specified -from the ones in <code class="literal">gnutls_certificate_verification_profiles_t</code> by -ORing the result of <code class="function">GNUTLS_PROFILE_TO_VFLAGS()</code> to the verification +from the ones in <GTKDOCLINK HREF="gnutls-certificate-verification-profiles-t"><code class="literal">gnutls_certificate_verification_profiles_t</code></GTKDOCLINK> by +ORing the result of <GTKDOCLINK HREF="GNUTLS-PROFILE-TO-VFLAGS:CAPS"><code class="function">GNUTLS_PROFILE_TO_VFLAGS()</code></GTKDOCLINK> to the verification flags.</p> <div class="refsect3"> <a name="id-1.2.6.7.225.6"></a><h4>Parameters</h4> @@ -13093,23 +13095,23 @@ negative error value.</p> <hr> <div class="refsect2"> <a name="gnutls-x509-trust-list-verify-named-crt"></a><h3>gnutls_x509_trust_list_verify_named_crt ()</h3> -<pre class="programlisting"><span class="returnvalue">int</span> +<pre class="programlisting"><GTKDOCLINK HREF="int"><span class="returnvalue">int</span></GTKDOCLINK> gnutls_x509_trust_list_verify_named_crt (<em class="parameter"><code><a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-t" title="gnutls_x509_trust_list_t"><span class="type">gnutls_x509_trust_list_t</span></a> list</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> cert</code></em>, - <em class="parameter"><code>const <span class="type">void</span> *name</code></em>, - <em class="parameter"><code><span class="type">size_t</span> name_size</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>, - <em class="parameter"><code>unsigned <span class="type">int</span> *verify</code></em>, - <em class="parameter"><code><span class="type">gnutls_verify_output_function</span> func</code></em>);</pre> + <em class="parameter"><code>const <GTKDOCLINK HREF="void"><span class="type">void</span></GTKDOCLINK> *name</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="size-t"><span class="type">size_t</span></GTKDOCLINK> name_size</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> flags</code></em>, + <em class="parameter"><code>unsigned <GTKDOCLINK HREF="int"><span class="type">int</span></GTKDOCLINK> *verify</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gnutls-verify-output-function"><span class="type">gnutls_verify_output_function</span></GTKDOCLINK> func</code></em>);</pre> <p>This function will try to find a certificate that is associated with the provided name --see <a class="link" href="gnutls-x509.html#gnutls-x509-trust-list-add-named-crt" title="gnutls_x509_trust_list_add_named_crt ()"><code class="function">gnutls_x509_trust_list_add_named_crt()</code></a>. If a match is found the certificate is considered valid. In addition to that this function will also check CRLs. The <em class="parameter"><code>voutput</code></em> parameter will hold an OR'ed sequence of <a class="link" href="gnutls-gnutls.html#gnutls-certificate-status-t" title="enum gnutls_certificate_status_t"><code class="literal">gnutls_certificate_status_t</code></a> flags.</p> <p>Additionally a certificate verification profile can be specified -from the ones in <code class="literal">gnutls_certificate_verification_profiles_t</code> by -ORing the result of <code class="function">GNUTLS_PROFILE_TO_VFLAGS()</code> to the verification +from the ones in <GTKDOCLINK HREF="gnutls-certificate-verification-profiles-t"><code class="literal">gnutls_certificate_verification_profiles_t</code></GTKDOCLINK> by +ORing the result of <GTKDOCLINK HREF="GNUTLS-PROFILE-TO-VFLAGS:CAPS"><code class="function">GNUTLS_PROFILE_TO_VFLAGS()</code></GTKDOCLINK> to the verification flags.</p> <div class="refsect3"> <a name="id-1.2.6.7.226.6"></a><h4>Parameters</h4> @@ -13562,8 +13564,8 @@ negative error value.</p> <div class="refsect2"> <a name="gnutls-certificate-verify-flags"></a><h3>enum gnutls_certificate_verify_flags</h3> <p>Enumeration of different certificate verify flags. Additional -verification profiles can be set using <code class="function">GNUTLS_PROFILE_TO_VFLAGS()</code> -and <code class="literal">gnutls_certificate_verification_profiles_t</code>.</p> +verification profiles can be set using <GTKDOCLINK HREF="GNUTLS-PROFILE-TO-VFLAGS:CAPS"><code class="function">GNUTLS_PROFILE_TO_VFLAGS()</code></GTKDOCLINK> +and <GTKDOCLINK HREF="gnutls-certificate-verification-profiles-t"><code class="literal">gnutls_certificate_verification_profiles_t</code></GTKDOCLINK>.</p> <div class="refsect3"> <a name="id-1.2.6.8.48.4"></a><h4>Members</h4> <div class="informaltable"><table width="100%" border="0"> @@ -13996,4 +13998,4 @@ and <code class="literal">gnutls_certificate_verification_profiles_t</code>.</p> <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> diff --git a/reference/intro.html b/reference/intro.html index a0512cdb73..4dfd19d810 100644 --- a/reference/intro.html +++ b/reference/intro.html @@ -68,4 +68,4 @@ <hr> Generated by GTK-Doc V1.20</div> </body> -</html>
\ No newline at end of file +</html> |