gnutlsxx

gnutlsxx

Functions

explicit exception ()
const char * what ()
int get_code ()
void import_raw ()
void import_pkcs3 ()
void generate ()
void export_pkcs3 ()
void export_raw ()
gnutls_dh_params_t get_params_t ()
void import_pkcs1 ()
void export_pkcs1 ()
explicit session ()
gnutls_session_t ptr ()
int bye ()
int handshake ()
gnutls_alert_description_t get_alert ()
int send_appropriate_alert ()
gnutls_cipher_algorithm_t get_cipher ()
gnutls_handshake_description_t get_handshake_last_out ()
ssize_t recv ()
bool get_record_direction ()
size_t check_pending ()
void prf_raw ()
void set_priority ()
gnutls_protocol_t get_protocol_version ()
void get_data ()
void clear_credentials ()
void set_credentials ()
void set_transport_ptr ()
gnutls_transport_ptr_t get_transport_ptr ()
void set_transport_push_function ()
void set_transport_vec_push_function ()
void set_transport_pull_function ()
void set_transport_pull_timeout_function ()
void set_user_ptr ()
void * get_user_ptr ()
gnutls_credentials_type_t get_auth_type ()
unsigned int get_dh_secret_bits ()
explicit server_session ()
void db_remove ()
void set_db ()
bool db_check_entry ()
void set_certificate_request ()
explicit client_session ()
void set_verify_cert ()
void set_server_name ()
bool get_request_status ()
explicit credentials ()
void free_keys ()
void free_cas ()
void free_ca_names ()
void free_crls ()
void set_dh_params ()
void set_rsa_export_params ()
void set_verify_flags ()
void set_verify_limits ()
void set_x509_trust_file ()
void set_x509_trust ()
void set_x509_crl_file ()
void set_x509_crl ()
void set_x509_key_file ()
void set_x509_key ()
void set_simple_pkcs12_file ()
void set_retrieve_function ()
void set_params_function ()
void set_credentials_file ()
void set_credentials_function ()

Description

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 ();

get_params_t ()

gnutls_dh_params_t
get_params_t ();

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);

ptr ()

gnutls_session_t
ptr ();

bye ()

int
bye (gnutls_close_request_t how);

handshake ()

int
handshake ();

get_alert ()

gnutls_alert_description_t
get_alert ();

send_appropriate_alert ()

int
send_appropriate_alert (int err);

get_cipher ()

gnutls_cipher_algorithm_t
get_cipher ();

get_handshake_last_out ()

gnutls_handshake_description_t
get_handshake_last_out ();

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_protocol_version ()

gnutls_protocol_t
get_protocol_version ();

get_data ()

void
get_data (void *session_data);

clear_credentials ()

void
clear_credentials ();

set_credentials ()

void
set_credentials ();

set_transport_ptr ()

void
set_transport_ptr (gnutls_transport_ptr_t ptr);

get_transport_ptr ()

gnutls_transport_ptr_t
get_transport_ptr ();

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_auth_type ()

gnutls_credentials_type_t
get_auth_type ();

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 ();

set_certificate_request ()

void
set_certificate_request (gnutls_certificate_request_t Param1);

client_session ()

explicit
client_session (int flags);

set_verify_cert ()

void
set_verify_cert (const char *hostname,
                 unsigned  flags);

set_server_name ()

void
set_server_name (gnutls_server_name_type_t type,
                 const void *name,
                 size_t name_length);

get_request_status ()

bool
get_request_status ();

credentials ()

explicit
credentials (gnutls_credentials_type_t t);

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_file ()

void
set_x509_trust_file (const char *cafile,
                     gnutls_x509_crt_fmt_t type);

set_x509_trust ()

void
set_x509_trust ();

set_x509_crl_file ()

void
set_x509_crl_file (const char *crlfile,
                   gnutls_x509_crt_fmt_t type);

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);