Functions
exception ()
explicit
exception (int x
);
what ()
const char *
what ();
get_code ()
int
get_code ();
import_raw ()
void
import_raw ();
import_pkcs3 ()
void
import_pkcs3 ();
generate ()
void
generate (unsigned int bits
);
export_pkcs3 ()
void
export_pkcs3 (gnutls_x509_crt_fmt_t format
,
unsigned char *params_data
,
size_t *params_data_size
);
export_raw ()
void
export_raw ();
import_pkcs1 ()
void
import_pkcs1 ();
export_pkcs1 ()
void
export_pkcs1 (gnutls_x509_crt_fmt_t format
,
unsigned char *params_data
,
size_t *params_data_size
);
session ()
explicit
session (unsigned int
);
handshake ()
int
handshake ();
send_appropriate_alert ()
int
send_appropriate_alert (int err
);
recv ()
ssize_t
recv (void *data
,
size_t sizeofdata
);
get_record_direction ()
bool
get_record_direction ();
check_pending ()
size_t
check_pending ();
prf_raw ()
void
prf_raw (size_t label_size
,
const char *label
,
size_t seed_size
,
const char *seed
,
size_t outsize
,
char *out
);
set_priority ()
void
set_priority (const char *prio
,
const char **err_pos
);
get_data ()
void
get_data (void *session_data
);
clear_credentials ()
void
clear_credentials ();
set_credentials ()
void
set_credentials ();
set_transport_push_function ()
void
set_transport_push_function (gnutls_push_func push_func
);
set_transport_vec_push_function ()
void
set_transport_vec_push_function (gnutls_vec_push_func vec_push_func
);
set_transport_pull_function ()
void
set_transport_pull_function (gnutls_pull_func pull_func
);
set_transport_pull_timeout_function ()
void
set_transport_pull_timeout_function (gnutls_pull_timeout_func pull_timeout_func
);
set_user_ptr ()
void
set_user_ptr (void *ptr
);
get_user_ptr ()
void *
get_user_ptr ();
get_dh_secret_bits ()
unsigned int
get_dh_secret_bits ();
server_session ()
explicit
server_session (int flags
);
db_remove ()
void
db_remove ();
set_db ()
void
set_db ();
db_check_entry ()
bool
db_check_entry ();
client_session ()
explicit
client_session (int flags
);
set_verify_cert ()
void
set_verify_cert (const char *hostname
,
unsigned flags
);
get_request_status ()
bool
get_request_status ();
free_keys ()
void
free_keys ();
free_cas ()
void
free_cas ();
free_ca_names ()
void
free_ca_names ();
free_crls ()
void
free_crls ();
set_dh_params ()
void
set_dh_params ();
set_rsa_export_params ()
void
set_rsa_export_params ();
set_verify_flags ()
void
set_verify_flags (unsigned int flags
);
set_verify_limits ()
void
set_verify_limits (unsigned int max_bits
,
unsigned int max_depth
);
set_x509_trust ()
void
set_x509_trust ();
set_x509_crl ()
void
set_x509_crl ();
set_x509_key_file ()
void
set_x509_key_file (const char *certfile
,
const char *KEYFILE
,
gnutls_x509_crt_fmt_t type
);
set_x509_key ()
void
set_x509_key ();
set_simple_pkcs12_file ()
void
set_simple_pkcs12_file (const char *pkcs12file
,
gnutls_x509_crt_fmt_t type
,
const char *password
);
set_retrieve_function ()
void
set_retrieve_function (gnutls_certificate_retrieve_function *func
);
set_params_function ()
void
set_params_function (gnutls_params_function *func
);
set_credentials_file ()
void
set_credentials_file (const char *password_file
,
const char *password_conf_file
);
set_credentials_function ()
void
set_credentials_function (gnutls_srp_server_credentials_function *func
);