1 void gnutls_credentials_clear( gnutls_session session
);
2 int gnutls_credentials_set( gnutls_session session
, gnutls_credentials_type type
, void* cred
);
3 const void *_gnutls_get_cred( GNUTLS_KEY key
, gnutls_credentials_type kx
, int* err
);
4 const void *_gnutls_get_kx_cred( gnutls_session session
, gnutls_kx_algorithm algo
, int *err
);
5 int _gnutls_generate_session_key(GNUTLS_KEY key
);
6 gnutls_credentials_type
gnutls_auth_get_type( gnutls_session session
);
7 void* _gnutls_get_auth_info( gnutls_session session
);
8 int _gnutls_auth_info_set( gnutls_session session
, gnutls_credentials_type type
, int size
, int allow_change
);