summaryrefslogtreecommitdiff
path: root/lib/gnutls_auth_int.h
blob: e0de2f440aeafd07fce76de2b3ec654f7c420c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void gnutls_credentials_clear(gnutls_session session);
int gnutls_credentials_set(gnutls_session session,
			   gnutls_credentials_type type, void *cred);
const void *_gnutls_get_cred(gnutls_key_st key, gnutls_credentials_type kx,
			     int *err);
const void *_gnutls_get_kx_cred(gnutls_session session,
				gnutls_kx_algorithm algo, int *err);
int _gnutls_generate_session_key(gnutls_key_st key);
gnutls_credentials_type gnutls_auth_get_type(gnutls_session session);
void *_gnutls_get_auth_info(gnutls_session session);
int _gnutls_auth_info_set(gnutls_session session,
			  gnutls_credentials_type type, int size,
			  int allow_change);