gnutls

gnutls

Functions

const char * gnutls_pk_algorithm_get_name ()
#define GNUTLS_CURVE_TO_BITS()
#define GNUTLS_BITS_TO_CURVE()
#define GNUTLS_BITS_ARE_CURVE()
int gnutls_init ()
void gnutls_deinit ()
int gnutls_bye ()
int gnutls_handshake ()
int gnutls_reauth ()
void gnutls_handshake_set_timeout ()
int gnutls_rehandshake ()
int gnutls_session_key_update ()
gnutls_alert_description_t gnutls_alert_get ()
int gnutls_alert_send ()
int gnutls_alert_send_appropriate ()
const char * gnutls_alert_get_name ()
const char * gnutls_alert_get_strname ()
gnutls_sec_param_t gnutls_pk_bits_to_sec_param ()
const char * gnutls_sec_param_get_name ()
unsigned int gnutls_sec_param_to_pk_bits ()
unsigned int gnutls_sec_param_to_symmetric_bits ()
gnutls_group_t gnutls_group_get ()
gnutls_cipher_algorithm_t gnutls_cipher_get ()
gnutls_cipher_algorithm_t gnutls_early_cipher_get ()
gnutls_kx_algorithm_t gnutls_kx_get ()
gnutls_mac_algorithm_t gnutls_mac_get ()
gnutls_digest_algorithm_t gnutls_prf_hash_get ()
gnutls_digest_algorithm_t gnutls_early_prf_hash_get ()
gnutls_certificate_type_t gnutls_certificate_type_get ()
gnutls_certificate_type_t gnutls_certificate_type_get2 ()
int gnutls_sign_algorithm_get ()
int gnutls_sign_algorithm_get_client ()
int gnutls_sign_algorithm_get_requested ()
const char * gnutls_cipher_get_name ()
gnutls_digest_algorithm_t gnutls_oid_to_digest ()
int gnutls_ecc_curve_set_enabled ()
int gnutls_sign_set_secure ()
int gnutls_sign_set_secure_for_certs ()
int gnutls_digest_set_secure ()
int gnutls_protocol_set_enabled ()
int gnutls_error_is_fatal ()
void gnutls_perror ()
const char * gnutls_strerror ()
int gnutls_handshake_set_random ()
gnutls_handshake_description_t gnutls_handshake_get_last_out ()
gnutls_handshake_description_t gnutls_handshake_get_last_in ()
int gnutls_heartbeat_ping ()
int gnutls_heartbeat_pong ()
void gnutls_record_set_timeout ()
void gnutls_record_disable_padding ()
void gnutls_record_cork ()
int gnutls_record_uncork ()
size_t gnutls_record_discard_queued ()
int gnutls_record_get_state ()
int gnutls_record_set_state ()
int gnutls_range_split ()
ssize_t gnutls_record_send ()
ssize_t gnutls_record_send2 ()
ssize_t gnutls_record_send_range ()
ssize_t gnutls_record_send_file ()
ssize_t gnutls_record_recv ()
ssize_t gnutls_record_recv_packet ()
void gnutls_packet_get ()
void gnutls_packet_deinit ()
ssize_t gnutls_record_recv_seq ()
size_t gnutls_record_overhead_size ()
size_t gnutls_est_record_overhead_size ()
#define gnutls_record_set_max_empty_records()
unsigned gnutls_record_can_use_length_hiding ()
int gnutls_record_get_direction ()
size_t gnutls_record_get_max_size ()
ssize_t gnutls_record_set_max_size ()
ssize_t gnutls_record_set_max_recv_size ()
size_t gnutls_record_check_pending ()
size_t gnutls_record_check_corked ()
size_t gnutls_record_get_max_early_data_size ()
int gnutls_record_set_max_early_data_size ()
ssize_t gnutls_record_send_early_data ()
ssize_t gnutls_record_recv_early_data ()
void gnutls_session_force_valid ()
int gnutls_prf ()
int gnutls_prf_rfc5705 ()
int gnutls_prf_early ()
int gnutls_prf_raw ()
int gnutls_server_name_set ()
int gnutls_server_name_get ()
unsigned int gnutls_heartbeat_get_timeout ()
void gnutls_heartbeat_set_timeouts ()
void gnutls_heartbeat_enable ()
unsigned gnutls_heartbeat_allowed ()
unsigned gnutls_safe_renegotiation_status ()
unsigned gnutls_session_ext_master_secret_status ()
unsigned gnutls_session_etm_status ()
unsigned gnutls_session_get_flags ()
int gnutls_session_ticket_key_generate ()
int gnutls_session_ticket_enable_client ()
int gnutls_session_ticket_enable_server ()
int gnutls_session_ticket_send ()
int gnutls_srtp_set_profile ()
int gnutls_srtp_set_profile_direct ()
int gnutls_srtp_get_selected_profile ()
const char * gnutls_srtp_get_profile_name ()
int gnutls_srtp_get_profile_id ()
int gnutls_srtp_get_keys ()
int gnutls_srtp_set_mki ()
int gnutls_srtp_get_mki ()
gnutls_compression_method_t gnutls_compress_certificate_get_selected_method ()
int gnutls_compress_certificate_set_methods ()
int gnutls_alpn_get_selected_protocol ()
int gnutls_alpn_set_protocols ()
int gnutls_key_generate ()
int gnutls_priority_init ()
int gnutls_priority_init2 ()
void gnutls_priority_deinit ()
int gnutls_priority_get_cipher_suite_index ()
const char * gnutls_priority_string_list ()
int gnutls_priority_set ()
int gnutls_priority_set_direct ()
int gnutls_priority_certificate_type_list ()
int gnutls_priority_certificate_type_list2 ()
int gnutls_priority_sign_list ()
int gnutls_priority_protocol_list ()
int gnutls_priority_ecc_curve_list ()
int gnutls_priority_group_list ()
int gnutls_priority_kx_list ()
int gnutls_priority_cipher_list ()
int gnutls_priority_mac_list ()
const char * gnutls_get_system_config_file ()
int gnutls_set_default_priority ()
int gnutls_set_default_priority_append ()
const char * gnutls_cipher_suite_get_name ()
const char * gnutls_protocol_get_name ()
int gnutls_session_get_data ()
int gnutls_session_get_data2 ()
void gnutls_session_get_random ()
void gnutls_session_get_master_secret ()
char * gnutls_session_get_desc ()
void gnutls_session_set_verify_function ()
void gnutls_session_set_verify_cert ()
void gnutls_session_set_verify_cert2 ()
unsigned int gnutls_session_get_verify_cert_status ()
int gnutls_session_set_premaster ()
int gnutls_session_get_id ()
int gnutls_session_get_id2 ()
int gnutls_session_set_id ()
int gnutls_session_channel_binding ()
int gnutls_session_is_resumed ()
int gnutls_session_resumption_requested ()
int (*gnutls_db_store_func) ()
int (*gnutls_db_remove_func) ()
gnutls_datum_t (*gnutls_db_retr_func) ()
void gnutls_db_set_cache_expiration ()
unsigned gnutls_db_get_default_cache_expiration ()
void gnutls_db_remove_session ()
void gnutls_db_set_retrieve_function ()
void gnutls_db_set_remove_function ()
void gnutls_db_set_store_function ()
void gnutls_db_set_ptr ()
void * gnutls_db_get_ptr ()
int gnutls_db_check_entry ()
time_t gnutls_db_check_entry_time ()
time_t gnutls_db_check_entry_expire_time ()
int (*gnutls_handshake_hook_func) ()
void gnutls_handshake_set_hook_function ()
int (*gnutls_handshake_simple_hook_func) ()
void gnutls_handshake_set_post_client_hello_function ()
void gnutls_handshake_set_max_packet_length ()
const char * gnutls_check_version ()
int gnutls_credentials_set ()
int gnutls_credentials_get ()
void gnutls_anon_free_server_credentials ()
int gnutls_anon_allocate_server_credentials ()
void gnutls_anon_set_server_dh_params ()
int gnutls_anon_set_server_known_dh_params ()
void gnutls_anon_set_server_params_function ()
void gnutls_anon_free_client_credentials ()
int gnutls_anon_allocate_client_credentials ()
void gnutls_certificate_free_credentials ()
int gnutls_certificate_allocate_credentials ()
int gnutls_certificate_get_issuer ()
int gnutls_certificate_get_crt_raw ()
void gnutls_certificate_free_keys ()
void gnutls_certificate_free_cas ()
void gnutls_certificate_free_ca_names ()
void gnutls_certificate_free_crls ()
void gnutls_certificate_set_dh_params ()
int gnutls_certificate_set_known_dh_params ()
void gnutls_certificate_set_verify_flags ()
unsigned int gnutls_certificate_get_verify_flags ()
void gnutls_certificate_set_flags ()
void gnutls_certificate_set_verify_limits ()
int gnutls_certificate_set_x509_system_trust ()
int gnutls_certificate_set_x509_trust_file ()
int gnutls_certificate_set_x509_trust_dir ()
int gnutls_certificate_set_x509_trust_mem ()
int gnutls_certificate_set_x509_crl_file ()
int gnutls_certificate_set_x509_crl_mem ()
int gnutls_certificate_set_x509_key_file ()
int gnutls_certificate_set_x509_key_file2 ()
int gnutls_certificate_set_x509_key_mem ()
int gnutls_certificate_set_x509_key_mem2 ()
void gnutls_certificate_send_x509_rdn_sequence ()
int gnutls_certificate_set_x509_simple_pkcs12_file ()
int gnutls_certificate_set_x509_simple_pkcs12_mem ()
int gnutls_certificate_set_x509_key ()
int gnutls_certificate_set_x509_trust ()
int gnutls_certificate_set_x509_crl ()
int gnutls_certificate_get_x509_key ()
int gnutls_certificate_get_x509_crt ()
void gnutls_certificate_set_ocsp_status_request_function ()
int gnutls_certificate_set_ocsp_status_request_function2 ()
int gnutls_certificate_set_ocsp_status_request_file ()
int gnutls_certificate_set_ocsp_status_request_file2 ()
int gnutls_certificate_set_ocsp_status_request_mem ()
time_t gnutls_certificate_get_ocsp_expiration ()
int gnutls_ocsp_status_request_enable_client ()
int gnutls_ocsp_status_request_get ()
unsigned gnutls_ocsp_status_request_is_checked ()
int gnutls_ocsp_status_request_get2 ()
int gnutls_certificate_set_rawpk_key_mem ()
int gnutls_certificate_set_rawpk_key_file ()
int gnutls_global_init ()
void gnutls_global_deinit ()
const gnutls_library_config_st * gnutls_get_library_config ()
time_t (*gnutls_time_func) ()
int (*mutex_init_func) ()
int (*mutex_lock_func) ()
int (*mutex_unlock_func) ()
int (*mutex_deinit_func) ()
void gnutls_global_set_mutex ()
void * (*gnutls_alloc_function) ()
void * (*gnutls_calloc_function) ()
int (*gnutls_is_secure_function) ()
void (*gnutls_free_function) ()
void * (*gnutls_realloc_function) ()
void gnutls_global_set_time_function ()
#define gnutls_free()
void gnutls_memset ()
if gnutls_memcmp ()
void (*gnutls_log_func) ()
void (*gnutls_audit_log_func) ()
void gnutls_global_set_log_function ()
void gnutls_global_set_audit_log_function ()
void gnutls_global_set_log_level ()
int (*gnutls_keylog_func) ()
gnutls_keylog_func gnutls_session_get_keylog_function ()
void gnutls_session_set_keylog_function ()
int gnutls_dh_params_init ()
void gnutls_dh_params_deinit ()
int gnutls_dh_params_import_raw ()
int gnutls_dh_params_import_dsa ()
int gnutls_dh_params_import_raw2 ()
int gnutls_dh_params_import_raw3 ()
int gnutls_dh_params_import_pkcs3 ()
int gnutls_dh_params_generate2 ()
int gnutls_dh_params_export_pkcs3 ()
int gnutls_dh_params_export2_pkcs3 ()
int gnutls_dh_params_export_raw ()
int gnutls_dh_params_cpy ()
ssize_t (*gnutls_pull_func) ()
ssize_t (*gnutls_push_func) ()
int gnutls_system_recv_timeout ()
int (*gnutls_pull_timeout_func) ()
ssize_t (*gnutls_vec_push_func) ()
int (*gnutls_errno_func) ()
void gnutls_transport_set_int ()
void gnutls_transport_set_int2 ()
void gnutls_transport_get_int2 ()
int gnutls_transport_get_int ()
void gnutls_transport_set_ptr ()
void gnutls_transport_set_ptr2 ()
gnutls_transport_ptr_t gnutls_transport_get_ptr ()
void gnutls_transport_get_ptr2 ()
void gnutls_transport_set_vec_push_function ()
void gnutls_transport_set_push_function ()
void gnutls_transport_set_pull_function ()
void gnutls_transport_set_pull_timeout_function ()
void gnutls_transport_set_errno_function ()
void gnutls_transport_set_errno ()
void gnutls_session_set_ptr ()
void * gnutls_session_get_ptr ()
void gnutls_openpgp_send_cert ()
int gnutls_fingerprint ()
int gnutls_random_art ()
int gnutls_idna_map ()
int gnutls_idna_reverse_map ()
void gnutls_srp_free_client_credentials ()
int gnutls_srp_allocate_client_credentials ()
int gnutls_srp_set_client_credentials ()
void gnutls_srp_free_server_credentials ()
int gnutls_srp_allocate_server_credentials ()
int gnutls_srp_set_server_credentials_file ()
const char * gnutls_srp_server_get_username ()
void gnutls_srp_set_prime_bits ()
int gnutls_srp_verifier ()
void gnutls_srp_set_server_credentials_function ()
void gnutls_srp_set_client_credentials_function ()
int gnutls_srp_base64_encode ()
int gnutls_srp_base64_encode2 ()
int gnutls_srp_base64_decode ()
int gnutls_srp_base64_decode2 ()
void gnutls_srp_set_server_fake_salt_seed ()
void gnutls_psk_free_client_credentials ()
int gnutls_psk_allocate_client_credentials ()
int gnutls_psk_set_client_credentials ()
int gnutls_psk_set_client_credentials2 ()
void gnutls_psk_free_server_credentials ()
int gnutls_psk_allocate_server_credentials ()
int gnutls_psk_set_server_credentials_file ()
int gnutls_psk_set_server_credentials_hint ()
const char * gnutls_psk_server_get_username ()
int gnutls_psk_server_get_username2 ()
const char * gnutls_psk_client_get_hint ()
void gnutls_psk_set_server_credentials_function ()
void gnutls_psk_set_server_credentials_function2 ()
void gnutls_psk_set_client_credentials_function ()
void gnutls_psk_set_client_credentials_function2 ()
int gnutls_hex_encode ()
int gnutls_hex_decode ()
int gnutls_hex_encode2 ()
int gnutls_hex_decode2 ()
void gnutls_psk_set_server_dh_params ()
int gnutls_psk_set_server_known_dh_params ()
void gnutls_psk_set_server_params_function ()
void gnutls_dh_set_prime_bits ()
int gnutls_dh_get_secret_bits ()
int gnutls_dh_get_peers_public_bits ()
int gnutls_dh_get_prime_bits ()
int gnutls_dh_get_group ()
int gnutls_dh_get_pubkey ()
void gnutls_certificate_set_retrieve_function ()
void gnutls_certificate_set_verify_function ()
void gnutls_certificate_server_set_request ()
const gnutls_datum_t * gnutls_certificate_get_peers ()
const gnutls_datum_t * gnutls_certificate_get_ours ()
int gnutls_certificate_get_peers_subkey_id ()
time_t gnutls_certificate_activation_time_peers ()
time_t gnutls_certificate_expiration_time_peers ()
unsigned gnutls_certificate_client_get_request_status ()
int gnutls_certificate_verify_peers2 ()
int gnutls_certificate_verify_peers3 ()
int gnutls_certificate_verify_peers ()
int gnutls_certificate_verification_status_print ()
int gnutls_pem_base64_encode ()
int gnutls_pem_base64_decode ()
int gnutls_pem_base64_encode2 ()
int gnutls_pem_base64_decode2 ()
int gnutls_base64_encode2 ()
int gnutls_base64_decode2 ()
void gnutls_certificate_set_params_function ()
void gnutls_anon_set_params_function ()
void gnutls_psk_set_params_function ()
int gnutls_hex2bin ()
int (*gnutls_tdb_store_func) ()
int (*gnutls_tdb_store_commitment_func) ()
int (*gnutls_tdb_verify_func) ()
int gnutls_tdb_init ()
void gnutls_tdb_set_store_func ()
void gnutls_tdb_set_store_commitment_func ()
void gnutls_tdb_set_verify_func ()
void gnutls_tdb_deinit ()
int gnutls_verify_stored_pubkey ()
int gnutls_store_commitment ()
int gnutls_store_pubkey ()
int gnutls_load_file ()
unsigned gnutls_url_is_supported ()
int (*gnutls_pin_callback_t) ()
void gnutls_certificate_set_pin_function ()
int gnutls_buffer_append_data ()
int gnutls_utf8_password_normalize ()
void gnutls_ext_set_data ()
int gnutls_ext_get_data ()
unsigned gnutls_ext_get_current_msg ()
int (*gnutls_ext_recv_func) ()
int (*gnutls_ext_send_func) ()
void (*gnutls_ext_deinit_data_func) ()
int (*gnutls_ext_pack_func) ()
int (*gnutls_ext_unpack_func) ()
int (*gnutls_ext_raw_process_func) ()
int gnutls_ext_raw_parse ()
int gnutls_ext_register ()
int gnutls_session_ext_register ()
const char * gnutls_ext_get_name ()
const char * gnutls_ext_get_name2 ()
int (*gnutls_supp_recv_func) ()
int (*gnutls_supp_send_func) ()
int gnutls_supplemental_register ()
int gnutls_session_supplemental_register ()
void gnutls_supplemental_recv ()
void gnutls_supplemental_send ()
int gnutls_anti_replay_init ()
void gnutls_anti_replay_deinit ()
void gnutls_anti_replay_set_window ()
void gnutls_anti_replay_enable ()
int (*gnutls_db_add_func) ()
void gnutls_anti_replay_set_add_function ()
void gnutls_anti_replay_set_ptr ()
int (*gnutls_handshake_read_func) ()
void gnutls_handshake_set_read_function ()
int gnutls_handshake_write ()
int (*gnutls_handshake_secret_func) ()
void gnutls_handshake_set_secret_function ()
int (*gnutls_alert_read_func) ()
void gnutls_alert_set_read_function ()
unsigned gnutls_fips140_mode_enabled ()
void gnutls_fips140_set_mode ()
#define GNUTLS_FIPS140_SET_LAX_MODE
#define GNUTLS_FIPS140_SET_STRICT_MODE
int gnutls_fips140_context_init ()
void gnutls_fips140_context_deinit ()
gnutls_fips140_operation_state_t gnutls_fips140_get_operation_state ()
int gnutls_fips140_push_context ()
int gnutls_fips140_pop_context ()
int gnutls_fips140_run_self_tests ()

Types and Values

#define GNUTLS_VERSION
#define GNUTLS_VERSION_MAJOR
#define GNUTLS_VERSION_MINOR
#define GNUTLS_VERSION_PATCH
#define GNUTLS_VERSION_NUMBER
#define GNUTLS_CIPHER_RIJNDAEL_128_CBC
#define GNUTLS_CIPHER_RIJNDAEL_256_CBC
#define GNUTLS_CIPHER_RIJNDAEL_CBC
#define GNUTLS_CIPHER_ARCFOUR
#define GNUTLS_SKIP_GLOBAL_INIT
enum gnutls_cipher_algorithm_t
enum gnutls_kx_algorithm_t
enum gnutls_params_type_t
enum gnutls_credentials_type_t
#define GNUTLS_MAC_SHA
#define GNUTLS_DIG_SHA
enum gnutls_mac_algorithm_t
enum gnutls_digest_algorithm_t
#define GNUTLS_MAX_ALGORITHM_NUM
#define GNUTLS_MAX_SESSION_ID_SIZE
enum gnutls_compression_method_t
enum gnutls_init_flags_t
#define GNUTLS_SERVER
#define GNUTLS_CLIENT
#define GNUTLS_DATAGRAM
#define GNUTLS_NONBLOCK
#define GNUTLS_NO_EXTENSIONS
#define GNUTLS_NO_REPLAY_PROTECTION
#define GNUTLS_NO_SIGNAL
#define GNUTLS_ALLOW_ID_CHANGE
#define GNUTLS_ENABLE_FALSE_START
#define GNUTLS_FORCE_CLIENT_CERT
#define GNUTLS_NO_TICKETS
#define GNUTLS_ENABLE_CERT_TYPE_NEG
enum gnutls_alert_level_t
enum gnutls_alert_description_t
enum gnutls_handshake_description_t
#define GNUTLS_HANDSHAKE_ANY
enum gnutls_certificate_status_t
enum gnutls_certificate_request_t
enum gnutls_openpgp_crt_status_t
enum gnutls_close_request_t
enum gnutls_protocol_t
#define GNUTLS_CRT_RAW
enum gnutls_certificate_type_t
enum gnutls_x509_crt_fmt_t
enum gnutls_certificate_print_formats_t
#define GNUTLS_PK_ECC
#define GNUTLS_PK_EC
#define GNUTLS_PK_ECDHX
enum gnutls_pk_algorithm_t
enum gnutls_sign_algorithm_t
enum gnutls_ecc_curve_t
enum gnutls_group_t
enum gnutls_sec_param_t
#define GNUTLS_SEC_PARAM_NORMAL
enum gnutls_channel_binding_t
enum gnutls_gost_paramset_t
enum gnutls_ctype_target_t
typedef gnutls_transport_ptr_t
typedef gnutls_session_t
typedef gnutls_dh_params_t
typedef gnutls_rsa_params_t
typedef gnutls_priority_t
  gnutls_datum_t
  gnutls_library_config_st
  gnutls_params_st
#define GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT
#define GNUTLS_INDEFINITE_TIMEOUT
#define GNUTLS_KU_PEER
#define GNUTLS_HEARTBEAT_WAIT
#define GNUTLS_RECORD_WAIT
  gnutls_range_st
typedef gnutls_packet_t
#define gnutls_read
#define gnutls_write
enum gnutls_server_name_type_t
#define GNUTLS_HB_PEER_ALLOWED_TO_SEND
#define GNUTLS_HB_PEER_NOT_ALLOWED_TO_SEND
#define GNUTLS_HB_LOCAL_ALLOWED_TO_SEND
enum gnutls_session_flags_t
enum gnutls_supplemental_data_format_type_t
enum gnutls_srtp_profile_t
enum gnutls_alpn_flags_t
#define GNUTLS_ALPN_MAND
#define GNUTLS_PRIORITY_INIT_DEF_APPEND
#define GNUTLS_PRIORITY_LIST_INIT_KEYWORDS
#define GNUTLS_PRIORITY_LIST_SPECIAL
enum gnutls_vdata_types_t
  gnutls_typed_vdata_st
#define GNUTLS_MAX_SESSION_ID
#define GNUTLS_HOOK_POST
#define GNUTLS_HOOK_PRE
#define GNUTLS_HOOK_BOTH
#define gnutls_handshake_post_client_hello_func
#define gnutls_cred_set
typedef gnutls_pubkey_t
typedef gnutls_privkey_t
typedef gnutls_x509_privkey_t
typedef gnutls_x509_crl_t
typedef gnutls_x509_crt_t
typedef gnutls_x509_crq_t
typedef gnutls_openpgp_keyring_t
enum gnutls_certificate_flags
  gnutls_ocsp_data_st
typedef giovec_t
enum gnutls_random_art_t
#define GNUTLS_IDNA_FORCE_2008
#define gnutls_srp_base64_encode_alloc
#define gnutls_srp_base64_decode_alloc
enum gnutls_psk_key_flags
enum gnutls_x509_subject_alt_name_t
typedef gnutls_openpgp_crt_t
typedef gnutls_openpgp_privkey_t
typedef gnutls_pkcs11_privkey_t
enum gnutls_privkey_type_t
  gnutls_retr2_st
#define gnutls_pem_base64_encode_alloc
#define gnutls_pem_base64_decode_alloc
#define GNUTLS_KEY_DIGITAL_SIGNATURE
#define GNUTLS_KEY_NON_REPUDIATION
#define GNUTLS_KEY_KEY_ENCIPHERMENT
#define GNUTLS_KEY_DATA_ENCIPHERMENT
#define GNUTLS_KEY_KEY_AGREEMENT
#define GNUTLS_KEY_KEY_CERT_SIGN
#define GNUTLS_KEY_CRL_SIGN
#define GNUTLS_KEY_ENCIPHER_ONLY
#define GNUTLS_KEY_DECIPHER_ONLY
typedef gnutls_tdb_t
#define GNUTLS_SCOMMIT_FLAG_ALLOW_BROKEN
enum gnutls_pin_flag_t
#define GNUTLS_PKCS11_PIN_USER
#define GNUTLS_PKCS11_PIN_SO
#define GNUTLS_PKCS11_PIN_FINAL_TRY
#define GNUTLS_PKCS11_PIN_COUNT_LOW
#define GNUTLS_PKCS11_PIN_CONTEXT_SPECIFIC
#define GNUTLS_PKCS11_PIN_WRONG
typedef gnutls_buffer_t
#define GNUTLS_UTF8_IGNORE_ERRS
typedef gnutls_ext_priv_data_t
#define GNUTLS_EXT_RAW_FLAG_TLS_CLIENT_HELLO
#define GNUTLS_EXT_RAW_FLAG_DTLS_CLIENT_HELLO
enum gnutls_ext_parse_type_t
enum gnutls_ext_flags_t
typedef gnutls_anti_replay_t
enum gnutls_record_encryption_level_t
enum gnutls_fips_mode_t
#define GNUTLS_FIPS140_SET_MODE_THREAD
typedef gnutls_fips140_context_t
enum gnutls_fips140_operation_state_t
#define GNUTLS_E_SUCCESS
#define GNUTLS_E_UNKNOWN_COMPRESSION_ALGORITHM
#define GNUTLS_E_UNKNOWN_CIPHER_TYPE
#define GNUTLS_E_LARGE_PACKET
#define GNUTLS_E_UNSUPPORTED_VERSION_PACKET
#define GNUTLS_E_TLS_PACKET_DECODING_ERROR
#define GNUTLS_E_UNEXPECTED_PACKET_LENGTH
#define GNUTLS_E_INVALID_SESSION
#define GNUTLS_E_FATAL_ALERT_RECEIVED
#define GNUTLS_E_UNEXPECTED_PACKET
#define GNUTLS_E_WARNING_ALERT_RECEIVED
#define GNUTLS_E_ERROR_IN_FINISHED_PACKET
#define GNUTLS_E_UNEXPECTED_HANDSHAKE_PACKET
#define GNUTLS_E_UNKNOWN_CIPHER_SUITE
#define GNUTLS_E_UNWANTED_ALGORITHM
#define GNUTLS_E_MPI_SCAN_FAILED
#define GNUTLS_E_DECRYPTION_FAILED
#define GNUTLS_E_MEMORY_ERROR
#define GNUTLS_E_DECOMPRESSION_FAILED
#define GNUTLS_E_COMPRESSION_FAILED
#define GNUTLS_E_AGAIN
#define GNUTLS_E_EXPIRED
#define GNUTLS_E_DB_ERROR
#define GNUTLS_E_SRP_PWD_ERROR
#define GNUTLS_E_KEYFILE_ERROR
#define GNUTLS_E_INSUFFICIENT_CREDENTIALS
#define GNUTLS_E_INSUFICIENT_CREDENTIALS
#define GNUTLS_E_INSUFFICIENT_CRED
#define GNUTLS_E_INSUFICIENT_CRED
#define GNUTLS_E_HASH_FAILED
#define GNUTLS_E_BASE64_DECODING_ERROR
#define GNUTLS_E_MPI_PRINT_FAILED
#define GNUTLS_E_REHANDSHAKE
#define GNUTLS_E_GOT_APPLICATION_DATA
#define GNUTLS_E_RECORD_LIMIT_REACHED
#define GNUTLS_E_ENCRYPTION_FAILED
#define GNUTLS_E_PK_ENCRYPTION_FAILED
#define GNUTLS_E_PK_DECRYPTION_FAILED
#define GNUTLS_E_PK_SIGN_FAILED
#define GNUTLS_E_X509_UNSUPPORTED_CRITICAL_EXTENSION
#define GNUTLS_E_KEY_USAGE_VIOLATION
#define GNUTLS_E_NO_CERTIFICATE_FOUND
#define GNUTLS_E_INVALID_REQUEST
#define GNUTLS_E_SHORT_MEMORY_BUFFER
#define GNUTLS_E_INTERRUPTED
#define GNUTLS_E_PUSH_ERROR
#define GNUTLS_E_PULL_ERROR
#define GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER
#define GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE
#define GNUTLS_E_PKCS1_WRONG_PAD
#define GNUTLS_E_RECEIVED_ILLEGAL_EXTENSION
#define GNUTLS_E_INTERNAL_ERROR
#define GNUTLS_E_DH_PRIME_UNACCEPTABLE
#define GNUTLS_E_FILE_ERROR
#define GNUTLS_E_TOO_MANY_EMPTY_PACKETS
#define GNUTLS_E_UNKNOWN_PK_ALGORITHM
#define GNUTLS_E_TOO_MANY_HANDSHAKE_PACKETS
#define GNUTLS_E_RECEIVED_DISALLOWED_NAME
#define GNUTLS_E_CERTIFICATE_REQUIRED
#define GNUTLS_E_NO_TEMPORARY_RSA_PARAMS
#define GNUTLS_E_NO_COMPRESSION_ALGORITHMS
#define GNUTLS_E_NO_CIPHER_SUITES
#define GNUTLS_E_OPENPGP_GETKEY_FAILED
#define GNUTLS_E_PK_SIG_VERIFY_FAILED
#define GNUTLS_E_ILLEGAL_SRP_USERNAME
#define GNUTLS_E_SRP_PWD_PARSING_ERROR
#define GNUTLS_E_KEYFILE_PARSING_ERROR
#define GNUTLS_E_NO_TEMPORARY_DH_PARAMS
#define GNUTLS_E_ASN1_ELEMENT_NOT_FOUND
#define GNUTLS_E_ASN1_IDENTIFIER_NOT_FOUND
#define GNUTLS_E_ASN1_DER_ERROR
#define GNUTLS_E_ASN1_VALUE_NOT_FOUND
#define GNUTLS_E_ASN1_GENERIC_ERROR
#define GNUTLS_E_ASN1_VALUE_NOT_VALID
#define GNUTLS_E_ASN1_TAG_ERROR
#define GNUTLS_E_ASN1_TAG_IMPLICIT
#define GNUTLS_E_ASN1_TYPE_ANY_ERROR
#define GNUTLS_E_ASN1_SYNTAX_ERROR
#define GNUTLS_E_ASN1_DER_OVERFLOW
#define GNUTLS_E_OPENPGP_UID_REVOKED
#define GNUTLS_E_CERTIFICATE_ERROR
#define GNUTLS_E_X509_CERTIFICATE_ERROR
#define GNUTLS_E_CERTIFICATE_KEY_MISMATCH
#define GNUTLS_E_UNSUPPORTED_CERTIFICATE_TYPE
#define GNUTLS_E_X509_UNKNOWN_SAN
#define GNUTLS_E_OPENPGP_FINGERPRINT_UNSUPPORTED
#define GNUTLS_E_X509_UNSUPPORTED_ATTRIBUTE
#define GNUTLS_E_UNKNOWN_HASH_ALGORITHM
#define GNUTLS_E_UNKNOWN_PKCS_CONTENT_TYPE
#define GNUTLS_E_UNKNOWN_PKCS_BAG_TYPE
#define GNUTLS_E_INVALID_PASSWORD
#define GNUTLS_E_MAC_VERIFY_FAILED
#define GNUTLS_E_CONSTRAINT_ERROR
#define GNUTLS_E_WARNING_IA_IPHF_RECEIVED
#define GNUTLS_E_WARNING_IA_FPHF_RECEIVED
#define GNUTLS_E_IA_VERIFY_FAILED
#define GNUTLS_E_UNKNOWN_ALGORITHM
#define GNUTLS_E_UNSUPPORTED_SIGNATURE_ALGORITHM
#define GNUTLS_E_SAFE_RENEGOTIATION_FAILED
#define GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED
#define GNUTLS_E_UNKNOWN_SRP_USERNAME
#define GNUTLS_E_PREMATURE_TERMINATION
#define GNUTLS_E_MALFORMED_CIDR
#define GNUTLS_E_BASE64_ENCODING_ERROR
#define GNUTLS_E_INCOMPATIBLE_GCRYPT_LIBRARY
#define GNUTLS_E_INCOMPATIBLE_CRYPTO_LIBRARY
#define GNUTLS_E_INCOMPATIBLE_LIBTASN1_LIBRARY
#define GNUTLS_E_OPENPGP_KEYRING_ERROR
#define GNUTLS_E_X509_UNSUPPORTED_OID
#define GNUTLS_E_RANDOM_FAILED
#define GNUTLS_E_BASE64_UNEXPECTED_HEADER_ERROR
#define GNUTLS_E_OPENPGP_SUBKEY_ERROR
#define GNUTLS_E_CRYPTO_ALREADY_REGISTERED
#define GNUTLS_E_ALREADY_REGISTERED
#define GNUTLS_E_HANDSHAKE_TOO_LARGE
#define GNUTLS_E_CRYPTODEV_IOCTL_ERROR
#define GNUTLS_E_CRYPTODEV_DEVICE_ERROR
#define GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE
#define GNUTLS_E_BAD_COOKIE
#define GNUTLS_E_OPENPGP_PREFERRED_KEY_ERROR
#define GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL
#define GNUTLS_E_INSUFFICIENT_SECURITY
#define GNUTLS_E_HEARTBEAT_PONG_RECEIVED
#define GNUTLS_E_HEARTBEAT_PING_RECEIVED
#define GNUTLS_E_UNRECOGNIZED_NAME
#define GNUTLS_E_PKCS11_ERROR
#define GNUTLS_E_PKCS11_LOAD_ERROR
#define GNUTLS_E_PARSING_ERROR
#define GNUTLS_E_PKCS11_PIN_ERROR
#define GNUTLS_E_PKCS11_SLOT_ERROR
#define GNUTLS_E_LOCKING_ERROR
#define GNUTLS_E_PKCS11_ATTRIBUTE_ERROR
#define GNUTLS_E_PKCS11_DEVICE_ERROR
#define GNUTLS_E_PKCS11_DATA_ERROR
#define GNUTLS_E_PKCS11_UNSUPPORTED_FEATURE_ERROR
#define GNUTLS_E_PKCS11_KEY_ERROR
#define GNUTLS_E_PKCS11_PIN_EXPIRED
#define GNUTLS_E_PKCS11_PIN_LOCKED
#define GNUTLS_E_PKCS11_SESSION_ERROR
#define GNUTLS_E_PKCS11_SIGNATURE_ERROR
#define GNUTLS_E_PKCS11_TOKEN_ERROR
#define GNUTLS_E_PKCS11_USER_ERROR
#define GNUTLS_E_CRYPTO_INIT_FAILED
#define GNUTLS_E_TIMEDOUT
#define GNUTLS_E_USER_ERROR
#define GNUTLS_E_ECC_NO_SUPPORTED_CURVES
#define GNUTLS_E_ECC_UNSUPPORTED_CURVE
#define GNUTLS_E_PKCS11_REQUESTED_OBJECT_NOT_AVAILBLE
#define GNUTLS_E_CERTIFICATE_LIST_UNSORTED
#define GNUTLS_E_ILLEGAL_PARAMETER
#define GNUTLS_E_NO_PRIORITIES_WERE_SET
#define GNUTLS_E_X509_UNSUPPORTED_EXTENSION
#define GNUTLS_E_SESSION_EOF
#define GNUTLS_E_TPM_ERROR
#define GNUTLS_E_TPM_KEY_PASSWORD_ERROR
#define GNUTLS_E_TPM_SRK_PASSWORD_ERROR
#define GNUTLS_E_TPM_SESSION_ERROR
#define GNUTLS_E_TPM_KEY_NOT_FOUND
#define GNUTLS_E_TPM_UNINITIALIZED
#define GNUTLS_E_TPM_NO_LIB
#define GNUTLS_E_NO_CERTIFICATE_STATUS
#define GNUTLS_E_OCSP_RESPONSE_ERROR
#define GNUTLS_E_RANDOM_DEVICE_ERROR
#define GNUTLS_E_AUTH_ERROR
#define GNUTLS_E_NO_APPLICATION_PROTOCOL
#define GNUTLS_E_SOCKETS_INIT_ERROR
#define GNUTLS_E_KEY_IMPORT_FAILED
#define GNUTLS_E_INAPPROPRIATE_FALLBACK
#define GNUTLS_E_CERTIFICATE_VERIFICATION_ERROR
#define GNUTLS_E_PRIVKEY_VERIFICATION_ERROR
#define GNUTLS_E_UNEXPECTED_EXTENSIONS_LENGTH
#define GNUTLS_E_ASN1_EMBEDDED_NULL_IN_STRING
#define GNUTLS_E_SELF_TEST_ERROR
#define GNUTLS_E_NO_SELF_TEST
#define GNUTLS_E_LIB_IN_ERROR_STATE
#define GNUTLS_E_PK_GENERATION_ERROR
#define GNUTLS_E_IDNA_ERROR
#define GNUTLS_E_NEED_FALLBACK
#define GNUTLS_E_SESSION_USER_ID_CHANGED
#define GNUTLS_E_HANDSHAKE_DURING_FALSE_START
#define GNUTLS_E_UNAVAILABLE_DURING_HANDSHAKE
#define GNUTLS_E_PK_INVALID_PUBKEY
#define GNUTLS_E_PK_INVALID_PRIVKEY
#define GNUTLS_E_NOT_YET_ACTIVATED
#define GNUTLS_E_INVALID_UTF8_STRING
#define GNUTLS_E_NO_EMBEDDED_DATA
#define GNUTLS_E_INVALID_UTF8_EMAIL
#define GNUTLS_E_INVALID_PASSWORD_STRING
#define GNUTLS_E_CERTIFICATE_TIME_ERROR
#define GNUTLS_E_RECORD_OVERFLOW
#define GNUTLS_E_ASN1_TIME_ERROR
#define GNUTLS_E_INCOMPATIBLE_SIG_WITH_KEY
#define GNUTLS_E_PK_INVALID_PUBKEY_PARAMS
#define GNUTLS_E_PK_NO_VALIDATION_PARAMS
#define GNUTLS_E_OCSP_MISMATCH_WITH_CERTS
#define GNUTLS_E_NO_COMMON_KEY_SHARE
#define GNUTLS_E_REAUTH_REQUEST
#define GNUTLS_E_TOO_MANY_MATCHES
#define GNUTLS_E_CRL_VERIFICATION_ERROR
#define GNUTLS_E_MISSING_EXTENSION
#define GNUTLS_E_DB_ENTRY_EXISTS
#define GNUTLS_E_EARLY_DATA_REJECTED
#define GNUTLS_E_X509_DUPLICATE_EXTENSION
#define GNUTLS_E_UNIMPLEMENTED_FEATURE
#define GNUTLS_E_INT_RET_0
#define GNUTLS_E_INT_CHECK_AGAIN
#define GNUTLS_E_APPLICATION_ERROR_MAX
#define GNUTLS_E_APPLICATION_ERROR_MIN
struct gnutls_certificate_credentials_st
struct gnutls_dh_params_int
struct gnutls_openpgp_crt_int
struct gnutls_openpgp_keyring_int
struct gnutls_openpgp_privkey_int
struct gnutls_pkcs11_privkey_st
struct gnutls_priority_st
struct gnutls_privkey_st
struct gnutls_pubkey_st
struct gnutls_session_int
struct gnutls_tdb_int
  gnutls_x509_crl_int
  gnutls_x509_crq_int
  gnutls_x509_crt_int
  gnutls_x509_privkey_int

Description

Functions

gnutls_pk_algorithm_get_name ()

const char *
gnutls_pk_algorithm_get_name (gnutls_pk_algorithm_t algorithm);

Convert a gnutls_pk_algorithm_t value to a string.

Parameters

algorithm

is a pk algorithm

 

Returns

a string that contains the name of the specified public key algorithm, or NULL.


GNUTLS_CURVE_TO_BITS()

#define GNUTLS_CURVE_TO_BITS(curve) (unsigned int)(((unsigned int)1<<31)|((unsigned int)(curve)))

GNUTLS_BITS_TO_CURVE()

#define GNUTLS_BITS_TO_CURVE(bits) (((unsigned int)(bits)) & 0x7FFFFFFF)

GNUTLS_BITS_ARE_CURVE()

#define GNUTLS_BITS_ARE_CURVE(bits) (((unsigned int)(bits)) & 0x80000000)

gnutls_init ()

int
gnutls_init (gnutls_session_t *session,
             unsigned int flags);

This function initializes the provided session. Every session must be initialized before use, and must be deinitialized after used by calling gnutls_deinit().

flags can be any combination of flags from gnutls_init_flags_t.

Note that since version 3.1.2 this function enables some common TLS extensions such as session tickets and OCSP certificate status request in client side by default. To prevent that use the GNUTLS_NO_EXTENSIONS flag.

Parameters

session

is a pointer to a gnutls_session_t type.

 

flags

indicate if this session is to be used for server or client.

 

Returns

GNUTLS_E_SUCCESS on success, or an error code.


gnutls_deinit ()

void
gnutls_deinit (gnutls_session_t session);

This function clears all buffers associated with the session . This function will also remove session data from the session database if the session was terminated abnormally.

Parameters

session

is a gnutls_session_t type.

 

gnutls_bye ()

int
gnutls_bye (gnutls_session_t session,
            gnutls_close_request_t how);

Terminates the current TLS/SSL connection. The connection should have been initiated using gnutls_handshake(). how should be one of GNUTLS_SHUT_RDWR, GNUTLS_SHUT_WR.

In case of GNUTLS_SHUT_RDWR the TLS session gets terminated and further receives and sends will be disallowed. If the return value is zero you may continue using the underlying transport layer. GNUTLS_SHUT_RDWR sends an alert containing a close request and waits for the peer to reply with the same message.

In case of GNUTLS_SHUT_WR the TLS session gets terminated and further sends will be disallowed. In order to reuse the connection you should wait for an EOF from the peer. GNUTLS_SHUT_WR sends an alert containing a close request.

Note that not all implementations will properly terminate a TLS connection. Some of them, usually for performance reasons, will terminate only the underlying transport layer, and thus not distinguishing between a malicious party prematurely terminating the connection and normal termination.

This function may also return GNUTLS_E_AGAIN or GNUTLS_E_INTERRUPTED; cf. gnutls_record_get_direction().

Parameters

session

is a gnutls_session_t type.

 

how

is an integer

 

Returns

GNUTLS_E_SUCCESS on success, or an error code, see function documentation for entire semantics.


gnutls_handshake ()

int
gnutls_handshake (gnutls_session_t session);

This function performs the handshake of the TLS/SSL protocol, and initializes the TLS session parameters.

The non-fatal errors expected by this function are: GNUTLS_E_INTERRUPTED, GNUTLS_E_AGAIN, GNUTLS_E_WARNING_ALERT_RECEIVED. When this function is called for re-handshake under TLS 1.2 or earlier, the non-fatal error code GNUTLS_E_GOT_APPLICATION_DATA may also be returned.

The former two interrupt the handshake procedure due to the transport layer being interrupted, and the latter because of a "warning" alert that was sent by the peer (it is always a good idea to check any received alerts). On these non-fatal errors call this function again, until it returns 0; cf. gnutls_record_get_direction() and gnutls_error_is_fatal(). In DTLS sessions the non-fatal error GNUTLS_E_LARGE_PACKET is also possible, and indicates that the MTU should be adjusted.

When this function is called by a server after a rehandshake request under TLS 1.2 or earlier the GNUTLS_E_GOT_APPLICATION_DATA error code indicates that some data were pending prior to peer initiating the handshake. Under TLS 1.3 this function when called after a successful handshake, is a no-op and always succeeds in server side; in client side this function is equivalent to gnutls_session_key_update() with GNUTLS_KU_PEER flag.

This function handles both full and abbreviated TLS handshakes (resumption). For abbreviated handshakes, in client side, the gnutls_session_set_data() should be called prior to this function to set parameters from a previous session. In server side, resumption is handled by either setting a DB back-end, or setting up keys for session tickets.

Parameters

session

is a gnutls_session_t type.

 

Returns

GNUTLS_E_SUCCESS on a successful handshake, otherwise a negative error code.


gnutls_reauth ()

int
gnutls_reauth (gnutls_session_t session,
               unsigned int flags);

This function performs the post-handshake authentication for TLS 1.3. The post-handshake authentication is initiated by the server by calling this function. Clients respond when GNUTLS_E_REAUTH_REQUEST has been seen while receiving data.

The non-fatal errors expected by this function are: GNUTLS_E_INTERRUPTED, GNUTLS_E_AGAIN, as well as GNUTLS_E_GOT_APPLICATION_DATA when called on server side.

The former two interrupt the authentication procedure due to the transport layer being interrupted, and the latter because there were pending data prior to peer initiating the re-authentication. The server should read/process that data as unauthenticated and retry calling gnutls_reauth().

When this function is called under TLS1.2 or earlier or the peer didn't advertise post-handshake auth, it always fails with GNUTLS_E_INVALID_REQUEST. The verification of the received peers certificate is delegated to the session or credentials verification callbacks. A server can check whether post handshake authentication is supported by the client by checking the session flags with gnutls_session_get_flags().

Prior to calling this function in server side, the function gnutls_certificate_server_set_request() must be called setting expectations for the received certificate (request or require). If none are set this function will return with GNUTLS_E_INVALID_REQUEST.

Note that post handshake authentication is available irrespective of the initial negotiation type (PSK or certificate). In all cases however, certificate credentials must be set to the session prior to calling this function.

Parameters

session

is a gnutls_session_t type.

 

flags

must be zero

 

Returns

GNUTLS_E_SUCCESS on a successful authentication, otherwise a negative error code.


gnutls_handshake_set_timeout ()

void
gnutls_handshake_set_timeout (gnutls_session_t session,
                              unsigned int ms);

This function sets the timeout for the TLS handshake process to the provided value. Use an ms value of zero to disable timeout, or GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT for a reasonable default value. For the DTLS protocol, the more detailed gnutls_dtls_set_timeouts() is provided.

This function requires to set a pull timeout callback. See gnutls_transport_set_pull_timeout_function().

Parameters

session

is a gnutls_session_t type.

 

ms

is a timeout value in milliseconds

 

Since: 3.1.0


gnutls_rehandshake ()

int
gnutls_rehandshake (gnutls_session_t session);

This function can only be called in server side, and instructs a TLS 1.2 or earlier client to renegotiate parameters (perform a handshake), by sending a hello request message.

If this function succeeds, the calling application should call gnutls_record_recv() until GNUTLS_E_REHANDSHAKE is returned to clear any pending data. If the GNUTLS_E_REHANDSHAKE error code is not seen, then the handshake request was not followed by the peer (the TLS protocol does not require the client to do, and such compliance should be handled by the application protocol).

Once the GNUTLS_E_REHANDSHAKE error code is seen, the calling application should proceed to calling gnutls_handshake() to negotiate the new parameters.

If the client does not wish to renegotiate parameters he may reply with an alert message, and in that case the return code seen by subsequent gnutls_record_recv() will be GNUTLS_E_WARNING_ALERT_RECEIVED with the specific alert being GNUTLS_A_NO_RENEGOTIATION. A client may also choose to ignore this request.

Under TLS 1.3 this function is equivalent to gnutls_session_key_update() with the GNUTLS_KU_PEER flag. In that case subsequent calls to gnutls_record_recv() will not return GNUTLS_E_REHANDSHAKE, and calls to gnutls_handshake() in server side are a no-op.

This function always fails with GNUTLS_E_INVALID_REQUEST when called in client side.

Parameters

session

is a gnutls_session_t type.

 

Returns

GNUTLS_E_SUCCESS on success, otherwise a negative error code.



msr>

Returns

GNS:CAPS" titis a


< equivalent to INTEsession_tGNS:CAPS" titis a
< equivalent to INTEsessi n_tGNS:CAPS" titis a

Returns

parameter_anno width="10> parameter_anno width="10> ass="paramenutls.html#Ga class="link" href="gnutls-gnuttml#gnutls-ma< equivlash hre for a reasonable default value. For the DTLS protocttml#gnutls-ma< equivlash hre );

This function sets the h hre ="gnutls-gnutls.html#Ga classss to tet_request() mu-gnutl_request()ver by ce default v class="paramerams respondtml#G-sessiult v es="parac#G-eEsessPS" title="GNULS-KU-PEER:ion-ext->

Returns<_annotations"> parameter_anno wss="parameter_annotations"> 

u

will hold the coefficient

GNUTLS_E_SESSION_EOF #define < equile irrespectiveyd- hre ="gnutls-gnutls.html#Ga clasfinee ="gnutls-gnutitle="GNUTLS_E clasfinee arameter">t()name"> <*application putls-
session);

This function can only be called hre for a ms value of zero to disable timeout, or GNUTLS_E_PKCS11_KEY_ERROR #define #define ls-s GP_secaction ( ro to disable timeout, or ().

turn code seen by subsequent gnutls_record_recv() will be gnutlf="gnr gnutls-ma< eqfunarameter">ed EFAULT-HANDtis a  gnutls_certificate_server_set_request()nction">gnef="gnutls-gicate_seord_recv() "gnutls-gutls-gnut ce: 3l#GNUTLS-E-INCOMPATIBLE-CRYPTO-LIBRARY:CAPS" title="GNUTLS_E_INCOMPATIBLE_CRYPTO_LIBRARY">GNUTLS_E_INCOMPATIBLE_CRs="parametx"function">gnutlt"gnutls_record_recv ()"> when called on server sitd> wihe> error code isnlgFAULT_HANDSHAKE_TIMEOUT for a reason.inne r /ide.

ka. ROR:CAPSE_INTEsession_t< equition_name">>< equivalent to INTEsession_t gnutlf="gnr gnutls-ma< -fatal="150px" clv>
>< f_NING-ALEXue. For the DTon_name">>< f_NING-ALEXue. For the DTon_name">>< f_NING-ALEXue. For the DTon_name">>< f_NING-ALEXue. For the DTon_name">>< f_NING-ALter_desTE_ERRss="parameter_description">GNUTLS_E_REHANDSHAKE  gnu-ext->

Returns<_annotations"> parameter_anno wss="parameter_annotations">  tx"funr by cUTLS_E_RLS_E_INVALtTLS_E_e> on success, otherwise a negative error code.


on success, otherwise a negative error code.


r> This f 1.2 or earlier client ass="link" href="gnuton_name">>GNUTLS_E_f="gnuton_name">>GNUTLS_E_f="gnuton_name">>GNUTLS_E_f="gnuton_name">>GNUTLS_E_fnawm_< eqfunction">gnutlf="gnr gnutls-me="GNUTL="parameter_description">

is aerver s=ml#GNUTLS-E-SY">GNls-gnutls.html#="lin"_PVE gnutls_session_t type.

 

flags

must be zero

  /tr>

Returns

Returns

Returns

 turns


tx"felv>nliter()">
table>TIFICATE="parandtml#G-sessiult v es="parac#G-earaclash hre #define This f 1.2 or earlier client ass="link" href="gnuton_name">>>>

When this function is cacode cl Tutls.html#gnutls-record-recv" title="gnutls_reco>gnutlf="gnr gnut"gnuton_nas="parametx"function"RROR_STATE">GNUTLS_E_LIB_IN_ERROR_ST class= irllgnr gnutwm_< eq,w="gnutl=ml#GNUTLS-E-SY">GNls-gn recorlv> #define

is a >< equivalent to INTEsess>This funlgnr aS" title="GNULme">"functa>

This funlgntondtml#G-sessiult v es="parac#G-eEsessPS" tiunlgn/div>


"functa>

This funlgntondtml#G-sessiult v es="parac#G-eEsessPS" tiunlgn/div>


gnutls_session_t session, div class="arspan class="type">gnde>unsigned int flags);

This function performs the post-handshake auth">gnutls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg s_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg s_x509_crt_dg

Ttlls_utls_session_tTtlls_utls_session_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg s_x509_crt_dg

Ttlls_utls_session_tTtlls_utls_sessioTLS_E_REHANDSHAKE">GNUTLS_E_REHANDSHAKE  Thdesngnr gnusn_tP_dg

TtFDSs_seusi

509_, or an error code, see function documentation for entire semantics.


Returns

Returns

er_annotations>

er_annotations>

Rmecd

<"punctio)">

ame">>>

When this function is cacode cl Tutls.html#gnutls-record-recv" title="gsntls_reco>gnutlf="gnr gnut"gnuton_nas="parametx"function"RROR_STATE">GNUTLS_E_LIB_IN_ERROR_ST class= irlllnr gnutwm_< eq,w="gnutl=ml#GNUTLS-E-SY">GNls-gn recorlv> GNUTLS_link" ode class="punctionc-Surnvato d c()">GNUTLS_link" ode claROR" ode class="pun NUTLS_link" ode clmsete class="punction c()">GNls-gn recorlv> GNls-gn recorlv> GNUTLS_E_INT_CHECK_AGAIN #define s_x5 UTLS_E_INT_CHECK_AGAIN">GNUTLS_td> itr> #define s_x5_CH FAULe_utls_session_tgnutlt"gnutls_record_recv ()"> when called on server sitd> GNUTLS_CURVE_TO_BITS() #define GMD="c_punctuation">() #define GMD="c_punctuation">() #define Ttlls_utdr" hr" ="gdesTE_ERRitle=e="GNULme"> tr> #deP_ Thdesngnr gnut">#deTtlls_utdr" hr" ="gdesTE_ERRitle=e="GN">Ttlls_u

TtFDSs_seusi

509_, or an error code, see ftFDSs_seusi

an error codi_E_TPM_SRK_Run NUTLS_link" ode clmsrameteode class="prol width="200px" cf="gnutls-gnu

f="gnutls al (ink" href="gs-gnu

f="gnutls al (ink" href="gs-gnu

f="gnutls al (ink" href="gs-gnuunctio)">() o d c()">ls-gn recorlvalue">voidTtlls_u

TtFunction_name"> o d cTTass="paameteri.,a*alue">void o d s-gnuoTED_CEl#>void class="liparameter_description">

is a gnutls_session_t type.

 

ms

ms

pa"> un ao.em>);GNUTLS_link" ode class="punctionc-Surnvato d c()">

ms

papa">

ble timeout, or

ble timeout, or (

ble ned papa">

ble ned papa">

ble ned papa">

ble ned papa">

ble ned papa">

ble ned papa">

ble,am s

papu **S_LP

ble ned papa">

ble ned papa">

ble ned ion gets terminated and further receives and sends will be disallowed. If the return value is zero you may contass="type">an server si zero you may contass="type">"link" href="gnutls-gnutls.html#GNUTLS-SHUT-RDWR:CAPS">GNUTLS_SHUT_RDWR sends an alert containing a close request and waits for the peer to reply with the same message.

In g

Tt ir href="gnutl">


e *r_descrisaneat
e *r_d(*/div>
e *r_descrisaneat
e *r_d(*/div>
e *r_descrisaneat
e *r_d(*/div>
e *r_descrisaneat
e *r_d(*/div> gnutlication protocoltls-gnutls.cm ="gntls-gnutls.cm ="gntls-gnuoTED_CEl#Gr" hr" ="gntls-gnul FLTLS-KU-PEERr> at
e *r_no ggggggccc
e *r_descrie *r_d(*/de *r_d(*/di*r_descrie 6a *r_d(*/de_d(*/di*r_descrie 6a *r_d(*/de_d(*/di*r_d/di*r_d/di*r_d/dss *s metgss *s metgss *s_CEl#Gr" hr" =5 /*s metgss *TLS-KU-PEERr> e *r_d

is aerver [-u TLS-KU-PEER:CAPS" title="GNUTLS_KU_PEER">GNUTLS_KU_PEEOTEs"(, or

ble nedv class=me"href="gnU-S


gnU-S
e *r_d

is aerver [-u TLS-KU-PEER:CAPS" title="GNPTss_SW href="g *r_b NUTLS_KU_PEEOTEs"dnineciame">corydninecic gLS_E_AGAIN#define GNUTLS_E" hr" =5 /*s class*acory #define GNUTLS_E" hr" tr> *r_d(*/div (ts for th_d(*/ass="parameter_annotations">  #defeels-gnul FLTtlly be calleio)">(ts for KU-A#.

);#defeels-gnul FLTtlly be caat

<>papa"><>ls-gnul FLTtlly be caat


GMD="cPqfunarameter">ed EFAULT-HANDtis a *r_d(*/div (ts for th_d(*/ass="parameter_annotations">  #defeels-gnul FLTtlly be calleio)">(ts for KU-A#.

ms

#define tls.html#GNO

TtFDSs_t as (rydnineci" href="gnuadesTE_ERRitle=e="S" tc alte_y beo.em>);papa">

ms

papa">

ble timeout, or

ble timeout, or

ble timeout, or

ble typto.html#g, or eamapa">

ble ned papa">

ble ned papa">

ble n "paameteri"MR_goul FLTtlly be "paation">() function_gl" title="GNPTss_Srotocol-set-enabon">()<" title="GNPTs" href="gnutls-Tme">

ble" title="GNPTs" h

e *r_d(*/le="GNPTs" h

papa">e *r_d(*/le="GNPTs" h

papa">e *r_d(*/le="GNPTs" h

papa">e *r_d(*/le="GNPTs" h

papa">e *r"GNPTs" h

papon_type">

ble ne/td>(ts fo ion. The seronnn> read/process that data ass="punctiony;); utls-gnutls.html#gnutls-session-t" title="gnutls_session_t">

tml#gnutls-i/td> 2ts for then> gnutls.html,> GNUTLS_SHUT_WR the TLS session gets terminated and further sends will be disallowed. In ordeggggggggc="link"1> 2ts for then> gnutls.html,> GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> > gnutls.html,> GNUTLS_SHUT_WR the TLS session gets terminated and further sends will be d#d elclass="function" tr-WR:CAPS nn> <3utls.html#gink" href="gnu">GNUTLS_SH> the TLS sesthe TLS session gets tera> int

ble zero you may conpa">nutls.html#GNS_KU_PEt  

ble ned 6(/span> o d fcwameet

ble ned ics terminatPS" title="GNUTLS_E_ECC_UNSUPPORTEDNlass *s metggggggggccccgnutlml#GNUTLS-Etio)">   /tr>

Returns

e *r_(*/div>  <nutls-privkey-fs"function_type">tls.html#gnutlsey_flags_t

Members

P_dserver si z class="function_type"> int e *r_d(*/div> gnutlication protocoltls-gnutls.cm ="gnction_name""> e *r_d

is aerver [-u TLS-KU-PEER:CAPS" title="GNUTLS_KU_PEER">GNUTLS_KU_PEEOTEs"(, or

ble nedv class=me"href="geessionnn> essionnn> essionnn> essionnn> essionnn> essionnn> P_dgurnvato gg

TtFDSs_tggggggggc="link" href="gnuadesTE_utls_seusiotls-gnuoTED_CE`

ble typto.html#g, or eamapa">ble timeoua essionnn>la8)**r (rydnineci" href="gnuadesTE_EAMInn> essionnn> es *r_d(*/div (ts for th_d(*/ass="parameter_annotations">   

ble nedv class=me"href="gnU-S


gnU-S
e *r_d

is aerver [-u TLS-KU-PEER:CAPS" title="GNPTss_S()">#defets for KU-A#.

FLOW">GNUTrithm_get_nt_nt_nt_nt_nt_nt_sWhen this funct a class="uink" pP_CDo male">

msTtFDSs_tggggggggc="link" href="gnuadesTE_ERRitle=e="S" tc alte_title="GNUTLS_/a> sessionnn> essionnn> essionnn> essionnn> function_nac eed _keyword">#define

format

<0imeout, or

bl*/le=" only be called _a cla<*r_d(*/le=" only be called _a cio)">an server de cl ss="qaned papa">

ble ned papa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncticess that data ass="puncpk_algorithm_get_name ()<>);

ble ned papa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncti essionnn> function_nac eed _keyword">#define papa">

ble ned papa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncticess that data ass=0 iϫalue">int e *r]> vctionc-Surn">e *r]> vctionc-Surn">e *r]> vctionc-Surn">e *r]> vctionc-Surn">e *r]> papa">e *r"GNPTs" h

papon_type">

ble ne/td>(ts fo ion. The seronnn> read/procesion. The seronnn> read/procesion. The seronnn> read/procesion. The seronnn> read/procesion. The seronnn>procesion. The setls.cm ="gntls-gnutls.cm ="gntls-gnuoTED_CEl#Gr" hr" ="gntls-gnul FLTLS-KU-A#.

cm ="m>);   /tr> iv>

Returns

e *r_(*/div>  <nutls-privkey-fs"function_type">tls.html#gnutlsey_flags_t
an agnul FLTtt> > gnutls.htmISP/td>nutls-privv/bnsicess that lls_utls_session_t">

o d fcwoelget_name (tls-ma< eqfMnk" href="gnutls-gnutls.html#gnutls_name">

o d fcwoelget_name (tls-ma< e astls-ma< eqfMnk" href="gnutls-gnutls.html#gnutls_name"> nutls.html#GNS_KU_PEt  

ble ned 6(/span> o d fcwareet

ble ned ics.terminatPS" title="GNUTLS_E_RUPTED:CAPS" title="GNUTLS_E_INTERRUPT


o n_algoritbsrydnineci" senls-gnul FLTt,.terminatPS" ti (HEER:CAPS" titld read *r_d(*/divget-system-config-file=" only WR:CAPS">GNUTLS_SHUT_WR the TLS session gets terminated and further sends will be disallowed. In ordeggggggggc="link"1> gnutls.html,> GNUTLS_SHUT_nutls-privkey-fla.GNUTLS_SHUT_nutal">GNprivkey-fla.GNUTLS_SHN (rydnineci" href="gl">GNprivkey-fla.GNUTLS_SHN (rydnineci" href="gl">GNprivkey-fla.GNUctio)"> *r_dgnutls.html,> key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUPLS_SHTLS sessiaxlname"> +arsssion getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">kelgoritbsryd_SHTLS sessiaxlname"> +(rsssion getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLorithmP_nc.>papa">

ble ned papa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncticess that data ass="puncp essionnn> essionnn>< s

papa"> gmat

<0imeout,6 S">GNUTLS_SHUT_WR the TLSode cl JLAss that data urt"gIN kTWISP/td>nutls-privkey-fs"function_type">tls.html#gnutlsey_flags_t
an agnul FLTtt> > gnutls.htmISP/td>utls-privv/f none are setlls_utls_session"gntls-gn()="puncticess that d class="functannpunctioname">

o d fcid b snc-Surt"gnt>utls-privv/f noh4>an agnul F_Obmv class=me"m-IWls_utls_senn> essionnn>le ned papa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncticess that data ass="puncpk_algorithm_get_name ()<>);  <nutls-privkey-fs"function_type">tls.html#gnutlseyShr>e *r_d(*/div> href="gnutls-gnutls.html#g">0CSSEf="geessione"tfunction" tr-class="c_pn> iv>

gnutls_rehandshake ()

ititle="GNULS-y be called _a
cla<*e
trt
e *r_d( iv>
an server de cl ssS" title="GNUTLS_E_uncticess that data ass=0 iϫAlue">intpapa">

ble ned papa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncticess that data ass=0 iϫalue">intta ass=0 iϫAlue"gnuadesTE_Eclass="puna.GNUTLS_SHTLMPNVSLAA-(**r (rydnineci" href The seronnn>procesion. The setls.cm ="gntls-gnutls.cm ="gntls-gnuoTED_CEl#Gr" hr" ="gntls-gnul FLTLS-KU-A#.

cm ="m>); href="gnutl="lis="qannpunnutlml#GNUTLS-Etcl_tls-certificatet_name (tls-ma< eqfMnk" href="gnutls-gnutls.html#gnutls_name">

ble nedv class=me"href="gnU-S


gnU-S
e *r_d > gnutls.htm,tquivalent td(*/div ()">#defets UPPORTEDNl.ref="gnutls-gnutls.htmnutlml#GNUTLS-Etlass VNETA class="punco)">

Returns

#define GNUTLS_E" hr" trn> (gnutls.html

Parametelass="paramet./bnsicess thals_hut *r_ddiv rpapa">

ble ISAPUSnctionc-Surt"gntls-gn()="puncticess that data ass=0 iϫalue">int(ts fo ion() int an server de cl ss="qaned papa">

ble ned papa">

ble ISAPUSnctionc-Surte cl>()  /tr> () a hello re.av corresponding to the firsclass="punct class="punc ao firsclass="d>int gnutls_encode_berydnineciame">

ble ned papa"> gnutls_early_cipher_get () class="function_name"> kelgoritbsryd_SHTLS sessiaxlname"> "> GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> > gnutls.html,> int void

Parameters

Parameters

9"punctionnml#gnutls-srtp-set-profile" title="gnutls_srtp_set_profile ()">gnutls_srtp_set_profile ()

ble ISAPUSnctionc-Surte cl>()  /tr> () a hello re.av corresponding to the firsclass="punct class="punc a firsclass="punct class="function_name"> void

Parameters

0CSSEf="geesfs"function_type">tls.html#gnutlseyShr>e *r_d(*/div> href="gnutls-gnutls.html#g">s_x509_crt_dg

Ttlls_utls_session_tTtlls_utls_session_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg

, , const key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHC_t <)( cl ss="qannutlscITS:CAPS" r_d(*/divget-sysms.html,>
int"> GNUTLS_SHUT_WR al">key-fla.GNUTLS_SHTLS session lowed. INUTLS_SHUDPeturn value -gcul FLTtt> > gnutls.html,> /tr> int

ble ned papa"> gnutle><  /tr> int kelgoritbsryd_SHTLS sessiion getral">kelgobGNUTLS_IrydnineciamTLS_SHTLS swspan>">

gnutls.html,> GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> > gnutls.ht ="gntls-gnul FLTLS-KU-A#.

lassu may c.in an server de cl ss="qaned papa">

ble ned papa">

ble ISAPUSnctionc-Surte cl>()  /tr>

b _E_INTEsession_t< equi an alert con`nwdu0CSSEf="geessione"tfunction" tr-class="c_pn>

iv>

}n>< equivalent r15ode>pcalled _a clnction" tr-WR> href="gnutls-gnutls.html#g">0CSSEf="geessione"tfunction" tr-class="c_pn> iv>

gnutls_rehagoul FLTtlly be caat


GMD="cPessiaxlnonding tsh*igal-ext->

Returns<_annotations"cm ="gn_hm_get_nam>

Parameters

wihe>GN urt"gntls-gn(hr" ="gntls-gnul FLTLS-KU-A#./p> d i2> o d fcwoessage Digalue">intGLetral">key-fla.Gable class=" iϫFed pap/r-*S">int#define GNUTLS_E" hr" trn> (gnutls.htmISP/t_SHTLS sesshtmISP/td>utls sryd_SHTLS sessiaxlname">
int GNUTLS_SHUT_WR al">key-fla.GNUTLS_SHTLS session lowed. INUTLS_SHUDPeturn value -gcul FLTtt>

ble ISAPUSnctrameter">

GNUTLS_E_INVALsession_tpapa">s_x_Lpn#G-sessiult v es link" href="gincta>

Thdemass VNETA poeetc ">(

flags

table>TIFICATE="parandtml#G-sessiult v es="parac#G-earaclash hre s_x509_crt_dg

Ttlls_utls_session_tTtlls_utls_session_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg papa">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHTLS session getral">key-fla.GNUTLS_SHC_t <)( cl ssxlname">

() a hello reS session getral v-etral">key-fla. c()">GNUTLS_SHUT_nutls-privkey-fla.GNUTL reS session getr-a on   /tr>

Rf="gnutls-gnutls.html#g">()

int   /tr>

Returns

e *r_(*/div> al">key-fla.GNUTLS_SHTLS session lowed. INUTLS_SHUDPeturn value -gcul FLTtt> href="gnutl="lis="qannpunnutlml#GNUTLS-Etcl_tnrlier client ass="link" href="gnuton_name">>GNUTLS_E_f="gnuton_name">>GNUTLS_E_f="gnuton_name">>

GMD="cPessiaxlnonding tsh*igal-ext->

Returns<_annotations"cm ="gn_hm_get_nam> GMD="cPecvkey-fla.GR"cPecvkey-fla.necics terminatenul FtlLS_Irydn,="link" href="gn gnutls_aead_cipher_decryptv2 ( 

ble nedv class=me"href="gnU-S


gnU-S
e *r_d

is aerver [-u TLS-KU-PEER:CAPS" title="GNPTss_S()">#defetsLS_SHTLS sessiylName="gnutls-privkey-flags-t.members">

Members

#define() I

#define  /tr> () a hello re.av correspondingello re.a)">

Rev class="informaltable"> flR:CAPS">> gnutls.html,> int essionnn>n" trs="qaned gnutls_session_is_re class=fsect2"> GNUTLS_SHUT_WR the TLS sessiol()"> essionnn>le ned papa">

ble ISAPUSnctionc-Surt"gntlotations"cm ="gn_hm_get_nam>

Parameters

utls s!INOU_KEY_ERROR">GNUTLS_E_f="gnuton_name">>

GMD="cPessiaxlnonding tsh*igal-ext->

Returns<_annotations"cm ="gn_hm_orydnineciame">key-fla.GNUPP_SEetuineci"ogramliydnineci"ogramlisting">

flags

table>TIFICATE="parandtml#G-sessiult v es="parac#G-earaclash hre gnutls.html,>

Returns<_a ="gs-gnuuncti/div>


Parameters

GNUTLS_E_INVALsls-ma< eqfss="t> GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> > gnutls.ht ="gntls-ap.returns">

nctuation">eters

 

Returns<_annotations"cm ="gn_hm_get_nam>

ParameGNPTss_Srotocol-set-enabon" iv>

}n>< equivalent r15ode>pcalled _a clnction" tr-WR> href="gnutls-gnutls.ht

itr-WR> href="g

Ttlls_utls_session_ts_x509_crt_dg papa">key-fla.GNUTLS_SHTLS session <4a .GNUTLS_SHC_t <)( cl s

/tr> cs/tread *r_d(*/divgett"ad *r_d(*/divgetLS_SHC_t <)( cl ssxlname"> () a hello reS session getral v-etral">key-fla. c()">GNUTLS_SHUT_nutls-privkey-fla.GNUTL reS session getr-a on

Returns

e *r_(*/div> al">key-fla.GNUTLS_SHTLS session lowed. INUTLS_SHUDPeturnrem )u may conpan baltabEl#Gr" hr" ="gnlF3">

b _E_INTEsession_t< equi an alert con`nwdu0CSSEf="geessione"tfunction" tr-class="c_pn> iv>

gnutls.html,>

Returns<_a ="gs-gnuuncti/divs-gn()="puncticess that data ass=0 iϫalue">intta ass=0 iϫAlue"gnuadesTE_Eclass="puna.GNUTLS_SHTLMPNVSLAA-(**r (rydni_crt_dg

Ttlls_utls_session_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg #defeels-gnul FLTtlly be icorresponding tsndy6should read *r_d(*/div (ts for KU-A#.

#define  /tr> () a hello re.av corresponded h]> al">key-fla.GNUT>

gnutls_rehandshake ()

ititle="GNULS-y be called _a
cla<*e
trt
e *r_d( iv>
(ts for KU-A#.

ble ISAPUSnctionc-Surt"gntlotations"cm ="gn_hm_get_nam>

Parameters

utls.ht ="gntls-">
GNUTLS_E_INVALsls-ma< eqfss="t> GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> #defetsLS_SHTLS sessiylName="gnutls-privkey-flags-t.members">

Members

gnutls.html,> /tr> cs/tread *r_d(*/divgett"ad *r_d(*/divgetLS_SHC_t <)( cl ssxlname"> () a hello res_utls_session_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg   /tr> cs/tread *r_d(*/dctionc-Surnv tenul Ftl=ml#GNt%" border="0"> gnutls_se() a hello reS session getral v-etral">key-fla. c()">GNUTLS_SHUT_nutls-privkey-fla.GNUTL reS session getr-a on GNUTLS_E_f="gnuton_name">>


(

flags

If flags in the callback are set to GNUTt itr-WR> href="g

Ttlls_utls_session_ts_x509_crt_dg papa">key-fla.GNUTLS_SHTLS sessi-aS_E-i DNlass *s metggggggggccccgnutlml#GNUTLS-Etio)">   /tr> cs/tread *r_d(*/divgett"ad *r_d(*/divgetLS_SHC_t <)( cl ssxlnar">certs_length an/t> clasc.l-rns<_a ="gse">pcalled _a clnction" tr-WR> href="gnutls-gnutls.html#g">0CSSEf="geessione"tfunction" tr-class="c_pn> iv> aned papa">s_x509_crt2aor taa>

<4a .G1URs="d>int  
#defetsLS_SHTLS sessiylName="gnutls-privkey-flags-t.members">

Members

on_name">
wihe>GN urt"gntls-gn(hr" ="gntls-gnul FLTLS-KU-A#./p>hould read *r_d(*/div
int  


(

flags

a>

flags

kelgoritbsryd_SHTLS sessiion getral">kelgobGNUTLS_Ircorydnineciame">

b _E_INTEsession_t< equi an alert con`nwdu0CSSEf="geessione"tfcnd> GNUTLS_E_f="gnuton_name">> GNUTLS_E_INVALsls-ma< eqfss="t> GNTe">ititle="(iregister_mac() is not supported and will always result in an error. In addition to that, some of the MAC implementations do not support this operation. Applications should check the return value and provide a proper fallback.

Ttlls_utls_session_ts_x509_crt_dg #defeepeusiox509_crt_dg

Ttlls_utls_session_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg , , ydnineciame">

ssion_tTtlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg , , ydnineciame">

ssion_t v corresponded h]>-fla.GNUTLS_SH class="c_punctuation">() void

ssion_t v corresponded h]>-fla.GNUTLS_SH class="c_punctuation">() utls s!INOU_KEY_ERROR">GNUTLS_E_f="gnuton_name">>


(

flags

  a)fTWISP/td>

/div>
utls.ht ="gntls-"> () ssize_t utls.ht ="gntls-"> GNUTLS_E_INVALsls-ma< eqfss="t>
(

flags

GNPTss_S()LS_CERT_RETR_DEINIT_ALL">GNUTt itr-WR> href="g

Ttlls_utls_session_ts_x509_crt_dg papa">key-fla.GNUTLS_SHTLS sessi-aS_E-i DNlass *s metggggggggccccgnutlml#GNUTLS-Etio)"> aej  a)fTWISP/td> an/t> clasc.l-rns<_a ="gse">pcalled _a clnction" tr-WR> href="gnutls-gnutls.html#g">gnutls_session_twidth="15ode>GNUTLS_E_INVALsls-ma< eqfss="t> GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> #defetsLS_SHTLS sessiylctionc-Surnv tenul Ftl=ml#Gio"infor

Members2vkey-flags-t.members">aned paGNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> #defetsLS_SHTLS sessiylName="gnutls-privkey-flags-t.members">

Members

/s
table>TIFI_SHTLS sessiylName="gnutls-privkey-flags-t.members">

Members

/s
table>TIFI_SHTLS sessiylName res_utls_sessi>TIFI_SHTLS eusiox509_crt_INIT-ALL:CAPS" title="GNUTLS_CERT_RETR_DEINIT_ALL">GNUTt itr-WR> href="g

Ttlls_utls_session_ts_x509_crt_dg pgnutlml#GNUTLle=3GNUTLS_E_ECta0CSSEf="geessione"tfunction" tr-class="c_pn> iv> aned papa">s_x509_crt2aor taa>


(
 () void ble ned


/div>
e *r_(*/div> al">key-fla.GNUTLS_SHTLS session lowed. INUTLS_SHUDPeturnrem )u may conpan baltabEl#Gr" hr" ="gnlF3">

flags

y.m'lnction" trs="qaned c="cr_name">GNUTLS_E_f="gnuton_name">>

(
h]>-fla.GNUTLS_SH class="c_punctuation">() utls s!INOU_KEY_ERROR">GNUTLS_E_f="gnuton_nm="parameters_anni ter be disallowed. MPP^ ( utls s!INOU_KEY_ERROR">GNUTLS_E_f="gnuton_name">>


(

flags

If flags in aons">  /tr> cs/tread *r_gnutls-abstract.html#GNUTLS-CERT-RETR-DEINIT-ALL:CAPS" title="GNUTLS_CERT_RETR_DEINIT_ALL">GNUTt itr-WR> href="g

Ttlls_utls_session_tvoid <

ssion_t v corresponded h]>-fla.GNUTLS_SH class="c_punctuation">() utls s!INOUtle="GNUTLS_CERT_RETR_DEINdc="cr_name">

flags

LS_E_INVALsls-ma< eqfss="t> void <

ssion_t v correspsijurn value -gnul FLTtt> gnutls_se_SRBHM_Y___ta s ta s ma< equivlash aa disallowed. INTLS_E_ECtations">  >


utls s!Iion_typr-WRP v-etral">key-fla. c()">GNUTLS_SHUT_nutls-privkey-fla.GNUTL reS session getr-a on itr-WR> href="g

Members2vkey-flags-t.members">aned paGNUTLS_SHUT_WR the TLS session gets ter be disallowedal">GNUTLS_SHUT_WR the TLS session gets ter be disallowed. INUTLS_SHUT?eturn value -gnul FLTtt> #defetsLS_SHTLS sessiylName="gnutls-privkey-flags-t.mess="pa_seusi

Ttlls_u

TtFDSs_seiv>

Ttlls_utls_session_t(( (

flags

If flags in aons">  /tr> cs/tread *r_gnutls-abstract.html#GNUTLS-g

Ttlls_utls_session_ts_x509_crt_dg

Ttlls_utls_session_ts_x509_crt_dg , , ydnineciT_RETR_DEINIT_ALnction_type"td>, tlls_utls_seap>Ttlls_utls_session_t< t Tssma< equivlash alue -gnul FLTtt> #defetsLS_SHTLS sessiylctionc-Surnv tenul Ftl=ml#Gio"infor