glib2 1.1.4-x86-mingw32 → 1.1.5-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +17 -3
- data/ext/glib2/rbglib.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +32 -28
- data/lib/gnome2-win32-binary-build-task.rb +191 -0
- data/lib/{gnome2-win32-binary-downloader.rb → gnome2-win32-binary-download-task.rb} +62 -19
- data/vendor/local/bin/asn1Coding.exe +0 -0
- data/vendor/local/bin/asn1Decoding.exe +0 -0
- data/vendor/local/bin/asn1Parser.exe +0 -0
- data/vendor/local/bin/certtool.exe +0 -0
- data/vendor/local/bin/dumpsexp.exe +0 -0
- data/vendor/local/bin/gnutls-cli-debug.exe +0 -0
- data/vendor/local/bin/gnutls-cli.exe +0 -0
- data/vendor/local/bin/gnutls-serv.exe +0 -0
- data/vendor/local/bin/gpg-error.exe +0 -0
- data/vendor/local/bin/hmac256.exe +0 -0
- data/vendor/local/bin/libgcrypt-11.dll +0 -0
- data/vendor/local/bin/libgcrypt-config +177 -0
- data/vendor/local/bin/libgnutls-26.dll +0 -0
- data/vendor/local/bin/libgnutls-extra-26.dll +0 -0
- data/vendor/local/bin/libgnutls-openssl-26.dll +0 -0
- data/vendor/local/bin/libgpg-error-0.dll +0 -0
- data/vendor/local/bin/libtasn1-3.dll +0 -0
- data/vendor/local/bin/psktool.exe +0 -0
- data/vendor/local/bin/srptool.exe +0 -0
- data/vendor/local/gnutls.README.txt +6 -0
- data/vendor/local/include/gcrypt-module.h +226 -0
- data/vendor/local/include/gcrypt.h +1826 -0
- data/vendor/local/include/gnutls/compat.h +105 -0
- data/vendor/local/include/gnutls/crypto.h +73 -0
- data/vendor/local/include/gnutls/extra.h +137 -0
- data/vendor/local/include/gnutls/gnutls.h +1333 -0
- data/vendor/local/include/gnutls/gnutlsxx.h +388 -0
- data/vendor/local/include/gnutls/openpgp.h +283 -0
- data/vendor/local/include/gnutls/openssl.h +335 -0
- data/vendor/local/include/gnutls/pkcs12.h +106 -0
- data/vendor/local/include/gnutls/x509.h +672 -0
- data/vendor/local/include/gpg-error.h +651 -0
- data/vendor/local/include/libtasn1.h +246 -0
- data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
- data/vendor/local/lib/gio/modules/libgiognutls.la +41 -0
- data/vendor/local/lib/libgcrypt.def +237 -0
- data/vendor/local/lib/libgcrypt.dll.a +0 -0
- data/vendor/local/lib/libgnutls-extra.dll.a +0 -0
- data/vendor/local/lib/libgnutls-openssl.dll.a +0 -0
- data/vendor/local/lib/libgnutls.dll.a +0 -0
- data/vendor/local/lib/libgnutlsxx.dll.a +0 -0
- data/vendor/local/lib/libgpg-error.dll.a +0 -0
- data/vendor/local/lib/libtasn1.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gnutls.pc +23 -0
- data/vendor/local/manifest/gnutls-dev_2.4.2-1_win32.mft +593 -0
- data/vendor/local/manifest/gnutls_2.4.2-1_win32.mft +8 -0
- data/vendor/local/share/aclocal/gpg-error.m4 +65 -0
- data/vendor/local/share/aclocal/libgcrypt.m4 +108 -0
- data/vendor/local/share/aclocal/libgnutls-extra.m4 +161 -0
- data/vendor/local/share/aclocal/libgnutls.m4 +160 -0
- data/vendor/local/share/aclocal/libtasn1.m4 +160 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-codes.lisp +417 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error-package.lisp +64 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.asd +36 -0
- data/vendor/local/share/common-lisp/source/gpg-error/gpg-error.lisp +236 -0
- data/vendor/local/share/info/gcrypt.info +6243 -0
- data/vendor/local/share/info/gnutls-certificate-user-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-client-server-use-case.png +0 -0
- data/vendor/local/share/info/gnutls-extensions_st.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-sequence.png +0 -0
- data/vendor/local/share/info/gnutls-handshake-state.png +0 -0
- data/vendor/local/share/info/gnutls-internals.png +0 -0
- data/vendor/local/share/info/gnutls-layers.png +0 -0
- data/vendor/local/share/info/gnutls-logo.png +0 -0
- data/vendor/local/share/info/gnutls-mod_auth_st.png +0 -0
- data/vendor/local/share/info/gnutls-objects.png +0 -0
- data/vendor/local/share/info/gnutls-pgp.png +0 -0
- data/vendor/local/share/info/gnutls-x509.png +0 -0
- data/vendor/local/share/info/gnutls.info +708 -0
- data/vendor/local/share/info/gnutls.info-1 +10467 -0
- data/vendor/local/share/info/gnutls.info-2 +7896 -0
- data/vendor/local/share/info/gnutls.info-3 +1899 -0
- data/vendor/local/share/info/libtasn1.info +2993 -0
- data/vendor/local/share/license/glib-networking/AUTHORS +0 -0
- data/vendor/local/share/license/glib-networking/COPYING +482 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib-networking.mo +0 -0
- data/vendor/local/share/man/man1/asn1Coding.1 +46 -0
- data/vendor/local/share/man/man1/asn1Decoding.1 +41 -0
- data/vendor/local/share/man/man1/asn1Parser.1 +49 -0
- data/vendor/local/share/man/man1/certtool.1 +159 -0
- data/vendor/local/share/man/man1/gnutls-cli-debug.1 +31 -0
- data/vendor/local/share/man/man1/gnutls-cli.1 +166 -0
- data/vendor/local/share/man/man1/gnutls-serv.1 +134 -0
- data/vendor/local/share/man/man1/psktool.1 +31 -0
- data/vendor/local/share/man/man1/srptool.1 +73 -0
- data/vendor/local/share/man/man3/asn1_array2tree.3 +47 -0
- data/vendor/local/share/man/man3/asn1_bit_der.3 +39 -0
- data/vendor/local/share/man/man3/asn1_check_version.3 +39 -0
- data/vendor/local/share/man/man3/asn1_copy_node.3 +39 -0
- data/vendor/local/share/man/man3/asn1_create_element.3 +45 -0
- data/vendor/local/share/man/man3/asn1_delete_element.3 +39 -0
- data/vendor/local/share/man/man3/asn1_delete_structure.3 +37 -0
- data/vendor/local/share/man/man3/asn1_der_coding.3 +52 -0
- data/vendor/local/share/man/man3/asn1_der_decoding.3 +50 -0
- data/vendor/local/share/man/man3/asn1_der_decoding_element.3 +54 -0
- data/vendor/local/share/man/man3/asn1_der_decoding_startEnd.3 +58 -0
- data/vendor/local/share/man/man3/asn1_expand_any_defined_by.3 +45 -0
- data/vendor/local/share/man/man3/asn1_expand_octet_string.3 +51 -0
- data/vendor/local/share/man/man3/asn1_find_node.3 +38 -0
- data/vendor/local/share/man/man3/asn1_find_structure_from_oid.3 +37 -0
- data/vendor/local/share/man/man3/asn1_get_bit_der.3 +43 -0
- data/vendor/local/share/man/man3/asn1_get_length_der.3 +38 -0
- data/vendor/local/share/man/man3/asn1_get_octet_der.3 +43 -0
- data/vendor/local/share/man/man3/asn1_get_tag_der.3 +41 -0
- data/vendor/local/share/man/man3/asn1_length_der.3 +36 -0
- data/vendor/local/share/man/man3/asn1_number_of_elements.3 +43 -0
- data/vendor/local/share/man/man3/asn1_octet_der.3 +37 -0
- data/vendor/local/share/man/man3/asn1_parser2array.3 +58 -0
- data/vendor/local/share/man/man3/asn1_parser2tree.3 +55 -0
- data/vendor/local/share/man/man3/asn1_print_structure.3 +40 -0
- data/vendor/local/share/man/man3/asn1_read_tag.3 +46 -0
- data/vendor/local/share/man/man3/asn1_read_value.3 +92 -0
- data/vendor/local/share/man/man3/asn1_write_value.3 +136 -0
- data/vendor/local/share/man/man3/gnutls_alert_get.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_alert_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_alert_send.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_alert_send_appropriate.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_client_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_allocate_server_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_anon_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_auth_client_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_auth_get_type.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_auth_server_get_type.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_bye.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_certificate_activation_time_peers.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_allocate_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_get_request_status.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_client_set_retrieve_function.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_certificate_expiration_time_peers.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_ca_names.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_cas.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_credentials.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_crls.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_certificate_free_keys.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_openpgp_keyring.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_ours.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_peers.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_cas.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_get_x509_crls.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_send_x509_rdn_sequence.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_request.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_server_set_retrieve_function.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_dh_params.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_file2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_key_mem2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_file.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_openpgp_keyring_mem.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_rsa_export_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_flags.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_verify_limits.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_crl_mem.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_key_mem.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_simple_pkcs12_file.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_file.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_set_x509_trust_mem.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_certificate_type_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_certificate_verify_peers2.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_check_version.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_id.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_cipher_list.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_cipher_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_get_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_cipher_suite_info.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_compression_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_id.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_compression_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_compression_list.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_compression_set_priority.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_credentials_clear.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_credentials_set.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_crypto_cipher_register.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_crypto_digest_register.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_crypto_mac_register.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_crypto_rnd_register.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_db_check_entry.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_db_get_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_remove_session.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_cache_expiration.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_db_set_remove_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_db_set_retrieve_function.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_db_set_store_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_deinit.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_group.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_peers_public_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_prime_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_pubkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_get_secret_bits.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_cpy.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_pkcs3.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_export_raw.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_generate2.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_pkcs3.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_import_raw.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_dh_params_init.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_error_is_fatal.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_error_to_alert.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_extra_check_version.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_fingerprint.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_free.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_global_deinit.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_global_init.3 +60 -0
- data/vendor/local/share/man/man3/gnutls_global_init_extra.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_function.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_global_set_log_level.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_global_set_mem_functions.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_handshake.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_in.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_get_last_out.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_max_packet_length.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_post_client_hello_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_handshake_set_private_extensions.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hex2bin.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_hex_decode.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_hex_encode.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_ia_allocate_client_credentials.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ia_allocate_server_credentials.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_ia_enable.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_ia_endphase_send.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ia_extract_inner_secret.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_ia_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_ia_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_ia_generate_challenge.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_ia_get_client_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_get_server_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_handshake.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_handshake_p.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_ia_permute_inner_secret.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_ia_recv.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_ia_send.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_function.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_client_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_function.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_ia_set_server_avp_ptr.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_ia_verify_endphase.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_init.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_kx_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_kx_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_mac_get.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_key_size.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_mac_list.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_mac_set_priority.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_malloc.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_check_hostname.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_export.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_auth_subkey.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_creation_time.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_expiration_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_fingerprint.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_key_usage.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_name.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_algorithm.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_pk_rsa_raw.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_subkey_usage.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_print.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_set_preferred_key_id.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_ring.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_crt_verify_self.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_check_id.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_import.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_keyring_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_dsa_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_rsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_dsa_raw.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_export_subkey_rsa_raw.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_fingerprint.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_key_id.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_pk_algorithm.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_revoked_status.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_count.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_creation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_expiration_time.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_fingerprint.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_idx.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_pk_algorithm.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_get_subkey_revoked_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_init.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_set_preferred_key_id.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_privkey_sign_hash.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_send_cert.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_openpgp_set_recv_key_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_client.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_oprfi_enable_server.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_decode_alloc.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_pem_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_perror.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_pk_algorithm_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_decrypt.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_encrypt.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_count.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_data.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_friendly_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_get_type.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crl.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_data.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_friendly_name.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_bag_set_key_id.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_generate_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_get_bag.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_set_bag.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs12_verify_mac.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crl.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_delete_crt.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crl_raw.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_get_crt_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_import.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_init.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crl_raw.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_pkcs7_set_crt_raw.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_prf.3 +63 -0
- data/vendor/local/share/man/man3/gnutls_prf_raw.3 +62 -0
- data/vendor/local/share/man/man3/gnutls_priority_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_priority_init.3 +99 -0
- data/vendor/local/share/man/man3/gnutls_priority_set.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_priority_set_direct.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_id.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_name.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_protocol_list.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_protocol_set_priority.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_client_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_allocate_server_credentials.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_client_get_hint.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_psk_netconf_derive_key.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_psk_server_get_username.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_client_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_file.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_function.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_credentials_hint.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_dh_params.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_psk_set_server_params_function.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_record_check_pending.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_record_disable_padding.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_record_get_direction.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_record_get_max_size.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_record_recv.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_record_send.3 +57 -0
- data/vendor/local/share/man/man3/gnutls_record_set_max_size.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_rehandshake.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_modulus_bits.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_rsa_export_get_pubkey.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_cpy.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_pkcs1.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_export_raw.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_generate2.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_pkcs1.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_import_raw.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_rsa_params_init.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_server_name_get.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_server_name_set.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_session_enable_compatibility_mode.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_session_get_client_random.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_data2.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_session_get_id.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_get_master_secret.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_session_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_session_get_server_random.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_session_is_resumed.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_session_set_data.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_session_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_set_default_export_priority.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_set_default_priority.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_sign_algorithm_get_name.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_get.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_sign_callback_set.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_client_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_allocate_server_credentials.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_decode_alloc.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_srp_base64_encode_alloc.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_client_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_free_server_credentials.3 +34 -0
- data/vendor/local/share/man/man3/gnutls_srp_server_get_username.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_client_credentials_function.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_file.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_srp_set_server_credentials_function.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_srp_verifier.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_strerror.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_get_ptr2.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_errno.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_global_errno.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_lowat.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_ptr2.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_pull_function.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_transport_set_push_function.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_check_issuer.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_export.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_count.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_crt_serial.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_issuer_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_next_update.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_signature_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_this_update.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_init.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_print.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_crt_serial.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_next_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_this_update.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_set_version.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crl_verify.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_attribute_by_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_challenge_password.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_by_oid.3 +59 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_pk_algorithm.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_get_version.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_import.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_attribute_by_oid.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_challenge_password.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_dn_by_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_key.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_set_version.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crq_sign2.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_issuer.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_check_revocation.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_cpy_crl_dist_points.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_activation_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_authority_key_id.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_basic_constraints.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_ca_status.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_crl_dist_points.3 +66 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_expiration_time.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_by_oid.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_data.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_info.3 +53 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_extension_oid.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_fingerprint.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_by_oid.3 +58 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_issuer_dn_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_purpose_oid.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_key_usage.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_dsa_raw.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_pk_rsa_raw.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_proxy.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_raw_issuer_dn.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_serial.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_signature_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name.3 +64 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3 +49 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_othername_oid.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_subject_key_id.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_get_version.3 +35 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_import.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_import.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_list_verify.3 +68 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_print.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_activation_time.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_authority_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_basic_constraints.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_ca_status.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crl_dist_points.3 +42 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_crq.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_dn_by_oid.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_expiration_time.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_issuer_dn_by_oid.3 +56 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_purpose_oid.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_key_usage.3 +38 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_proxy_dn.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_serial.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_alternative_name.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_subject_key_id.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_set_version.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_sign2.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_crt_verify_data.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_deinit.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_export.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_get_rdn_ava.3 +46 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_import.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_init.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_dn_oid_known.3 +41 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_cpy.3 +39 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_deinit.3 +33 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export.3 +52 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_dsa_raw.3 +47 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_pkcs8.3 +61 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_export_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_fix.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_generate.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_key_id.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_get_pk_algorithm.3 +37 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import.3 +45 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_dsa_raw.3 +48 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_pkcs8.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_import_rsa_raw.3 +50 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_init.3 +36 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_data.3 +54 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_sign_hash.3 +40 -0
- data/vendor/local/share/man/man3/gnutls_x509_privkey_verify_data.3 +43 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get.3 +44 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3 +51 -0
- data/vendor/local/share/man/man3/gnutls_x509_rdn_get_oid.3 +45 -0
- data/vendor/local/share/man/man3/libtasn1_perror.3 +32 -0
- data/vendor/local/share/man/man3/libtasn1_strerror.3 +35 -0
- metadata +660 -5
@@ -0,0 +1,388 @@
|
|
1
|
+
#ifndef GNUTLSXX_H
|
2
|
+
# define GNUTLSXX_H
|
3
|
+
|
4
|
+
#include <exception>
|
5
|
+
#include <vector>
|
6
|
+
#include <gnutls/gnutls.h>
|
7
|
+
|
8
|
+
namespace gnutls {
|
9
|
+
|
10
|
+
class noncopyable
|
11
|
+
{
|
12
|
+
protected:
|
13
|
+
noncopyable() { }
|
14
|
+
~noncopyable() { }
|
15
|
+
|
16
|
+
private:
|
17
|
+
// These are non-implemented.
|
18
|
+
noncopyable(const noncopyable &);
|
19
|
+
noncopyable &operator=(const noncopyable &);
|
20
|
+
};
|
21
|
+
|
22
|
+
|
23
|
+
class exception: public std::exception
|
24
|
+
{
|
25
|
+
public:
|
26
|
+
exception( int x);
|
27
|
+
const char* what() const throw();
|
28
|
+
int get_code();
|
29
|
+
protected:
|
30
|
+
int retcode;
|
31
|
+
};
|
32
|
+
|
33
|
+
|
34
|
+
class dh_params : private noncopyable
|
35
|
+
{
|
36
|
+
public:
|
37
|
+
dh_params();
|
38
|
+
~dh_params();
|
39
|
+
void import_raw( const gnutls_datum_t & prime,
|
40
|
+
const gnutls_datum_t & generator);
|
41
|
+
void import_pkcs3( const gnutls_datum_t & pkcs3_params,
|
42
|
+
gnutls_x509_crt_fmt_t format);
|
43
|
+
void generate( unsigned int bits);
|
44
|
+
|
45
|
+
void export_pkcs3( gnutls_x509_crt_fmt_t format, unsigned char *params_data, size_t * params_data_size);
|
46
|
+
void export_raw( gnutls_datum_t& prime, gnutls_datum_t &generator);
|
47
|
+
|
48
|
+
gnutls_dh_params_t get_params_t() const;
|
49
|
+
dh_params & operator=(const dh_params& src);
|
50
|
+
protected:
|
51
|
+
gnutls_dh_params_t params;
|
52
|
+
};
|
53
|
+
|
54
|
+
|
55
|
+
class rsa_params : private noncopyable
|
56
|
+
{
|
57
|
+
public:
|
58
|
+
rsa_params();
|
59
|
+
~rsa_params();
|
60
|
+
void import_raw( const gnutls_datum_t & m,
|
61
|
+
const gnutls_datum_t & e,
|
62
|
+
const gnutls_datum_t & d,
|
63
|
+
const gnutls_datum_t & p,
|
64
|
+
const gnutls_datum_t & q,
|
65
|
+
const gnutls_datum_t & u);
|
66
|
+
void import_pkcs1( const gnutls_datum_t & pkcs1_params,
|
67
|
+
gnutls_x509_crt_fmt_t format);
|
68
|
+
void generate( unsigned int bits);
|
69
|
+
|
70
|
+
void export_pkcs1( gnutls_x509_crt_fmt_t format, unsigned char *params_data, size_t * params_data_size);
|
71
|
+
void export_raw( gnutls_datum_t & m, gnutls_datum_t & e,
|
72
|
+
gnutls_datum_t & d, gnutls_datum_t & p,
|
73
|
+
gnutls_datum_t & q, gnutls_datum_t & u);
|
74
|
+
gnutls_rsa_params_t get_params_t() const;
|
75
|
+
rsa_params & operator=(const rsa_params& src);
|
76
|
+
|
77
|
+
protected:
|
78
|
+
gnutls_rsa_params_t params;
|
79
|
+
};
|
80
|
+
|
81
|
+
class session : private noncopyable
|
82
|
+
{
|
83
|
+
protected:
|
84
|
+
gnutls_session_t s;
|
85
|
+
public:
|
86
|
+
session( gnutls_connection_end_t);
|
87
|
+
virtual ~session();
|
88
|
+
|
89
|
+
int bye( gnutls_close_request_t how);
|
90
|
+
int handshake ();
|
91
|
+
|
92
|
+
gnutls_alert_description_t get_alert() const;
|
93
|
+
|
94
|
+
int send_alert ( gnutls_alert_level_t level,
|
95
|
+
gnutls_alert_description_t desc);
|
96
|
+
int send_appropriate_alert (int err);
|
97
|
+
|
98
|
+
gnutls_cipher_algorithm_t get_cipher() const;
|
99
|
+
gnutls_kx_algorithm_t get_kx () const;
|
100
|
+
gnutls_mac_algorithm_t get_mac () const;
|
101
|
+
gnutls_compression_method_t get_compression () const;
|
102
|
+
gnutls_certificate_type_t get_certificate_type() const;
|
103
|
+
|
104
|
+
// for the handshake
|
105
|
+
void set_private_extensions ( bool allow);
|
106
|
+
|
107
|
+
gnutls_handshake_description_t get_handshake_last_out() const;
|
108
|
+
gnutls_handshake_description_t get_handshake_last_in() const;
|
109
|
+
|
110
|
+
ssize_t send (const void *data, size_t sizeofdata);
|
111
|
+
ssize_t recv (void *data, size_t sizeofdata);
|
112
|
+
|
113
|
+
bool get_record_direction() const;
|
114
|
+
|
115
|
+
// maximum packet size
|
116
|
+
size_t get_max_size() const;
|
117
|
+
void set_max_size(size_t size);
|
118
|
+
|
119
|
+
size_t check_pending() const;
|
120
|
+
|
121
|
+
void prf (size_t label_size, const char *label,
|
122
|
+
int server_random_first,
|
123
|
+
size_t extra_size, const char *extra,
|
124
|
+
size_t outsize, char *out);
|
125
|
+
|
126
|
+
void prf_raw ( size_t label_size, const char *label,
|
127
|
+
size_t seed_size, const char *seed,
|
128
|
+
size_t outsize, char *out);
|
129
|
+
|
130
|
+
void set_cipher_priority (const int *list);
|
131
|
+
void set_mac_priority (const int *list);
|
132
|
+
void set_compression_priority (const int *list);
|
133
|
+
void set_kx_priority (const int *list);
|
134
|
+
void set_protocol_priority (const int *list);
|
135
|
+
void set_certificate_type_priority (const int *list);
|
136
|
+
|
137
|
+
/* if you just want some defaults, use the following.
|
138
|
+
*/
|
139
|
+
void set_priority (const char* prio, const char** err_pos);
|
140
|
+
void set_priority (gnutls_priority_t p);
|
141
|
+
|
142
|
+
gnutls_protocol_t get_protocol_version() const;
|
143
|
+
|
144
|
+
// for resuming sessions
|
145
|
+
void set_data ( const void *session_data,
|
146
|
+
size_t session_data_size);
|
147
|
+
void get_data (void *session_data,
|
148
|
+
size_t * session_data_size) const;
|
149
|
+
void get_data(gnutls_session_t session,
|
150
|
+
gnutls_datum_t & data) const;
|
151
|
+
void get_id ( void *session_id,
|
152
|
+
size_t * session_id_size) const;
|
153
|
+
|
154
|
+
bool is_resumed () const;
|
155
|
+
|
156
|
+
void set_max_handshake_packet_length ( size_t max);
|
157
|
+
|
158
|
+
void clear_credentials();
|
159
|
+
void set_credentials( class credentials & cred);
|
160
|
+
|
161
|
+
void set_transport_ptr( gnutls_transport_ptr_t ptr);
|
162
|
+
void set_transport_ptr( gnutls_transport_ptr_t recv_ptr, gnutls_transport_ptr_t send_ptr);
|
163
|
+
gnutls_transport_ptr_t get_transport_ptr() const;
|
164
|
+
void get_transport_ptr(gnutls_transport_ptr_t & recv_ptr,
|
165
|
+
gnutls_transport_ptr_t & send_ptr) const;
|
166
|
+
|
167
|
+
void set_transport_lowat (size_t num);
|
168
|
+
void set_transport_push_function( gnutls_push_func push_func);
|
169
|
+
void set_transport_pull_function( gnutls_pull_func pull_func);
|
170
|
+
|
171
|
+
void set_user_ptr( void* ptr);
|
172
|
+
void *get_user_ptr() const;
|
173
|
+
|
174
|
+
void send_openpgp_cert( gnutls_openpgp_crt_status_t status);
|
175
|
+
|
176
|
+
gnutls_credentials_type_t get_auth_type() const;
|
177
|
+
gnutls_credentials_type_t get_server_auth_type() const;
|
178
|
+
gnutls_credentials_type_t get_client_auth_type() const;
|
179
|
+
|
180
|
+
// informational stuff
|
181
|
+
void set_dh_prime_bits( unsigned int bits);
|
182
|
+
unsigned int get_dh_secret_bits() const;
|
183
|
+
unsigned int get_dh_peers_public_bits() const;
|
184
|
+
unsigned int get_dh_prime_bits() const;
|
185
|
+
void get_dh_group( gnutls_datum_t & gen, gnutls_datum_t & prime) const;
|
186
|
+
void get_dh_pubkey( gnutls_datum_t & raw_key) const;
|
187
|
+
void get_rsa_export_pubkey( gnutls_datum_t& exponent, gnutls_datum_t& modulus) const;
|
188
|
+
unsigned int get_rsa_export_modulus_bits() const;
|
189
|
+
|
190
|
+
void get_our_certificate(gnutls_datum_t & cert) const;
|
191
|
+
bool get_peers_certificate(std::vector<gnutls_datum_t> &out_certs) const;
|
192
|
+
bool get_peers_certificate(const gnutls_datum_t** certs, unsigned int *certs_size) const;
|
193
|
+
|
194
|
+
time_t get_peers_certificate_activation_time() const;
|
195
|
+
time_t get_peers_certificate_expiration_time() const;
|
196
|
+
void verify_peers_certificate( unsigned int& status) const;
|
197
|
+
|
198
|
+
};
|
199
|
+
|
200
|
+
// interface for databases
|
201
|
+
class DB : private noncopyable
|
202
|
+
{
|
203
|
+
public:
|
204
|
+
virtual ~DB()=0;
|
205
|
+
virtual bool store( const gnutls_datum_t& key, const gnutls_datum_t& data)=0;
|
206
|
+
virtual bool retrieve( const gnutls_datum_t& key, gnutls_datum_t& data)=0;
|
207
|
+
virtual bool remove( const gnutls_datum_t& key)=0;
|
208
|
+
};
|
209
|
+
|
210
|
+
class server_session: public session
|
211
|
+
{
|
212
|
+
public:
|
213
|
+
server_session();
|
214
|
+
~server_session();
|
215
|
+
void db_remove() const;
|
216
|
+
|
217
|
+
void set_db_cache_expiration (unsigned int seconds);
|
218
|
+
void set_db( const DB& db);
|
219
|
+
|
220
|
+
// returns true if session is expired
|
221
|
+
bool db_check_entry ( gnutls_datum_t &session_data) const;
|
222
|
+
|
223
|
+
// server side only
|
224
|
+
const char *get_srp_username() const;
|
225
|
+
const char *get_psk_username() const;
|
226
|
+
|
227
|
+
void get_server_name (void *data, size_t * data_length,
|
228
|
+
unsigned int *type, unsigned int indx) const;
|
229
|
+
|
230
|
+
int rehandshake();
|
231
|
+
void set_certificate_request( gnutls_certificate_request_t);
|
232
|
+
};
|
233
|
+
|
234
|
+
class client_session: public session
|
235
|
+
{
|
236
|
+
public:
|
237
|
+
client_session();
|
238
|
+
~client_session();
|
239
|
+
|
240
|
+
void set_server_name (gnutls_server_name_type_t type,
|
241
|
+
const void *name, size_t name_length);
|
242
|
+
|
243
|
+
bool get_request_status();
|
244
|
+
};
|
245
|
+
|
246
|
+
|
247
|
+
class credentials : private noncopyable
|
248
|
+
{
|
249
|
+
public:
|
250
|
+
virtual ~credentials() { }
|
251
|
+
gnutls_credentials_type_t get_type() const;
|
252
|
+
protected:
|
253
|
+
friend class session;
|
254
|
+
credentials(gnutls_credentials_type_t t);
|
255
|
+
void* ptr() const;
|
256
|
+
void set_ptr(void* ptr);
|
257
|
+
gnutls_credentials_type_t type;
|
258
|
+
private:
|
259
|
+
void *cred;
|
260
|
+
};
|
261
|
+
|
262
|
+
class certificate_credentials: public credentials
|
263
|
+
{
|
264
|
+
public:
|
265
|
+
~certificate_credentials();
|
266
|
+
certificate_credentials();
|
267
|
+
|
268
|
+
void free_keys ();
|
269
|
+
void free_cas ();
|
270
|
+
void free_ca_names ();
|
271
|
+
void free_crls ();
|
272
|
+
|
273
|
+
void set_dh_params ( const dh_params ¶ms);
|
274
|
+
void set_rsa_export_params ( const rsa_params& params);
|
275
|
+
void set_verify_flags ( unsigned int flags);
|
276
|
+
void set_verify_limits ( unsigned int max_bits, unsigned int max_depth);
|
277
|
+
|
278
|
+
void set_x509_trust_file(const char *cafile, gnutls_x509_crt_fmt_t type);
|
279
|
+
void set_x509_trust(const gnutls_datum_t & CA, gnutls_x509_crt_fmt_t type);
|
280
|
+
// FIXME: use classes instead of gnutls_x509_crt_t
|
281
|
+
void set_x509_trust ( gnutls_x509_crt_t * ca_list, int ca_list_size);
|
282
|
+
|
283
|
+
void set_x509_crl_file( const char *crlfile, gnutls_x509_crt_fmt_t type);
|
284
|
+
void set_x509_crl(const gnutls_datum_t & CRL, gnutls_x509_crt_fmt_t type);
|
285
|
+
void set_x509_crl ( gnutls_x509_crl_t * crl_list, int crl_list_size);
|
286
|
+
|
287
|
+
void set_x509_key_file(const char *certfile, const char *KEYFILE, gnutls_x509_crt_fmt_t type);
|
288
|
+
void set_x509_key(const gnutls_datum_t & CERT, const gnutls_datum_t & KEY, gnutls_x509_crt_fmt_t type);
|
289
|
+
// FIXME: use classes
|
290
|
+
void set_x509_key ( gnutls_x509_crt_t * cert_list, int cert_list_size,
|
291
|
+
gnutls_x509_privkey_t key);
|
292
|
+
|
293
|
+
|
294
|
+
void set_simple_pkcs12_file( const char *pkcs12file,
|
295
|
+
gnutls_x509_crt_fmt_t type, const char *password);
|
296
|
+
|
297
|
+
protected:
|
298
|
+
gnutls_certificate_credentials_t cred;
|
299
|
+
};
|
300
|
+
|
301
|
+
class certificate_server_credentials: public certificate_credentials
|
302
|
+
{
|
303
|
+
public:
|
304
|
+
void set_retrieve_function( gnutls_certificate_server_retrieve_function* func);
|
305
|
+
void set_params_function( gnutls_params_function* func);
|
306
|
+
};
|
307
|
+
|
308
|
+
class certificate_client_credentials: public certificate_credentials
|
309
|
+
{
|
310
|
+
public:
|
311
|
+
void set_retrieve_function( gnutls_certificate_client_retrieve_function* func);
|
312
|
+
};
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
class anon_server_credentials: public credentials
|
318
|
+
{
|
319
|
+
public:
|
320
|
+
anon_server_credentials();
|
321
|
+
~anon_server_credentials();
|
322
|
+
void set_dh_params ( const dh_params ¶ms);
|
323
|
+
void set_params_function ( gnutls_params_function * func);
|
324
|
+
protected:
|
325
|
+
gnutls_anon_server_credentials_t cred;
|
326
|
+
};
|
327
|
+
|
328
|
+
class anon_client_credentials: public credentials
|
329
|
+
{
|
330
|
+
public:
|
331
|
+
anon_client_credentials();
|
332
|
+
~anon_client_credentials();
|
333
|
+
protected:
|
334
|
+
gnutls_anon_client_credentials_t cred;
|
335
|
+
};
|
336
|
+
|
337
|
+
|
338
|
+
class srp_server_credentials: public credentials
|
339
|
+
{
|
340
|
+
public:
|
341
|
+
srp_server_credentials();
|
342
|
+
~srp_server_credentials();
|
343
|
+
void set_credentials_file (const char *password_file, const char *password_conf_file);
|
344
|
+
void set_credentials_function( gnutls_srp_server_credentials_function *func);
|
345
|
+
protected:
|
346
|
+
gnutls_srp_server_credentials_t cred;
|
347
|
+
};
|
348
|
+
|
349
|
+
class srp_client_credentials: public credentials
|
350
|
+
{
|
351
|
+
public:
|
352
|
+
srp_client_credentials();
|
353
|
+
~srp_client_credentials();
|
354
|
+
void set_credentials (const char *username, const char *password);
|
355
|
+
void set_credentials_function( gnutls_srp_client_credentials_function* func);
|
356
|
+
protected:
|
357
|
+
gnutls_srp_client_credentials_t cred;
|
358
|
+
};
|
359
|
+
|
360
|
+
|
361
|
+
class psk_server_credentials: public credentials
|
362
|
+
{
|
363
|
+
public:
|
364
|
+
psk_server_credentials();
|
365
|
+
~psk_server_credentials();
|
366
|
+
void set_credentials_file(const char* password_file);
|
367
|
+
void set_credentials_function( gnutls_psk_server_credentials_function* func);
|
368
|
+
void set_dh_params ( const dh_params ¶ms);
|
369
|
+
void set_params_function (gnutls_params_function * func);
|
370
|
+
protected:
|
371
|
+
gnutls_psk_server_credentials_t cred;
|
372
|
+
};
|
373
|
+
|
374
|
+
class psk_client_credentials: public credentials
|
375
|
+
{
|
376
|
+
public:
|
377
|
+
psk_client_credentials();
|
378
|
+
~psk_client_credentials();
|
379
|
+
void set_credentials (const char *username, const gnutls_datum_t& key, gnutls_psk_key_flags flags);
|
380
|
+
void set_credentials_function( gnutls_psk_client_credentials_function* func);
|
381
|
+
protected:
|
382
|
+
gnutls_psk_client_credentials_t cred;
|
383
|
+
};
|
384
|
+
|
385
|
+
|
386
|
+
} /* namespace */
|
387
|
+
|
388
|
+
#endif /* GNUTLSXX_H */
|
@@ -0,0 +1,283 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
|
3
|
+
*
|
4
|
+
* Author: Nikos Mavrogiannopoulos
|
5
|
+
*
|
6
|
+
* This file is part of GNUTLS.
|
7
|
+
*
|
8
|
+
* The GNUTLS library is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public License
|
10
|
+
* as published by the Free Software Foundation; either version 2.1 of
|
11
|
+
* the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* This library is distributed in the hope that it will be useful, but
|
14
|
+
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library; if not, write to the Free Software
|
20
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
21
|
+
* USA
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
|
25
|
+
/* This file contains the types and prototypes for the OpenPGP
|
26
|
+
* key and private key parsing functions.
|
27
|
+
*/
|
28
|
+
|
29
|
+
#ifndef GNUTLS_OPENPGP_H
|
30
|
+
# define GNUTLS_OPENPGP_H
|
31
|
+
|
32
|
+
#ifdef __cplusplus
|
33
|
+
extern "C"
|
34
|
+
{
|
35
|
+
#endif
|
36
|
+
|
37
|
+
#include <gnutls/gnutls.h>
|
38
|
+
|
39
|
+
/* Openpgp certificate stuff
|
40
|
+
*/
|
41
|
+
|
42
|
+
typedef enum gnutls_openpgp_crt_fmt
|
43
|
+
{ GNUTLS_OPENPGP_FMT_RAW,
|
44
|
+
GNUTLS_OPENPGP_FMT_BASE64
|
45
|
+
} gnutls_openpgp_crt_fmt_t;
|
46
|
+
|
47
|
+
typedef unsigned char gnutls_openpgp_keyid_t[8];
|
48
|
+
|
49
|
+
/* gnutls_openpgp_cert_t should be defined in gnutls.h
|
50
|
+
*/
|
51
|
+
|
52
|
+
/* initializes the memory for gnutls_openpgp_crt_t struct */
|
53
|
+
int gnutls_openpgp_crt_init (gnutls_openpgp_crt_t * key);
|
54
|
+
/* frees all memory */
|
55
|
+
void gnutls_openpgp_crt_deinit (gnutls_openpgp_crt_t key);
|
56
|
+
|
57
|
+
int gnutls_openpgp_crt_import (gnutls_openpgp_crt_t key,
|
58
|
+
const gnutls_datum_t * data,
|
59
|
+
gnutls_openpgp_crt_fmt_t format);
|
60
|
+
int gnutls_openpgp_crt_export (gnutls_openpgp_crt_t key,
|
61
|
+
gnutls_openpgp_crt_fmt_t format,
|
62
|
+
void *output_data,
|
63
|
+
size_t * output_data_size);
|
64
|
+
|
65
|
+
int gnutls_openpgp_crt_print (gnutls_openpgp_crt_t cert,
|
66
|
+
gnutls_certificate_print_formats_t format,
|
67
|
+
gnutls_datum_t *out);
|
68
|
+
|
69
|
+
/* The key_usage flags are defined in gnutls.h. They are
|
70
|
+
* the GNUTLS_KEY_* definitions.
|
71
|
+
*/
|
72
|
+
int gnutls_openpgp_crt_get_key_usage (gnutls_openpgp_crt_t cert,
|
73
|
+
unsigned int *key_usage);
|
74
|
+
int gnutls_openpgp_crt_get_fingerprint (gnutls_openpgp_crt_t key, void *fpr,
|
75
|
+
size_t * fprlen);
|
76
|
+
int gnutls_openpgp_crt_get_subkey_fingerprint (gnutls_openpgp_crt_t key,
|
77
|
+
unsigned int idx,
|
78
|
+
void *fpr, size_t * fprlen);
|
79
|
+
|
80
|
+
int gnutls_openpgp_crt_get_name (gnutls_openpgp_crt_t key,
|
81
|
+
int idx, char *buf, size_t * sizeof_buf);
|
82
|
+
|
83
|
+
gnutls_pk_algorithm_t
|
84
|
+
gnutls_openpgp_crt_get_pk_algorithm (gnutls_openpgp_crt_t key,
|
85
|
+
unsigned int *bits);
|
86
|
+
|
87
|
+
int gnutls_openpgp_crt_get_version (gnutls_openpgp_crt_t key);
|
88
|
+
|
89
|
+
time_t gnutls_openpgp_crt_get_creation_time (gnutls_openpgp_crt_t key);
|
90
|
+
time_t gnutls_openpgp_crt_get_expiration_time (gnutls_openpgp_crt_t key);
|
91
|
+
|
92
|
+
int gnutls_openpgp_crt_get_key_id (gnutls_openpgp_crt_t key,
|
93
|
+
gnutls_openpgp_keyid_t keyid);
|
94
|
+
|
95
|
+
int gnutls_openpgp_crt_check_hostname (gnutls_openpgp_crt_t key,
|
96
|
+
const char *hostname);
|
97
|
+
|
98
|
+
int gnutls_openpgp_crt_get_revoked_status (gnutls_openpgp_crt_t key);
|
99
|
+
|
100
|
+
int gnutls_openpgp_crt_get_subkey_count (gnutls_openpgp_crt_t key);
|
101
|
+
int gnutls_openpgp_crt_get_subkey_idx (gnutls_openpgp_crt_t key, const gnutls_openpgp_keyid_t keyid);
|
102
|
+
int gnutls_openpgp_crt_get_subkey_revoked_status (gnutls_openpgp_crt_t key, unsigned int idx);
|
103
|
+
gnutls_pk_algorithm_t gnutls_openpgp_crt_get_subkey_pk_algorithm (gnutls_openpgp_crt_t key,
|
104
|
+
unsigned int idx, unsigned int *bits);
|
105
|
+
time_t gnutls_openpgp_crt_get_subkey_creation_time (gnutls_openpgp_crt_t key, unsigned int idx);
|
106
|
+
time_t gnutls_openpgp_crt_get_subkey_expiration_time (gnutls_openpgp_crt_t key, unsigned int idx);
|
107
|
+
int gnutls_openpgp_crt_get_subkey_id (gnutls_openpgp_crt_t key, unsigned int idx, gnutls_openpgp_keyid_t keyid);
|
108
|
+
int gnutls_openpgp_crt_get_subkey_usage (gnutls_openpgp_crt_t key, unsigned int idx,
|
109
|
+
unsigned int *key_usage);
|
110
|
+
|
111
|
+
int gnutls_openpgp_crt_get_subkey_pk_dsa_raw (gnutls_openpgp_crt_t crt, unsigned int idx,
|
112
|
+
gnutls_datum_t * p, gnutls_datum_t * q,
|
113
|
+
gnutls_datum_t * g, gnutls_datum_t * y);
|
114
|
+
int gnutls_openpgp_crt_get_subkey_pk_rsa_raw (gnutls_openpgp_crt_t crt, unsigned int idx,
|
115
|
+
gnutls_datum_t * m, gnutls_datum_t * e);
|
116
|
+
int gnutls_openpgp_crt_get_pk_dsa_raw (gnutls_openpgp_crt_t crt,
|
117
|
+
gnutls_datum_t * p, gnutls_datum_t * q,
|
118
|
+
gnutls_datum_t * g, gnutls_datum_t * y);
|
119
|
+
int gnutls_openpgp_crt_get_pk_rsa_raw (gnutls_openpgp_crt_t crt,
|
120
|
+
gnutls_datum_t * m, gnutls_datum_t * e);
|
121
|
+
|
122
|
+
int gnutls_openpgp_crt_get_preferred_key_id (gnutls_openpgp_crt_t key, gnutls_openpgp_keyid_t keyid);
|
123
|
+
int gnutls_openpgp_crt_set_preferred_key_id (gnutls_openpgp_crt_t key, const gnutls_openpgp_keyid_t keyid);
|
124
|
+
|
125
|
+
/* privkey stuff.
|
126
|
+
*/
|
127
|
+
int gnutls_openpgp_privkey_init (gnutls_openpgp_privkey_t * key);
|
128
|
+
void gnutls_openpgp_privkey_deinit (gnutls_openpgp_privkey_t key);
|
129
|
+
gnutls_pk_algorithm_t
|
130
|
+
gnutls_openpgp_privkey_get_pk_algorithm (gnutls_openpgp_privkey_t key,
|
131
|
+
unsigned int *bits);
|
132
|
+
int gnutls_openpgp_privkey_import (gnutls_openpgp_privkey_t key,
|
133
|
+
const gnutls_datum_t * data,
|
134
|
+
gnutls_openpgp_crt_fmt_t format,
|
135
|
+
const char *pass, unsigned int flags);
|
136
|
+
int gnutls_openpgp_privkey_sign_hash (gnutls_openpgp_privkey_t key,
|
137
|
+
const gnutls_datum_t * hash,
|
138
|
+
gnutls_datum_t * signature);
|
139
|
+
int gnutls_openpgp_privkey_get_fingerprint (gnutls_openpgp_privkey_t key,
|
140
|
+
void *fpr, size_t * fprlen);
|
141
|
+
int
|
142
|
+
gnutls_openpgp_privkey_get_subkey_fingerprint (gnutls_openpgp_privkey_t key,
|
143
|
+
unsigned int idx,
|
144
|
+
void *fpr, size_t * fprlen);
|
145
|
+
int gnutls_openpgp_privkey_get_key_id (gnutls_openpgp_privkey_t key, gnutls_openpgp_keyid_t keyid);
|
146
|
+
int gnutls_openpgp_privkey_get_subkey_count (gnutls_openpgp_privkey_t key);
|
147
|
+
int gnutls_openpgp_privkey_get_subkey_idx (gnutls_openpgp_privkey_t key, const gnutls_openpgp_keyid_t keyid);
|
148
|
+
|
149
|
+
int gnutls_openpgp_privkey_get_subkey_revoked_status (gnutls_openpgp_privkey_t key, unsigned int idx);
|
150
|
+
|
151
|
+
int gnutls_openpgp_privkey_get_revoked_status (gnutls_openpgp_privkey_t key);
|
152
|
+
|
153
|
+
gnutls_pk_algorithm_t gnutls_openpgp_privkey_get_subkey_pk_algorithm (gnutls_openpgp_privkey_t key,
|
154
|
+
unsigned int idx, unsigned int *bits);
|
155
|
+
|
156
|
+
time_t gnutls_openpgp_privkey_get_subkey_expiration_time (gnutls_openpgp_privkey_t key, unsigned int idx);
|
157
|
+
|
158
|
+
int gnutls_openpgp_privkey_get_subkey_id (gnutls_openpgp_privkey_t key, unsigned int idx, gnutls_openpgp_keyid_t keyid);
|
159
|
+
|
160
|
+
time_t gnutls_openpgp_privkey_get_subkey_creation_time (gnutls_openpgp_privkey_t key, unsigned int idx);
|
161
|
+
|
162
|
+
int gnutls_openpgp_privkey_export_subkey_dsa_raw (gnutls_openpgp_privkey_t crt, unsigned int idx,
|
163
|
+
gnutls_datum_t * p, gnutls_datum_t * q,
|
164
|
+
gnutls_datum_t * g, gnutls_datum_t * y,
|
165
|
+
gnutls_datum_t * x);
|
166
|
+
int gnutls_openpgp_privkey_export_subkey_rsa_raw (gnutls_openpgp_privkey_t crt, unsigned int idx,
|
167
|
+
gnutls_datum_t * m, gnutls_datum_t * e,
|
168
|
+
gnutls_datum_t * d, gnutls_datum_t * p,
|
169
|
+
gnutls_datum_t * q, gnutls_datum_t * u);
|
170
|
+
|
171
|
+
int gnutls_openpgp_privkey_export_dsa_raw (gnutls_openpgp_privkey_t crt,
|
172
|
+
gnutls_datum_t * p, gnutls_datum_t * q,
|
173
|
+
gnutls_datum_t * g, gnutls_datum_t * y,
|
174
|
+
gnutls_datum_t * x);
|
175
|
+
int gnutls_openpgp_privkey_export_rsa_raw (gnutls_openpgp_privkey_t crt,
|
176
|
+
gnutls_datum_t * m, gnutls_datum_t * e,
|
177
|
+
gnutls_datum_t * d, gnutls_datum_t * p,
|
178
|
+
gnutls_datum_t * q, gnutls_datum_t * u);
|
179
|
+
|
180
|
+
int gnutls_openpgp_privkey_export (gnutls_openpgp_privkey_t key,
|
181
|
+
gnutls_openpgp_crt_fmt_t format,
|
182
|
+
const char* password, unsigned int flags,
|
183
|
+
void *output_data, size_t * output_data_size);
|
184
|
+
|
185
|
+
int gnutls_openpgp_privkey_set_preferred_key_id (gnutls_openpgp_privkey_t key, const gnutls_openpgp_keyid_t keyid);
|
186
|
+
int gnutls_openpgp_privkey_get_preferred_key_id (gnutls_openpgp_privkey_t key, gnutls_openpgp_keyid_t keyid);
|
187
|
+
|
188
|
+
int gnutls_openpgp_crt_get_auth_subkey( gnutls_openpgp_crt_t crt, gnutls_openpgp_keyid_t keyid, unsigned int flag);
|
189
|
+
|
190
|
+
/* Keyring stuff.
|
191
|
+
*/
|
192
|
+
|
193
|
+
int gnutls_openpgp_keyring_init (gnutls_openpgp_keyring_t * keyring);
|
194
|
+
void gnutls_openpgp_keyring_deinit (gnutls_openpgp_keyring_t keyring);
|
195
|
+
|
196
|
+
int gnutls_openpgp_keyring_import (gnutls_openpgp_keyring_t keyring,
|
197
|
+
const gnutls_datum_t * data,
|
198
|
+
gnutls_openpgp_crt_fmt_t format);
|
199
|
+
|
200
|
+
int gnutls_openpgp_keyring_check_id (gnutls_openpgp_keyring_t ring,
|
201
|
+
const gnutls_openpgp_keyid_t keyid,
|
202
|
+
unsigned int flags);
|
203
|
+
|
204
|
+
|
205
|
+
int gnutls_openpgp_crt_verify_ring (gnutls_openpgp_crt_t key,
|
206
|
+
gnutls_openpgp_keyring_t keyring,
|
207
|
+
unsigned int flags, unsigned int *verify
|
208
|
+
/* the output of the verification */ );
|
209
|
+
|
210
|
+
int gnutls_openpgp_crt_verify_self (gnutls_openpgp_crt_t key,
|
211
|
+
unsigned int flags,
|
212
|
+
unsigned int *verify);
|
213
|
+
|
214
|
+
int gnutls_openpgp_keyring_get_crt (gnutls_openpgp_keyring_t ring, unsigned int idx,
|
215
|
+
gnutls_openpgp_crt_t* cert);
|
216
|
+
|
217
|
+
int gnutls_openpgp_keyring_get_crt_count (gnutls_openpgp_keyring_t ring);
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
/**
|
222
|
+
* gnutls_openpgp_recv_key_func - Callback prototype to get OpenPGP keys
|
223
|
+
* @session: a TLS session
|
224
|
+
* @keyfpr: key fingerprint
|
225
|
+
* @keyfpr_length: length of key fingerprint
|
226
|
+
* @key: output key.
|
227
|
+
*
|
228
|
+
* A callback of this type is used to retrieve OpenPGP keys. Only
|
229
|
+
* useful on the server, and will only be used if the peer send a key
|
230
|
+
* fingerprint instead of a full key. See also
|
231
|
+
* gnutls_openpgp_set_recv_key_function().
|
232
|
+
*
|
233
|
+
*/
|
234
|
+
typedef int (*gnutls_openpgp_recv_key_func) (gnutls_session_t session,
|
235
|
+
const unsigned char *keyfpr,
|
236
|
+
unsigned int keyfpr_length,
|
237
|
+
gnutls_datum_t * key);
|
238
|
+
|
239
|
+
void gnutls_openpgp_set_recv_key_function (gnutls_session_t session,
|
240
|
+
gnutls_openpgp_recv_key_func
|
241
|
+
func);
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
/* certificate authentication stuff.
|
246
|
+
*/
|
247
|
+
int gnutls_certificate_set_openpgp_key (gnutls_certificate_credentials_t
|
248
|
+
res, gnutls_openpgp_crt_t key,
|
249
|
+
gnutls_openpgp_privkey_t pkey);
|
250
|
+
|
251
|
+
int
|
252
|
+
gnutls_certificate_set_openpgp_key_file (gnutls_certificate_credentials_t
|
253
|
+
res, const char *CERTFILE,
|
254
|
+
const char *KEYFILE, gnutls_openpgp_crt_fmt_t);
|
255
|
+
int gnutls_certificate_set_openpgp_key_mem (gnutls_certificate_credentials_t
|
256
|
+
res,
|
257
|
+
const gnutls_datum_t * CERT,
|
258
|
+
const gnutls_datum_t * KEY, gnutls_openpgp_crt_fmt_t);
|
259
|
+
|
260
|
+
int gnutls_certificate_set_openpgp_key_file2 (gnutls_certificate_credentials_t
|
261
|
+
res, const char *CERTFILE,
|
262
|
+
const char *KEYFILE, const char* keyid,
|
263
|
+
gnutls_openpgp_crt_fmt_t);
|
264
|
+
int gnutls_certificate_set_openpgp_key_mem2 (gnutls_certificate_credentials_t
|
265
|
+
res,
|
266
|
+
const gnutls_datum_t * CERT,
|
267
|
+
const gnutls_datum_t * KEY,
|
268
|
+
const char* keyid,
|
269
|
+
gnutls_openpgp_crt_fmt_t);
|
270
|
+
|
271
|
+
int
|
272
|
+
gnutls_certificate_set_openpgp_keyring_mem
|
273
|
+
(gnutls_certificate_credentials_t c, const unsigned char *data,
|
274
|
+
size_t dlen, gnutls_openpgp_crt_fmt_t);
|
275
|
+
|
276
|
+
int
|
277
|
+
gnutls_certificate_set_openpgp_keyring_file
|
278
|
+
(gnutls_certificate_credentials_t c, const char *file, gnutls_openpgp_crt_fmt_t);
|
279
|
+
|
280
|
+
#ifdef __cplusplus
|
281
|
+
}
|
282
|
+
#endif
|
283
|
+
#endif /* GNUTLS_OPENPGP_H */
|