Previous: , Up: Associating the credentials   [Contents][Index]

6.4.4 Anonymous

The key exchange methods for anonymous authentication might require Diffie-Hellman parameters to be generated by the server and associated with an anonymous credentials structure. Check Parameter generation for more information. The initialization functions for the credentials are shown below.

int gnutls_anon_allocate_server_credentials (gnutls_anon_server_credentials_t * sc)
int gnutls_anon_allocate_client_credentials (gnutls_anon_client_credentials_t * sc)
void gnutls_anon_free_server_credentials (gnutls_anon_server_credentials_t sc)
void gnutls_anon_free_client_credentials (gnutls_anon_client_credentials_t sc)